Is it possible for a plug-in to get Smart Client playback state data?

I’ve written a component that receives generic UDP packets from the network and sends them as metadata to be recorded. I now want to replay those packets to the network synchronized with video during a Playback. The functionality doesn’t need any graphical presentation within the Smart Client. Is such a thing possible?

Please subscribe to and use

◆ PlaybackCurrentTimeIndication

const String VideoOS.Platform.Messaging.MessageId.SmartClient.PlaybackCurrentTimeIndication = “SmartClient.PlaybackCurrentTimeIndication”

The PlaybackCurrentTimeIndication can be used to retrieve display time when the playback UserControl, either because of user action or running playback.

If running normal speed playback, this message will be retrieved very often, e.g. 25 times a second.

The actual DateTime will be stored in the Message.Data field.

This message can be used to synchronize other kind of data and text with the video being shown.

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=playbackcurrenttimeindication

You will be able to see this used in the Message Tester tool plugin sample:

https://doc.developer.milestonesys.com/html/index.html?base=samples/messagetester_sample.html&tree=tree_1.html

Thank you Bo.

I finally got back to this today, and it does indeed look like this is what I. Although, I’m a little overwhelmed with the Tools sample so far. There’s a lot in that sample and I don’t think (although I don’t know) how much I need. I couldn’t even find the block of code that populated the “message trace” window when a message arrives.

Would you happen to know of an example that contains the minimal set of things for a Smart Client plug-in?

Two other samples uses this:

Smart Client View and Window Tool sample, on the Playback Control tab - https://doc.developer.milestonesys.com/html/index.html?base=samples/smartclientview_windowtool_sample.html&tree=tree_1.html

Smart Client RGB Video Enhancement plugin sample - https://doc.developer.milestonesys.com/html/index.html?base=samples/rgbvideoenhancement.html&tree=tree_1.html

I believe any of the two will give you a more direct example of using the PlaybackCurrentTimeIndication.