How to calculate round-trip-time(RTT) in gstreamer

arpita banerjee reachtoarpi at gmail.com
Sat Dec 29 19:48:26 PST 2012


Thanks for your reply. But, what I will do at sender or server side?

On Sat, Dec 29, 2012 at 11:44 AM, Olivier Crête
<olivier.crete at collabora.com> wrote:
> Hello,
>
> On Fri, 2012-12-28 at 11:25 -0800, arpita banerjee wrote:
>> How I can calculate round trip time in gstreamer?
>>
>> round-trip-time(RTT) = RR timestamp - LSR - DLSR
>> Using gst_rtcp_packet_get_rb()  function I am getting LSR, DLSR values
>> , but how I will get RR timestamp ?
>> Should I use the current timestamp when Receiver Report(RR) is
>> received? Which function should I use?
>
> I assume you're talking about RTP, rtpbin already computes it for you.
> Getting the stats out is really badly documented.. But you can check
> print_source_stats() in this
> http://cgit.collabora.com/git/user/sjoerd/gst-plugins-good.git/tree/tests/examples/rtp/client-PCMA.c#n60
>  as a kind of example.
>
>
> --
> Olivier Crête
> olivier.crete at collabora.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list