mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
ristsink: Only accept RTCP APP packets with subtype==0
This commit is contained in:
parent
324202d70b
commit
6c7e7580fb
1 changed files with 25 additions and 23 deletions
|
@ -296,6 +296,7 @@ on_app_rtcp (GObject * session, guint32 subtype, guint32 ssrc,
|
|||
const gchar * name, GstBuffer * data, GstElement * rtpsession)
|
||||
{
|
||||
if (g_str_equal (name, "RIST")) {
|
||||
if (subtype == 0) {
|
||||
GstEvent *event;
|
||||
GstPad *send_rtp_sink;
|
||||
GstMapInfo map;
|
||||
|
@ -328,6 +329,7 @@ on_app_rtcp (GObject * session, guint32 subtype, guint32 ssrc,
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
gst_rist_sink_on_new_sender_ssrc (GstRistSink * sink, guint session_id,
|
||||
|
|
Loading…
Reference in a new issue