Merge 6255098d788ef2f5c132d32bbd92ac622a3afb2d into 675bd8f27d7ef201673f21c4ae6dd6fef73383b4

This commit is contained in:
tanish20j 2025-03-10 20:42:24 +00:00 committed by GitHub
commit b2db8b1f19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5277,7 +5277,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");
} else if (sendonly < 2 && !strcasecmp(attr->a_name, "inactive")) {
switch_channel_set_variable(session->channel, "media_audio_mode", "inactive");
} else if (!strcasecmp(attr->a_name, "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");
recvonly = 1;