From: Olivier CrĂȘte Date: Fri, 2 Sep 2011 23:20:07 +0000 (-0400) Subject: gstrtpsession: Add special mode to use FIR as repair as Google does X-Git-Tag: 1.19.3~509^2~7136^2~260 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1169bb05af25d6f0902a8d29c067b237ebfd6849;p=platform%2Fupstream%2Fgstreamer.git gstrtpsession: Add special mode to use FIR as repair as Google does https://bugzilla.gnome.org/show_bug.cgi?id=658419 --- diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index 881dc4b..5fe3bec 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -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)