FS-7499 revert 8a3b020be2d811e0b15008460f00cc32adcf9d51

This commit is contained in:
Anthony Minessale 2015-05-12 19:41:37 -05:00 committed by Michael Jerris
parent ea16f82d20
commit 593bd56bc6
1 changed files with 4 additions and 3 deletions

View File

@ -8564,11 +8564,12 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_receive_message(switch_core_se
case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ:
{
if (v_engine->rtp_session) {
if (switch_rtp_test_flag(v_engine->rtp_session, SWITCH_RTP_FLAG_PLI)) {
switch_rtp_video_loss(v_engine->rtp_session);
}
if (switch_rtp_test_flag(v_engine->rtp_session, SWITCH_RTP_FLAG_FIR)) {
switch_rtp_video_refresh(v_engine->rtp_session);
} else if (switch_rtp_test_flag(v_engine->rtp_session, SWITCH_RTP_FLAG_PLI)) {
switch_rtp_video_loss(v_engine->rtp_session);
}
}
}