From: Anthony Minessale Date: Wed, 19 Apr 2017 21:35:41 +0000 (-0500) Subject: FS-10241 backport d157cbab12ee64d5577fee07d8ec78e82b7366ee manually X-Git-Tag: v1.6.18~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb408b1e327f45639c6460d68a69ce2c6322bb92;p=thirdparty%2Ffreeswitch.git FS-10241 backport d157cbab12ee64d5577fee07d8ec78e82b7366ee manually --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 89f8f3a738..bcf95cd205 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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();