Current Position of Stream at receiver side in RTP

Sebastian Dröge sebastian at centricular.com
Wed Nov 13 12:55:01 PST 2013


On Mi, 2013-11-13 at 00:59 -0800, danil4u wrote:
> Hi,
>    I'm using using RTP to stream my video data from Server to Client. It
> works fine. 
> 
> Now I want to show the progress bar on server and client, on server side I
> could able to do it using the gst_element_query_positon() but on client
> side(received side) If I use the same API even though I get current time but
> it seems it is gst pipeline time, that means even though I don't get data
> from server, this time is still increasing. Is there anyway of knowing the
> time information from received RTP packet? how to print that timestamps
> value into some local variable?

If you want the RTP timestamps you currently would have to capture the
RTP buffers in front of the rtpjitterbuffer and parse the information
from it. GstRTPBuffer could help with that probably.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131113/b1a4c47d/attachment.pgp>


More information about the gstreamer-devel mailing list