CID: 1294489 missing break statement which would cause recvonly sdp to be treated as sendrecv

This commit is contained in:
William King 2015-04-16 11:33:03 -07:00 committed by Michael Jerris
parent acec23d8c8
commit f09dad317f
1 changed files with 1 additions and 0 deletions

View File

@ -3742,6 +3742,7 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
case SWITCH_MEDIA_FLOW_SENDONLY:
switch_channel_set_variable(smh->session->channel, "audio_media_flow", "recvonly");
a_engine->smode = SWITCH_MEDIA_FLOW_RECVONLY;
break;
default:
switch_channel_set_variable(smh->session->channel, "audio_media_flow", "sendrecv");
a_engine->smode = SWITCH_MEDIA_FLOW_SENDRECV;