mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 02:52:32 +00:00
up default max jb size to 50
This commit is contained in:
parent
847fe0f476
commit
116c4aa916
@ -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,
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR,
|
||||||
"Invalid Jitterbuffer spec [%d] must be between 10 and 10000\n", jb_msec);
|
"Invalid Jitterbuffer spec [%d] must be between 10 and 10000\n", jb_msec);
|
||||||
} else {
|
} else {
|
||||||
int qlen, maxqlen = 30;
|
int qlen, maxqlen = 50;
|
||||||
|
|
||||||
qlen = jb_msec / (a_engine->read_impl.microseconds_per_packet / 1000);
|
qlen = jb_msec / (a_engine->read_impl.microseconds_per_packet / 1000);
|
||||||
|
|
||||||
if (maxlen) {
|
if (maxlen) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user