From 0df80a1bec7ec5dcea54d3c316e8e4e527d67bf6 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 26 Aug 2024 14:46:59 +1000 Subject: [PATCH] webrtcbin: enable forward-unknown-ssrc on rtpfunnel See also: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7405 Part-of: --- subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c index 5bff694f20..10d0f36d5e 100644 --- a/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c +++ b/subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c @@ -6045,6 +6045,10 @@ _connect_rtpfunnel (GstWebRTCBin * webrtc, guint session_id) goto done; webrtc->rtpfunnel = gst_element_factory_make ("rtpfunnel", NULL); + if (g_object_class_find_property (G_OBJECT_GET_CLASS (webrtc->rtpfunnel), + "forward-unknown-ssrc") != NULL) { + g_object_set (webrtc->rtpfunnel, "forward-unknown-ssrc", TRUE, NULL); + } gst_bin_add (GST_BIN (webrtc), webrtc->rtpfunnel); gst_element_sync_state_with_parent (webrtc->rtpfunnel);