Merge pull request #1773 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11743 to master

* commit '7060d962625970804b9a3d9db4c0f89caf2b67a3':
  FS-11743: don't reset VBW on receiving PLI/FIR
This commit is contained in:
Mike Jerris 2019-07-25 18:35:30 -05:00
commit 3c06e3c788

View File

@ -6619,9 +6619,7 @@ static switch_status_t process_rtcp_report(switch_rtp_t *rtp_session, rtcp_msg_t
switch_core_session_get_name(rtp_session->session));
} else {
switch_core_media_gen_key_frame(rtp_session->session);
if (rtp_session->vbw) {
switch_jb_reset(rtp_session->vbw);
}
switch_core_session_request_video_refresh(rtp_session->session);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG2, "%s Got FIR/PLI\n",
switch_core_session_get_name(rtp_session->session));
switch_channel_set_flag(switch_core_session_get_channel(rtp_session->session), CF_VIDEO_REFRESH_REQ);