FS-10241 backport d157cbab12 manually

This commit is contained in:
Anthony Minessale 2017-04-19 16:35:41 -05:00
parent 3b4964bd7e
commit bb408b1e32
1 changed files with 1 additions and 1 deletions

View File

@ -11590,7 +11590,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_request_video_refresh(switch
return SWITCH_STATUS_FALSE;
}
if (switch_channel_test_flag(channel, CF_VIDEO)) {
if (switch_channel_media_up(channel) && switch_channel_test_flag(channel, CF_VIDEO)) {
switch_core_session_message_t msg = { 0 };
switch_time_t now = switch_micro_time_now();