allow 10ms jb

This commit is contained in:
Anthony Minessale 2014-12-12 17:51:34 -06:00 committed by Ken Rice
parent 8261c75441
commit 2bded497fd
1 changed files with 2 additions and 2 deletions

View File

@ -1693,9 +1693,9 @@ static void check_jb(switch_core_session_t *session, const char *input)
maxlen = (a_engine->read_codec.implementation->microseconds_per_packet / 1000) * abs(maxlen);
}
if (jb_msec < 20 || jb_msec > 10000) {
if (jb_msec < 10 || jb_msec > 10000) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR,
"Invalid Jitterbuffer spec [%d] must be between 20 and 10000\n", jb_msec);
"Invalid Jitterbuffer spec [%d] must be between 10 and 10000\n", jb_msec);
} else {
int qlen, maxqlen = 10;