We are developing a Windows application and a browser application, both of which will need to display recorded video in a sub-window. Can someone please point us to the best techniques and libraries to use for implementing this function?

We would need for our apps to first authenticate with the Milestone XProtect Server and then show the recorded video in a window based on user selection for camera, date, and time.

For a Windows application I would like to point to the ImageViewerClient sample..

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/imageviewerclient/readme.html&tree=tree_2.html

For a browser application it might be better to use the Mobile Server and Mobile SDK which also includes samples.

https://doc.developer.milestonesys.com/mipsdkmobile/

Hi Bo,

Thanks for the guidance. We got this to work!

A couple of questions. First, is there any way for our app to programmatically log into the Milestone Server instead of having the user authenticate manually? We would like to hold the credentials in our program configuration and provide them to Milestone through the API. How do we do this?

Second, currently the user must manually select the camera for playback. Our app already knows which camera needs to be played. Is there any way for our app to communicate this to Milestone through the API? We really need to avoid having the user select the camera manually.

Finally, the Milestone Player currently shows as a separate Windows application running in a separate window. How do we make it run as a sub-window inside of our app?

We are almost there, just need a couple of tweaks.

Thank you again for your most helpful assistance.

John.

Nobody can get video or similar without being logged in to Milestone XProtect but you can have your application use a coded login and use your configuration, please carefully evaluate the security of this approach. You can see a coded login (not using the login dialog) if you explore the Camera Stream Resolution sample.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/camerastreamresolution/readme.html&tree=tree_2.html

If your existing application is based on .Net Framework you can simply use the functionality and put an ImageViewerWpfControl or similar in your existing application by extending your existing application. Whether this is possible depends very much how your existing application was made, if not using .Net Framework it might be less easy.