A standby that drops frames does not win a degrading swap #47
Labels
No labels
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cmoriarty/sports-breaker#47
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
#40 made a stream that drops frames count as degrading, so the channel swaps away from it. But a standby that itself drops frames can still win that swap: its measurement records its counted rate (
Measured.short_of_frames()), and the swap rule ignores it. The viewer would swap one stutter for another and lose the cooled link.What Changes
Done when a channel degrading for want of frames keeps its upstream when its standby measured 25 of 30 fps, and swaps when the standby measured an even rate.
Closing: deployed 2026-10-29 (
4d8f5ce). A degrading swap skips a standby whose measurement is short of frames, and a failed upstream still recovers onto it. Not seen live yet.