How to integrate the playback module?

When I chose the stratTime and endTime,As shown in the picture below.

Is there a method to get the start and end times in PlaybackManager class?because I need the time to get our device stream for playback.

Unfortunately no, there is not a method to get the start and end times in PlaybackManager.

thanks,The time obtained by the parameter of the MoveTo(Guid playbackId, DateTime dateTime, MoveCriteria moveCriteria) function is UTC time. When I convert it to local time, the read() function will not be triggered. Is there a check in milestone? Only can get the corresponding video clips according to UTC time?

Second, how to get the end time?

Hi,

So is there any method to SET the start and end times in PlaybackManager?

All times in the server are UTC times. You should never convert it to local time when reporting times to the recording server.

As for the end time, there is no way to get it. If your device requires loading video in chunks or clips, your only choice I think is to cache an entire clip or chunk and just read from that cache when ReadData (and navigate) is called, then cache the next when you reach the end of your cache.

thanks,The reason for converting to local time is that the time from the timeline is not consistent with the recording time. This is also the case with your demo test.

the second problem,my device requires loading video in chunks or clips,But I don’t know when to get the second clip and the time of the second clip also I can’t get. what’s more,I don’t know when it will end(The last clip). Can you help me? Or will you drive further development and provide a good way to integrate?

Unfortunately it is not possible as we already mentioned and this is by design which we can’t change it. Please see the previous comment with a suggestion from Simon.