From 7c2f7111758b5da8d61dc13311a2c228a2b7e79e Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Fri, 6 Oct 2023 13:15:33 +0200 Subject: [PATCH] config: remove jitter buffer type adaptive --- docs/examples/config | 6 +++--- src/config.c | 8 +++----- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/examples/config b/docs/examples/config index cf13adc645..8dcc7d5ba4 100644 --- a/docs/examples/config +++ b/docs/examples/config @@ -65,9 +65,9 @@ rtp_tos 184 rtp_video_tos 136 #rtp_ports 10000-20000 #rtp_bandwidth 512-1024 # [kbit/s] -audio_jitter_buffer_type fixed # off, fixed, adaptive +audio_jitter_buffer_type fixed # off, fixed audio_jitter_buffer_delay 5-10 # (min. frames)-(max. frames) -video_jitter_buffer_type fixed # off, fixed, adaptive +video_jitter_buffer_type fixed # off, fixed video_jitter_buffer_delay 5-10 # (min. frames)-(max. frames) video_jitter_buffer_size 500 # max. packets rtp_stats no @@ -293,7 +293,7 @@ video_selfview window # {window,pip} # multicast receivers (in priority order)- port number must be even #multicast_call_prio 0 #multicast_ttl 1 -#multicast_jbuf_type fixed # off, fixed, adaptive +#multicast_jbuf_type fixed # off, fixed #multicast_jbuf_delay 5-10 # frames #multicast_jbuf_wish 6 # frames for start #multicast_listener 224.0.2.21:50000 diff --git a/src/config.c b/src/config.c index 06a66b7681..4bb17eff21 100644 --- a/src/config.c +++ b/src/config.c @@ -828,12 +828,10 @@ static int core_config_template(struct re_printf *pf, const struct config *cfg) "rtp_video_tos\t\t136\n" "#rtp_ports\t\t10000-20000\n" "#rtp_bandwidth\t\t512-1024 # [kbit/s]\n" - "audio_jitter_buffer_type\tfixed\t\t# off, fixed," - " adaptive\n" + "audio_jitter_buffer_type\tfixed\t\t# off, fixed\n" "audio_jitter_buffer_delay\t%u-%u\t\t" "# (min. frames)-(max. frames)\n" - "video_jitter_buffer_type\tfixed\t\t# off, fixed," - " adaptive\n" + "video_jitter_buffer_type\tfixed\t\t# off, fixed\n" "video_jitter_buffer_delay\t%u-%u\t\t" "# (min. frames)-(max. frames)\n" "video_jitter_buffer_size\t%u\t\t" @@ -1276,7 +1274,7 @@ int config_write_template(const char *file, const struct config *cfg) "#multicast_call_prio\t0\n" "#multicast_ttl\t1\n" "#multicast_jbuf_type\tfixed\t\t" - "# off, fixed, adaptive\n" + "# off, fixed\n" "#multicast_jbuf_delay\t5-10\t\t# frames\n" "#multicast_listener\t224.0.2.21:50000\n" "#multicast_listener\t224.0.2.21:50002\n");