how to capurure RTCP Sender Report and receive report

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

how to capurure RTCP Sender Report and receive report

Marc Lievens

Hi,

Im using Gstreamner 1.4.5 with pipeline: [rtspsrc]-->[rtph264depay]-->[h264parse]-->[queue]-->[matroskamux]-->[filesink] which works great.

How can I capture or the rtcp send and receiver report. I can access to RtpBin and RtpSession and GstRTPBuffer.

Im verry new to Gstreamer and any help would be welkom.

Thanks in advance


Met vriendelijke groet, Sincerely, Cordialement,

Marc Lievens
Research & Development

U komt toch ook naar onze Benelux Benzinedag op 5 februari 2015?


Schrijf u hier in!

Inscrivez-vous ici!
Register here!


[hidden email]
+32 3 8708888




Disclaimer: This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any
person other than the addressee(s). If you have received this email by error then please delete it and notify the sender by return e-mail.
In case of doubt about correctness or completeness of this e-mail, please contact the sender. BigBrother BV dismisses any and every
liability resulting from any electronic transmission.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to capurure RTCP Sender Report and receive report

Chuck Crisler-2
A high logging level may do it, though you would get a lot of log messages. The easiest way might be using wireshark.

On Tue, Jan 27, 2015 at 5:00 AM, Marc Lievens <[hidden email]> wrote:

Hi,

Im using Gstreamner 1.4.5 with pipeline: [rtspsrc]-->[rtph264depay]-->[h264parse]-->[queue]-->[matroskamux]-->[filesink] which works great.

How can I capture or the rtcp send and receiver report. I can access to RtpBin and RtpSession and GstRTPBuffer.

Im verry new to Gstreamer and any help would be welkom.

Thanks in advance


Met vriendelijke groet, Sincerely, Cordialement,

Marc Lievens
Research & Development

U komt toch ook naar onze Benelux Benzinedag op 5 februari 2015?


Schrijf u hier in!

Inscrivez-vous ici!
Register here!


[hidden email]
<a href="tel:%2B32%203%208708888" value="+3238708888" target="_blank">+32 3 8708888




Disclaimer: This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any
person other than the addressee(s). If you have received this email by error then please delete it and notify the sender by return e-mail.
In case of doubt about correctness or completeness of this e-mail, please contact the sender. BigBrother BV dismisses any and every
liability resulting from any electronic transmission.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to capurure RTCP Sender Report and receive report

Sebastian Dröge-3
In reply to this post by Marc Lievens
On Di, 2015-01-27 at 10:00 +0000, Marc Lievens wrote:
> Hi,
> Im using Gstreamner 1.4.5 with pipeline: [rtspsrc]-->[rtph264depay]-->[h264parse]-->[queue]-->[matroskamux]-->[filesink] which works great.
> How can I capture or the rtcp send and receiver report. I can access to RtpBin and RtpSession and GstRTPBuffer.
> Im verry new to Gstreamer and any help would be welkom.
> Thanks in advance

You get the (accumulated) information from the SR and RR in the
statistics (stats) from rtpbin, or more specific the rtpsessions and
rtpsources inside.

I'm going to add a new signal soonish that allows you to also get the
raw RTCP packets whenever one is received, if that's closer to what you
need.


You will have to write some code for handling all this though,
gst-launch is not enough :)

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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: how to capurure RTCP Sender Report and receive report

Sean
Hi,

Here is my solution to capture each raw SR RTCP packet before the RTCP packet enters Rtpbin at the application layer.

This pipeline works for capturing each "RTCP" packets:

udpsrc->srtpdec.staticPad("rtcp_sink")
srtpdec.staticPad("rtcp_src")->myElement0>Rtpbin

Sean