From: Anthony Minessale Date: Wed, 21 Oct 2015 16:50:02 +0000 (-0500) Subject: up default max jb size to 50 X-Git-Tag: v1.6.4~1^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=116c4aa9169da9d0f2e3672bc2289fd4ff58c159;p=thirdparty%2Ffreeswitch.git up default max jb size to 50 --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 07ca9e30c3..09266438f1 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -1920,8 +1920,8 @@ static void check_jb(switch_core_session_t *session, const char *input, int32_t switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid Jitterbuffer spec [%d] must be between 10 and 10000\n", jb_msec); } else { - int qlen, maxqlen = 30; - + int qlen, maxqlen = 50; + qlen = jb_msec / (a_engine->read_impl.microseconds_per_packet / 1000); if (maxlen) {