From: Anthony Minessale Date: Fri, 12 Dec 2014 23:51:34 +0000 (-0600) Subject: allow 10ms jb X-Git-Tag: v1.4.15^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d189e983c899241db0ff086aafebb61e6633715e;p=thirdparty%2Ffreeswitch.git allow 10ms jb --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 8e00b72e2b..d4434a2687 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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;