mirror of
https://github.com/nestriness/nestri.git
synced 2026-11-23 15:39:51 +02:00
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.