This commit is contained in:
tanish.jadhav 2024-02-22 16:52:17 +05:30
parent 994c439df8
commit 6255098d78
1 changed files with 1 additions and 1 deletions

View File

@ -5279,7 +5279,7 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
switch_channel_set_variable(session->channel, "media_audio_mode", "recvonly"); switch_channel_set_variable(session->channel, "media_audio_mode", "recvonly");
} else if (sendonly < 2 && !strcasecmp(attr->a_name, "inactive")) { } else if (sendonly < 2 && !strcasecmp(attr->a_name, "inactive")) {
switch_channel_set_variable(session->channel, "media_audio_mode", "inactive"); switch_channel_set_variable(session->channel, "media_audio_mode", "inactive");
} else if (!strcasecmp(attr->a_name, "recvonly") && m->m_mode != SWITCH_MEDIA_FLOW_RECVONLY;) { } else if (!strcasecmp(attr->a_name, "recvonly") && m->m_mode != SWITCH_MEDIA_FLOW_RECVONLY) {
switch_channel_set_variable(session->channel, "media_audio_mode", "sendonly"); switch_channel_set_variable(session->channel, "media_audio_mode", "sendonly");
recvonly = 1; recvonly = 1;