Skip to content

Commit

Permalink
config: remove jitter buffer type adaptive
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Oct 6, 2023
1 parent e969d2c commit 7c2f711
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/examples/config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 7c2f711

Please sign in to comment.