break for video as well as audio when receiving certian messages

This commit is contained in:
Anthony Minessale 2014-01-30 05:27:54 +05:00
parent 32b2a45efc
commit f9e46cc60d
1 changed files with 1 additions and 0 deletions

View File

@ -900,6 +900,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_perform_receive_message(swit
case SWITCH_MESSAGE_INDICATE_BROADCAST:
case SWITCH_MESSAGE_INDICATE_MEDIA_REDIRECT:
case SWITCH_MESSAGE_INDICATE_DEFLECT:
switch_channel_set_flag(session->channel, CF_VIDEO_BREAK);
switch_core_session_kill_channel(session, SWITCH_SIG_BREAK);
break;
default: