GstRtpBin and RTPSession ssrc-related signals should have ::ssrc detail
Submitted by Nirbheek Chauhan
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:
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.