<div dir="ltr">The RTP timestamp should reflect when the packet was put into the RTP payload (or perhaps when initially encoded) and should also be based on 90,000 Hz sample rate, baring dropped packets. You could compute the time from the first received timestamp until the current, but you would have to account for rollover, which happens pretty quickly. However, this doesn't give any indication of how long the video sequence is, you only know how much you have received, not what percentage of the total. If you want that you would need to communicate the total length out of band, which would be easy enough to do.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 3:59 AM, danil4u <span dir="ltr"><<a href="mailto:danil4u@gmail.com" target="_blank">danil4u@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
   I'm using using RTP to stream my video data from Server to Client. It<br>
works fine.<br>
<br>
Now I want to show the progress bar on server and client, on server side I<br>
could able to do it using the gst_element_query_positon() but on client<br>
side(received side) If I use the same API even though I get current time but<br>
it seems it is gst pipeline time, that means even though I don't get data<br>
from server, this time is still increasing. Is there anyway of knowing the<br>
time information from received RTP packet? how to print that timestamps<br>
value into some local variable?<br>
<br>
thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Current-Position-of-Stream-at-receiver-side-in-RTP-tp4663287.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Current-Position-of-Stream-at-receiver-side-in-RTP-tp4663287.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>