[gst-devel] RTCP receiver report data

Marco Ballesio gibrovacco at gmail.com
Tue Nov 23 19:21:21 CET 2010


Hi,

On Tue, Nov 23, 2010 at 5:49 PM, Rafael Sousa <rafael.lmsousa at gmail.com> wrote:
> Hi all
>
> I'm using the gstreamer libs and I want to use the information sent by the
> receiver using the RR in the sender. I'm implementing it in C and I'd like
> some tip or example that I can learn how to manipulate this data. The
> informations that I want is jitter and packet loss.
> Thanks in advance.

In a nutshell, you need to listen for the "on-ssrc-active" signal from
the rtpbin and query the "stats" property from the rtpsource connected
to the stream.

To retrieve the structure you need to:

1) Retrieve the rtpsession bound to your stream: it's in the
"internal-session" property of the GstRTPSession you'll get as an
argument in the signal handler.

2) Get the rtpsource element from the "internal-source"
property of the rtpsession.

3) Get the session stats structure through the "stats" property of the
rtpsource.

Then you need to process the fields you're interested into (they are
"rb-jitter" and "rb-packetslost").

For more details, this thread may help you:

http://gstreamer-devel.966125.n4.nabble.com/GstRtpBin-Internals-td3043711.html

Regards

> Rafael
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list