Files
netris-nestri/apps
Wanjohi 0c348d3973 fix(neshub): a picture switch waits for the new keyframe even behind a stalled writer (#425)
Follow-up to #423 from its re-review. The dgram writer now raises
awaiting_keyframe when it reaches the Resubscribe marker, in queue
order, and restart_picture sets the flag before queuing the marker.
Before this, an old keyframe still queued ahead of a primary switch
could clear the flag, letting the new picture's first delta out as the
first frame an old client saw after the switch. Needs a writer stalled
for at least 1 s to trigger.

Tested: cargo test -p neshub on nestripc-1, 78 passed.
2026-10-17 16:47:36 +03:00
..