How to connect on-receiving-rtcp signal in rtpsession?

Sebastian Dröge sebastian at centricular.com
Thu Dec 27 09:23:19 UTC 2018


On Wed, 2018-12-26 at 16:58 +0100, Philippe Lalevée wrote:
> Hello,
> Maybe it's a trivial question...
> I see "on-receiving-rtcp" and "on-sending-rtcp" signals in the
> rtpsession source code (lines 283 and 376), but not when I execute
> "gst-inspect-1.0 rtpsession", or when I try to use it in 
> >        g_signal_connect(send_rtpbin, "on-sending-rtcp",
> > G_CALLBACK(on_sending_rtcp_cb), NULL);
> >     g_signal_connect(recv_rtpbin, "on-receiving-rtcp",
> > G_CALLBACK(on_receiving_rtcp_cb), NULL);
>  
> Could you give some tips to use these signals?

They are signals on the rtpsession object, not the GStreamer element.
That's why you don't see them in gst-inspect-1.0 for example.

You can get the rtpsession object from the "internal-session" property
on the rtpsession element.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181227/61dddde8/attachment.sig>


More information about the gstreamer-devel mailing list