mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 21:42:25 +00:00
webrtcbin: also add rtcp-fb ccm fir for video mlines by default
In addition to the 'nack pli' already added. Both are supported by rtpbin/rtpsession by default already. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3247>
This commit is contained in:
parent
af92290306
commit
a679a55ecc
1 changed files with 6 additions and 3 deletions
|
@ -1915,9 +1915,12 @@ _add_supported_attributes_to_caps (GstWebRTCBin * webrtc,
|
|||
if (!gst_structure_has_field (s, "rtcp-fb-nack"))
|
||||
gst_structure_set (s, "rtcp-fb-nack", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||
|
||||
if (kind == GST_WEBRTC_KIND_VIDEO
|
||||
&& !gst_structure_has_field (s, "rtcp-fb-nack-pli"))
|
||||
gst_structure_set (s, "rtcp-fb-nack-pli", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||
if (kind == GST_WEBRTC_KIND_VIDEO) {
|
||||
if (!gst_structure_has_field (s, "rtcp-fb-nack-pli"))
|
||||
gst_structure_set (s, "rtcp-fb-nack-pli", G_TYPE_BOOLEAN, TRUE, NULL);
|
||||
if (!gst_structure_has_field (s, "rtcp-fb-ccm-fir"))
|
||||
gst_structure_set (s, "rtcp-fb-ccm-fir", 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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue