A stream that goes silent does not cost the seconds it was silent #169
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cmoriarty/sports-breaker#169
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?
What happens
From the app's log, 2026-11-11 19:13 to 2026-11-14 18:10 EST: 25 of 173 changes of stream came after the playing stream had listed no new segment for 16 to 17 s. 18 of the 25 were one site's stream host.
By the time the channel changes stream, the new one has moved on by those seconds. With #168 the jump is shorter, but the new stream still holds the moment the old one stopped only when it was the slower of the two:
D + 16.5 <= W, with D the seconds its end was ahead of the old stream's and W the seconds it keeps (12 to 24 on the sites measured). When the stream that died was the slower one, the picture still skips.This is step 3 of 3 in the milestone. It needs #168. It was not tested in the research: the idea comes from the numbers.
The idea
A wrong stream costs nothing
The owner, 2026-11-14: "it is fairly common for the streams to just be wrong, and this new feature will need to be robust to that scenario." And: "sometimes the streams are from different markets and have different commercials, but they are showing the same game."
Settings
The owner, 2026-11-14. Two rows on the Settings page, beside Start behind live:
What it costs
Data it needs
settings.jsonunderplayback, onGET /api/settingsandPUT /api/settings/playback.moved_seconds.Done when
In the unit lane, with the generated streams of #167:
Live: the next stall on a game with a matched standby records 0.0 s moved (within 0.1).
Specs:
stream-supervision,admin-page,event-log.Merged in PR #195 (merge
4d8b2c5), archived infbe6270, live asfbe6270since 2026-11-18 17:54Z.kept_segmentsandkept_used.Not seen live yet: a stall on a game whose standby is ahead and matched. It should land within a keyframe of where the stream stopped, with segments kept and used.