mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 04:41:16 +00:00
webrtcbin: enable forward-unknown-ssrc on rtpfunnel
See also: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7405 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7409>
This commit is contained in:
parent
505291ab68
commit
0df80a1bec
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue