How can I receive multicast streams with the SDK?

Hi everyone.

Can I receive a multicast stream using the Milestone protocol or SDK?

How do I get a raw stream?

I need to be able to select unicast stream and multicast stream.

I tried the RawLiveSource class in the Component SDK, but there was no multicast option.

And this is another question,

When using ImageViewerControl, how to reduce CPU usage?

I use a CPU that does not support Intel QuickSync.

Please help me. Thank you.

On RawLiveSource (and other xLiveSource classes) there is currently no support for multicast streaming. There is no documentation availble on doing this on protocols. I will add this to the Milestone wish-list for future enahncement to the MIP SDK.

What I tell you now is very much not recommended.. On the ImageViewerControl you can use -

virtual void VideoOS.Platform.Client.ImageViewerControl.SetImageQuality  ( int  percent  )   [inline, virtual] 
 
 
Tell the Recording Server how much to compress each JPEG.
 The value can be a number between 1..100. Or one of the special values:
 SuperHigh = 101
 High = 102
 Medium = 103
 Low = 104
 . 
 
Note: Values below 100 are not supported by XProtect Corporate or Expert. 
Parameters:
 percent

If you use the mentioned special values (above 100) you will trigger that trans-coding (decoding and re-encoding) will take place server-side so you will get lower resolution JPEGs which are very easy to decode and display with minimal CPU consumption. This is not recommended because you can potentially trigger that the recording server goes 100% CPU and does not function correctly losing its capability to serve the clients and receive and store the footage from the cameras.

Ultimately the best way to encrease possible client through-put and reduce CPU is through hardware acceleration. If you have high demands I think you should consider new/better hardware

Thank you for your help.

Have a good day.