AI Bridge: RTSP Streaming Through Milestone and Data Synchronization

We understand that AI Bridge facilitates streaming in various ways and then allows data ingestion using Kafka. Our question is: Is it possible to achieve synchronization using Sender Report RTCP packets or any alternative methods? Any insights or guidance on this would be greatly appreciated.

Hello,

The short answer is “yes”!

When you have the original timestamp, you can apply that

  • to set the timestamp(s) of the event
  • to set the MetadataStream/VideoAnalytics/Frame UtcTimeof in the ONVIF Metadata document

in order to achieve the synchronization.

You can derive the original timestamp using the Sender Report, and AI Bridge also supports the ONVIF RTSP extension header containing the original timestamp. Client libraries like DeepStream can support you getting the original timestamp.

With the ds source, you have the original timestamp available in VideoFrame.Timestamp.