diff options
author | Matthew Waters <matthew@centricular.com> | 2021-04-29 21:12:42 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2021-04-29 22:01:54 +1000 |
commit | 5835f2aa8d53cb35f4a00dff0f69feffbaba3309 (patch) | |
tree | b31a9793af306c0bc891d8417118bf2bc70a3a83 /ext/webrtc/gstwebrtcbin.c | |
parent | 1ab58736dffe191aec6ea6fe5c2b1555bdfbb799 (diff) | |
download | gstreamer-plugins-bad-5835f2aa8d53cb35f4a00dff0f69feffbaba3309.tar.gz |
webrtc: advertise support for transport-cc rtcp-fb by default
Still requires explicit enabling by the application through the header
extension on all the relevant payloaders.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2207>
Diffstat (limited to 'ext/webrtc/gstwebrtcbin.c')
-rw-r--r-- | ext/webrtc/gstwebrtcbin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index a13bed276..cde8a246b 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -1590,9 +1590,8 @@ _add_supported_attributes_to_caps (GstWebRTCBin * webrtc, if (!gst_structure_has_field (s, "rtcp-fb-nack-pli")) gst_structure_set (s, "rtcp-fb-nack-pli", G_TYPE_BOOLEAN, TRUE, NULL); - /* FIXME: is this needed? */ - /*if (!gst_structure_has_field (s, "rtcp-fb-transport-cc")) - gst_structure_set (s, "rtcp-fb-nack-pli", G_TYPE_BOOLEAN, TRUE, NULL); */ + if (!gst_structure_has_field (s, "rtcp-fb-transport-cc")) + gst_structure_set (s, "rtcp-fb-transport-cc", G_TYPE_BOOLEAN, TRUE, NULL); /* FIXME: codec-specific parameters? */ } |