Reputation: 1675
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)?
Upvotes: 1
Views: 595
Reputation: 7373
Not sure actually. But since it is a bin, can you perhaps use gst_bin_iterate_elements()
on it to iterate all other elements in the bin? I would expect the rtpbin
to appear there at least once, depending on how many of them are being used within the webrtc bin intself.
Upvotes: 1