FS-8130 FS-8305 refactor of last patch plus suppression of scary harmless message about opus fec

This commit is contained in:
Anthony Minessale
2015-10-06 09:34:19 -05:00
parent 132564f071
commit 7f85faf21e
2 changed files with 101 additions and 77 deletions

View File

@@ -338,7 +338,8 @@ static switch_bool_t switch_opus_has_fec(const uint8_t* payload,int payload_leng
return SWITCH_FALSE;
}
if (payload[0] & 0x80) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "FEC in CELT_ONLY mode ?!\n");
/* this scares users and its harmless so commenting it */
//switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "FEC in CELT_ONLY mode ?!\n");
return SWITCH_FALSE;
}