I’m trying to make work my application with secured Milestone server. Authentication works fine but I can’t make work live streaming using VideoOS.Platform.Live.RawLiveSource. Both Milestone client and VideoViewer from component samples works fine. But when I’m trying to start live stream using RawLiveSource, I’m getting “Unable to connect to Toolkit” exception. Is there any additional configuration should be made to make RawLiveSource work with SSL server?
When using xLiveSource the error most often indicates a failure of the camera or the recording server of a general nature. Can you please double-check that Smart Client or VideoViewer works in the same PC, same user on the same camera?
General advise.
Please read this article, there is a “Getting video using video sources” section on the page, it might be helpful for you -
Yes, this problem actually appeared after we configured Milestone Server to work with secured connection (client application works well with non-SSL server). And this problem also was at Smart Client and Video Viewer before I installed proper certificate on a client machine. So I thought maybe there is an option to specify client’s certificate to use in SDK.
We tested following combination of encrypted server and clients -
Encrypted Server - client certificate installed
→ Works fine both Smart Client and MIP SDK sample (we added small changes to use RawLiveSource).
Encrypted Server - client certificate NOT installed
→ Could login to Smart Client but no video, and MIP SDK sample has an error as same as yours – “VideoOS.Platform.CommunicationMIPException: 'Unable to connect to toolkit!”.
You will need to install client certificate properly, you might already know how to do it but let me introduce this documentation -
Can certificate be not used while authentication? VideoOS.Platform.SDK.UI.LoginDialog component used for authentication in VideoViewer sample. I’m using following code: