mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 09:32:34 +00:00
allow 10ms jb
This commit is contained in:
parent
e783999b51
commit
d189e983c8
@ -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);
|
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,
|
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 {
|
} else {
|
||||||
int qlen, maxqlen = 10;
|
int qlen, maxqlen = 10;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user