mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
- Collect stats from both publisher AND subscriber PeerConnections (RTT is typically on the subscriber PC in LiveKit's SFU model) - Accept candidate-pair with valid RTT regardless of state (not just "succeeded" — subscriber may report "in-progress") - Round raw byte values in formatBytes to avoid 15-digit floats - Use max instead of sum for totalUp/totalDown across candidate pairs to avoid double-counting across PCs