mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
webrtcbin: configure rtpulpfecdec passthrough property
This allows downstream (payloaders mostly) to be able to correctly detect actual packet loss from rtp sequence numbers. See https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/581 for background. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1407 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3212>
This commit is contained in:
parent
093e9c8c9d
commit
0077d13304
1 changed files with 2 additions and 1 deletions
|
@ -4984,7 +4984,8 @@ _set_internal_rtpbin_element_props_from_stream (GstWebRTCBin * webrtc,
|
|||
|
||||
try_match_transceiver_with_fec_decoder (webrtc, trans);
|
||||
if (trans->ulpfecdec) {
|
||||
g_object_set (trans->ulpfecdec, "pt", ulpfec_pt, NULL);
|
||||
g_object_set (trans->ulpfecdec, "passthrough", ulpfec_pt == 0, "pt",
|
||||
ulpfec_pt, NULL);
|
||||
}
|
||||
|
||||
if (trans->redenc) {
|
||||
|
|
Loading…
Reference in a new issue