forge
Explore
Log in

Don't you dare go Hollow

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 commit

5cfdcf4ac72662cedaf5086ffce590fc11862e68Ahmet Kaan GümüşParent: 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
Show full message
🐛 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
crates/client/src/share/pacer.rsmodified+1 -1
@@ -1,6 +1,6 @@
11 use std::time::{Duration, Instant};
22
3-const FACTOR: f64 = 2.5;
3+const FACTOR: f64 = 5.;
44 const BURST_BYTES: f64 = 16. * 1024.;
55 const MIN_BYTES_PER_SECOND: f64 = 256. * 1024.;
66