[mod_opus] Do not hangup call on decode error - fix 86a5ee3509

This commit is contained in:
Ítalo Rossi 2020-12-11 14:38:25 -03:00
parent 8045c96458
commit 6ddb61fd4e
1 changed files with 1 additions and 1 deletions

View File

@ -914,7 +914,7 @@ static switch_status_t switch_opus_decode(switch_codec_t *codec,
if (samples < 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Decoder Error: %s fs:%u plc:%s!\n",
opus_strerror(samples), frame_size, plc ? "true" : "false");
return SWITCH_STATUS_FALSE;
return SWITCH_STATUS_NOOP;
}
*decoded_data_len = samples * 2 * (!context->codec_settings.sprop_stereo ? codec->implementation->number_of_channels : 2);