Adaptive Streaming using SDK

Hello,

We are developing an application that involves using the ImageViewerControl SDK component, in this application we have a custom toolbar where the user can select between the available streams for the camera. For retrieving the streams, we use the StreamDataSource.GetTypes() function, but in the stream options the “Adaptive Streaming” one is not shown, as it is in the Milestone Client.

We also set to true the Adaptive Streaming property of the Image Viewer but it seems that this only affects the streaming which the camera is intialized with.

Any clue of why is this happening?

I have an idea that the issues you see is because you must either rely on adaptive streaming and not set the StreamId, or if you pick a stream, setting the StreamId, the stream will never change.

Please explore the ImageViewerClient sample, see if Adaptive Streaming works for you in the sample. See the _adaptiveStreamingCheckBox_Click method, how StreamId is empty when applying adaptive streaming..

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