Merge branch 'master' into remove_redis

This commit is contained in:
Abdelkader Boudih 2025-01-23 20:04:11 +01:00 committed by GitHub
commit c5f0ef5a3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -619,7 +619,11 @@ static void *SWITCH_THREAD_FUNC write_stream_thread(switch_thread_t *thread, voi
}
} else {
memset(mp3buf, 0, 128);
shout_send(context->shout, mp3buf, 128);
ret = shout_send(context->shout, mp3buf, 128);
if (ret != SHOUTERR_SUCCESS) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Send error: %s\n", shout_get_error(context->shout));
goto error;
}
}
shout_sync(context->shout);