mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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>
This commit is contained in:
parent
1ab58736df
commit
5835f2aa8d
1 changed files with 2 additions and 3 deletions
|
@ -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? */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue