mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gstrtpsession: Add special mode to use FIR as repair as Google does
https://bugzilla.gnome.org/show_bug.cgi?id=658419
This commit is contained in:
parent
79a9564c68
commit
1169bb05af
1 changed files with 6 additions and 0 deletions
|
@ -1400,6 +1400,12 @@ gst_rtp_session_request_remote_key_unit (GstRtpSession * rtpsession,
|
|||
pli = gst_structure_has_field (s, "rtcp-fb-nack-pli");
|
||||
fir = gst_structure_has_field (s, "rtcp-fb-ccm-fir") && all_headers;
|
||||
|
||||
/* Google Talk uses FIR for repair, so send it even if we just want a
|
||||
* regular PLI */
|
||||
if (!pli &&
|
||||
gst_structure_has_field (s, "rtcp-fb-x-gstreamer-fir-as-repair"))
|
||||
fir = TRUE;
|
||||
|
||||
gst_caps_unref (caps);
|
||||
|
||||
if (pli || fir)
|
||||
|
|
Loading…
Reference in a new issue