cockpit
cockpit copied to clipboard
[Video] Stats for nerds keeps blinking when streaming low FPS
Example with 5 FPS:
https://github.com/user-attachments/assets/2110dea0-3c1e-48c7-8089-d8b967ddbc53
Did a brief investigation:
- It's "intended" behaviour, in that it thinks the connection is lost
- That's determined based on the measured bitrate
- But the measurement rate is seemingly (?) hardcoded, and that rate is high enough that there are periods of no data being received between frames at low framerates
There should be either a reduction of measurement frequency for known low frame-rates, or an added buffer to better handle the stats for low frame-rate streams.