mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
FS-3816
This commit is contained in:
parent
67f559685f
commit
956514d119
@ -204,6 +204,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_set_read_codec(switch_core_s
|
|||||||
memset(&session->read_impl, 0, sizeof(session->read_impl));
|
memset(&session->read_impl, 0, sizeof(session->read_impl));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (codec == session->read_codec) {
|
||||||
|
goto end;
|
||||||
|
}
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Push codec %s:%d\n",
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Push codec %s:%d\n",
|
||||||
switch_channel_get_name(session->channel), codec->implementation->iananame, codec->implementation->ianacode);
|
switch_channel_get_name(session->channel), codec->implementation->iananame, codec->implementation->ianacode);
|
||||||
codec->next = session->read_codec;
|
codec->next = session->read_codec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user