mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
rework media code
This commit is contained in:
@@ -644,8 +644,15 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
default:
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Codec %s decoder error! [%d]\n",
|
||||
session->read_codec->codec_interface->interface_name, status);
|
||||
goto done;
|
||||
|
||||
if (++session->decoder_errors < 10) {
|
||||
status = SWITCH_STATUS_SUCCESS;
|
||||
} else {
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
||||
session->decoder_errors = 0;
|
||||
}
|
||||
|
||||
if (session->bugs) {
|
||||
|
Reference in New Issue
Block a user