FS-10241 push similar logic upstream

This commit is contained in:
Anthony Minessale 2017-04-19 16:30:41 -05:00
parent d2c27f1ec4
commit d157cbab12

View File

@ -13718,7 +13718,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();