sync video track bar with video event?

imageIs there anyway to sync our custom video track bar to the event of the video time? Instead of using PlaybackUserPlayer

If you look at the VideoViewer sample it uses a subscription to get playback time..

EnvironmentManager.Instance.RegisterReceiver(PlaybackTimeChangedHandler,
    new MessageIdFilter(MessageId.SmartClient.PlaybackCurrentTimeIndication));

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

Thank you for the confirmation. I had actually implemented this to get the current time

I was wondering if there is way to go to the specific time of the recording, like when you slide the mouse the bar, we would want to go to specific time of the recording

And also like getting start and end time of the recording.

To goto a specified time use “SmartClient.PlaybackCommand”, Command = PlaybackData.Goto,

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_messaging_1_1_message_id_1_1_smart_client.html&tree=tree_search.html?search=playbackcommand

There is an example of it being used in the MediaPlaybackViewer sample, if you have the component samples you can have a quick peek.

Similarly there is commands for begin and end.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_messaging_1_1_playback_data.html&tree=tree_search.html?search=playbackcommand

Got it. Thank you Bo