[mod_shout] Reduce log level from error to warning for "Error opening %s (invalid rate or channel count)"

This commit is contained in:
Andrey Volk 2020-04-17 20:33:02 +04:00
parent 3089e8e548
commit b31c47eab7
1 changed files with 1 additions and 1 deletions

View File

@ -736,7 +736,7 @@ static switch_status_t shout_file_open(switch_file_handle_t *handle, const char
mpg123_getformat(context->mh, &rate, &channels, &encoding);
if (!channels || !rate) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error opening %s (invalid rate or channel count)\n", path);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Error opening %s (invalid rate or channel count)\n", path);
goto error;
}