]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
allow 10ms jb
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 12 Dec 2014 23:51:34 +0000 (17:51 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 12 Dec 2014 23:51:34 +0000 (17:51 -0600)
src/switch_core_media.c

index 8e00b72e2b996b80d17f6cc36b99a80fc9331e49..d4434a2687ebc6265390c97ad23f7a3b0b439272 100644 (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;