From ea37289b7d8903128fe126d7f2fb7ec81094ffe2 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Tue, 21 Nov 2017 16:51:43 +0100 Subject: [PATCH] move jitter_buffer_max_size default value from 250 to 500 --- coreapi/linphonecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 36b829b2c..20ae4ee61 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -2655,7 +2655,7 @@ static void apply_jitter_buffer_params(LinphoneCore *lc, RtpSession *session, Li rtp_session_get_jitter_buffer_params(session, ¶ms); params.min_size = lp_config_get_int(lc->config, "rtp", "jitter_buffer_min_size", 40); - params.max_size = lp_config_get_int(lc->config, "rtp", "jitter_buffer_max_size", 250); + params.max_size = lp_config_get_int(lc->config, "rtp", "jitter_buffer_max_size", 500); params.max_packets = params.max_size * 200 / 1000; /*allow 200 packet per seconds, quite large*/ params.buffer_algorithm = name_to_jb_algo(lp_config_get_string(lc->config, "rtp", "jitter_buffer_algorithm", "rls")); params.refresh_ms = lp_config_get_int(lc->config, "rtp", "jitter_buffer_refresh_period", 5000);