mirror of
https://github.com/livekit/livekit.git
synced 2026-04-26 00:12:09 +00:00
* Use weighted loss to detect loss based congesiton signal. - Increase JQR min loss to 0.25. - Use weighted loss ratio so that more packet rate gets higher weightage. At default config, 10 packets in 1/2 second will form a valid packet group for loss based congestion signal consideration. Two packets lost in that group may not be bad. So, bumped up the JQR min loss to 0.25. However, 20% loss (or even much lesser loss) could be problematic if the packet rate is higher (potentially multiple streams affected and there could be a lot of NACKs as a result). So, weight it by packet rate so that higher packet rates enter JQR at lower losses. * WIP * use aggregated loss