Smart Client Scripting using CefSharp

Hello,

I am trying to improve our current plugin in order for it to use Chromium instead of IE to display a webpage where we have our service running. This service is supposedly intended to interact with the Smart Client. SCS is used and when clicking on “Show Camera 1” it should call SetCameraViewItemCamera and the camera should be shown in the SmartClient.

However it seems that using CefSharp browser, this scripting is not working. I found the Modern Browser project (https://github.com/cascadia-technology/ModernBrowser/) which tried to adapt some of the SCS functions using VideoOS.Platform.Messaging.

My question is, can it be actually extended similarly. For example, can I use SetCameraInViewCommand to handle the SetCameraViewItemCamera or do they work differently. Moreover, can I find an equivalent in VideoOS documentation for every function calls which is in SmartClientScripting API.

If not, is there any other way to still have SCS enabled while using a more modern browser.

Regards.

For anyone having a similar issue, it can be extended using https://doc.developer.milestonesys.com/html/miphelp/namespace_video_o_s_1_1_platform_1_1_messaging.html mostly. Also see this part of the wiki: https://github.com/cefsharp/CefSharp/wiki/General-Usage#3-how-do-you-expose-a-net-class-to-javascript

Using the right bind script you can virtually use any of the SCS methods it seems. I manages to make it work for what I needed.