Getting gst_element_query_position to return NTP time

Sebastian Dröge sebastian at centricular.com
Wed Feb 3 21:30:37 UTC 2016


On Mi, 2016-02-03 at 16:53 +0000, Serj TorresSoldado wrote:
> Hi All,
> 
>  I want gst_element_query_position to basically return a value in
> sync with the NTP timestamps in the RTCP SR packets from the sender.
> Is this currently possible? It seems such a useful functionality so I
> think I am missing something..
> 
>  Using rtspsrc/rtpbin and playing around with the properties as
> suggested in the following presentation (see below for the URL) seams
> to have no effect.
> 
> Rtpbin receives the RTCP timestamp in gst_rtp_bin_handle_sync(),
> curiosely I haven't seen 
>  gst_rtp_bin_associate() being called from this function although I
> see the SDES packets passing.
> 
>  If such a feature doesn't exist what would be the best way to
> implement it?
> 
>  Any help would be great. Thanks.

It's currently not possible but can be implemented. Can you open a bug
in Bugzilla for this?

Basically something like rtpjitterbuffer or rtpbin would need to get a
property to adjust the segment in a way that the stream time is based
on the NTP timestamps from the RTCP SRs. Main problem here is what to
do in the beginning until the first SR is received, apart from that it
should be straightforward to implement.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160204/663911af/attachment.sig>


More information about the gstreamer-devel mailing list