Pacer runs at 5x layer bitrate so a capped frame (66 ms of max rate) leaves within one 60 fps interval instead of queueing behind the next
Browse files at this commit5cfdcf4ac72662cedaf5086ffce590fc11862e68Parent: 76c36f7- fix
- pacer runs at 5x layer bitrate so a capped frame (66 ms of max rate) leaves within one 60 fps interval instead of queueing behind the next
1 changed file +1 -1
crates/client/src/share/pacer.rsmodified+1 -1
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | use std::time::{Duration, Instant}; |
| 2 | 2 | |
| 3 | -const FACTOR: f64 = 2.5; | |
| 3 | +const FACTOR: f64 = 5.; | |
| 4 | 4 | const BURST_BYTES: f64 = 16. * 1024.; |
| 5 | 5 | const MIN_BYTES_PER_SECOND: f64 = 256. * 1024.; |
| 6 | 6 |