[Bug 763373] New: GstRtpBin and RTPSession ssrc-related signals should have ::ssrc detail
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Mar 9 14:04:20 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=763373
Bug ID: 763373
Summary: GstRtpBin and RTPSession ssrc-related signals should
have ::ssrc detail
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: nirbheek.chauhan at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list