Can't match metadata bounding box with the objects displaying on Milestone Client

We completed all the parts of the plugin but we have trouble with the delay of displaying the bounding box on the milestone client. Could I ask for support from the Milestone Tech team?

The following video is our problem:

https://drive.google.com/file/d/1ghvo9nA4jfcramp0uHu2FiZKAmrRef7s/view

We use class `VideoOS.Platform.Data.MetadataProviderChannel` to send the bounding box metadata to recording server.

Object send:

var metadata = new MetadataStream

{

VideoAnalyticsItems =

{

new VideoAnalytics

{

Frames =

{

new Frame(DateTime.UtcNow - _timeDelayMetadata)

{

Objects =

{

}

}

}

}

}

};

In `Frame` part, the variable “utcTime” is used to set timestamp, but it’s not work.

Please help us to solve this problem. Thank you.

On live, Timestamp is ignored. Because the metadata bounding box is displayed as soon as possible when it is ready to displays on the live views.

The correct way to use the timestamp here is to take the timestamp from the image and use that when making overlay for that image! I recommend you change this. You should then verify that things look correct when working in Playback mode in the Smart Client.

On live there is no mechanism for synchronization as explained. It is possible that it can have a positive effect if you in the Smart Client view setup enable video buffering because this will introduce a delay on live video, you can experiment and see if this makes a positive difference.