API XPMobileSDK Web. Streaming video for a specified period of time. Not live stream

Is it possible to view a video in a stream by specifying a time period without downloading it (without using the XPMobileSDK.library.Connection.startVideoExport method). Thank you.

Hello Leonid,

I can help you better if I knew more context but in general yes you can as long as there are recording of the time span you want to play. You can use command RequestStream (https://doc.developer.milestonesys.com/mipsdkmobile/reference/WebSDKdoc/global.html#RequestStream) and give as parameters

SignalType: “Playback”

SeekTime: “Time”

Time: “THE TIME YOU WANT IN MILISECONDS SENSE EPOCH”

The details of the command in a protocol level can be found here: https://doc.developer.milestonesys.com/mipsdkmobile/reference/protocols/mobile_command.html#command_RequestAudioStream

I hope that help.

/Teodor

Thank you!!! it works!