I was following the steps in this posting for how to get NTP timestamps when attached to an RTSP source, but I am having some issues with the step involving modifying the deepstream_source_bin.c file. The documentation says to call configure_source_for_ntp_sync() function and pass the GstElement pointer into it, and I can see that in the deepstream_source_bin.c file, this method is only called in the create_rtsp_src_bin() function. Should I only modify this function by adding a GstElement parameter as another method parameter to pass into configure_source_for_ntp_sync(), or should I be calling configure_source_for_ntp_sync() in a different method? I am a little bit lost here, thank you!
=====>This is in the same deepstream_source_bin.c file, right? Because as far as I can tell, it is already called.
Yeah, it is already called. So the rstp src stream should have NTP timestamp without any change. If you want to write a new plugin with rtsp soure, you can refer it.
=====>at the start of the create_rtsp_src_bin() method?
No, you can’t change the code as that. You can see the definition of the function in nvdsgstutils.h file. The return type is void.
There is no update from you for a period, assuming this is not an issue anymore.
Hence we are closing this topic. If need further support, please open a new one.
Thanks