GNOME Bugzilla – Bug 763373
GstRtpBin and RTPSession ssrc-related signals should have ::ssrc detail
Last modified: 2018-11-03 15:08:12 UTC
For signals such as on-ssrc-active, on-ssrc-sdes, on-timeout, and many more, a common pattern is to only check when a specific SSRC is active, has timed out, etc. It would be quite useful to be able to pre-filter by specifying the SSRC in the signal detail itself. So, for instance, you'd do: void on_new_ssrc (GstElement * rtpbin, guint session, guint ssrc, ...) { gchar *detailed_signal = g_strdup_printf ("on-ssrc-active::%u", ssrc); g_signal_connect (rtpbin, detailed_signal, on_our_ssrc_active, NULL); } g_signal_connect (rtpbin, "on-new-ssrc", on_new_ssrc, NULL); Instead of having a filter inside on_our_ssrc_active() which would have to check whether we're handling that specific SSRC.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/262.