Skip to content

Commit 920767a

Browse files
committed
tune bitrate controller to be faster
1 parent 03afc55 commit 920767a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pulsebeam/src/participant/bitrate.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ impl Default for BitrateControllerConfig {
1919
fn default() -> Self {
2020
Self {
2121
min_bitrate: Bitrate::kbps(300),
22-
max_bitrate: Bitrate::mbps(20),
22+
max_bitrate: Bitrate::mbps(5),
2323

2424
// Headroom: 15% is a safe and standard value.
2525
headroom: 0.85,
@@ -29,7 +29,7 @@ impl Default for BitrateControllerConfig {
2929

3030
// Ramp limits (per second): Be aggressive in our reactions.
3131
// Allow ramping up reasonably fast to achieve good quality in a few seconds.
32-
max_ramp_up: Bitrate::kbps(800),
32+
max_ramp_up: Bitrate::kbps(1500),
3333

3434
// React to congestion IMMEDIATELY. Allow dropping several megabits per second.
3535
max_ramp_down: Bitrate::mbps(3),

0 commit comments

Comments
 (0)