]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9697 remove auto toggle to old fir mode
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 15 Mar 2017 23:18:48 +0000 (18:18 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 15 Mar 2017 23:18:48 +0000 (18:18 -0500)
src/switch_rtp.c

index 52ef067ded9c4b1ef49c8da3c7a42bcf025e2b72..899d19fd12a256b04e5c67805eaae1128dcf2541 100644 (file)
@@ -6023,7 +6023,7 @@ static switch_status_t process_rtcp_report(switch_rtp_t *rtp_session, rtcp_msg_t
 
                if (msg->header.type == _RTCP_PT_FIR ||
                        (msg->header.type == _RTCP_PT_PSFB && (extp->header.fmt == _RTCP_PSFB_FIR || extp->header.fmt == _RTCP_PSFB_PLI))) {
-
+#if 0
                        if (msg->header.type == _RTCP_PT_FIR) {
                                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_WARNING, "Ancient FIR Received. Hello from 1996!\n");
 
@@ -6032,6 +6032,7 @@ static switch_status_t process_rtcp_report(switch_rtp_t *rtp_session, rtcp_msg_t
                                        switch_core_session_request_video_refresh(rtp_session->session);
                                }
                        }
+#endif
                        switch_core_media_gen_key_frame(rtp_session->session);
                        if (rtp_session->vbw) {
                                switch_jb_reset(rtp_session->vbw);