Hi,
Yes, you can access the rtpbin side webrtcbin with something like this:
GstElement *rtpbin;
GstWebRTCRTPTransceiver *transceiver;
guint mline;
GObject *session;
g_object_get (pad, "transceiver, &transceiver, NULL);
g_object_get (transceiver, "mlineindex", &mline, NULL);
g_object_unref (transceiver);
rtpbin = gst_bin_get_by_name (GST_BIN (webrtcbin), "rtpbin");
g_signal_emit_by_name(rtpbin, "get-internal-session", mline, &session)
g_object_unref (rtpbin);
Olivier
On Fri, 2021-05-14 at 20:12 +0200, Serhan Gül via gstreamer-devel wrote:
Hi. It is possible to access the internal statistics of rtpbin using its get-internal-session property:
g_signal_emit_by_name(rtpbin, "get-internal-session", 0, &session)
Then I can use the RTPSession object to access and set properties like rtcp-min-interval or callback another function when a signal like on-receiving-rtcp is emitted.
How can I do the same using webrtcbin? Are the properties/signals of the RTPSession object somehow accessible from webrtcbin (1.18)?
_______________________________________________
gstreamer-devel mailing list
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel