allow 10ms jb

This commit is contained in:
Anthony Minessale authored and Ken Rice committed 2014-12-24 10:40:05 -06:00
1 parent 8261c75441
commit 2bded497fd
1 file changed
+2 -2
+2 -2
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;