How can i add some text in the video stream? What is the use of SDK ? where i should code for display text to the video stream?

You cannot write to the video stream itself unless the camera has OSD support in which case you can configure it on the camera (not through the SDK).

However, if you are using the ImageViewerControl you can use either the SetOverlay or ShapesOverlay methods for writing an overlay on the video in the viewer.

Alternatively you can use the ImageViewerAddOn in the Smart Client for the same purpose on normal camera items - have a look at one of the “Video Overlay” samples in the SDK.

Thanks Peter.. I’m looking on this now…

Hi Peter,

       ImageViewerControl is used to display video's in browser or may be in Xprotect Web Client(Not Sure), but i like to add some text in the Live video and display in Xprotect Smart Client.

      What type of component i can use?

I believe milestone support Web Service. How can i implement Web Service?

Thanks,

Selvakumar T

ImageViewerControl is a .Net control which can be used either in your own application or in a plugin for e.g. the Smart Client.

As I wrote in my previous answer you can use the ImageViewerAddOn to draw on top of live video in the Smart Client. Have a look at the sample I mention - you will find it inside the SDK.

Milestone has a number of web services, which are all documented in the SDK documentation. How to implement your own web service you will have to look up somewhere else unless you mean developing a web page showing Milestone video, in which case you can find samples in the SDK on how to do that.

Thanks

Hi Peter,

     I'm trying to write Web Service and bring data from there. How to achieve this?

Do i need to create separate project and refer SDK plugin?

Note: I created one console application for web service and its working fine, but i need in DLL.

Thanks,

Selvakumar T

I don’t see why there should be an issue in implementing a web service inside a MIP plugin, but again, this forum is hardly the place for questions regarding how to implement web services.

Thanks Peter, Which sample can i refer for Web Service Implementation?

There is no sample in the MIP SDK on how to implement a web service. You need to find that elsewhere (not related to Milestone). As previously mentioned XProtect itself implements a number of web services, which are documented in the SDK, but implementing your own web service is functionality not directly related to XProtect (even if you do it in a plugin) and thus not something we can provide support for.