Reading NTP time stamp from RTCP reports

• Hardware Platform (Jetson / GPU) Xavier NX
• DeepStream Version 5.0.1

I have been going through setting ntp timestamp and found that we can set ntp timestamp using RTCP reports as mentioned in 2nd way. My rtsp sources are sending RTCP Sender Reports (SR).

In the configuring steps in step 2, we are asked to call configure_source_for_ntp_sync() function and pass the GstElement pointer to this API after the creation of uridecodebin element(I am using it).

I searched for it but couldn’t find any useful resource in getting this done.
Can someone please assist me in using RTCP reports for setting ntp timestamp in Python?

NTP Timestamp in DeepStream — DeepStream DeepStream Version: 5.0 documentation ( is for C++ deepstream, pyds does not support it.

Okay. Is there any way to read time stamp for rtcp apart from this?
I want to know at what time the frame is generated at source. This is very critical information for us as our application relies on the time stamp.

With c/c++, ntp_timestamp can be read from NvDsFrameMeta after nvstreammux element. Please refer to /opt/nvidia/deepstream/deepstream-5.0/sources/includes/nvdsmeta.h