You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
capture: match Apple's frame queue admission boundary
The shared encoded queue checked the duration after adding the incoming
frame, rejecting one picture before Apple's producer admission threshold.
Check existing queued duration >= 67 ms instead. At 30 fps, two pending
pictures occupy 66.7 ms, so a third is admitted and the fourth is rejected.
Grounding: artifacts/26A5388g__MacOS/decompiled/AirPlaySender.c,
vdsink_ShouldDropFrame (128485-128526). The queue is created at 188416,
passed to APVirtualDisplaySinkCreate at 188571, and consumed by
screenstream_dequeueAndProcessSampleBuffer at 319674. It holds encoded
CMSampleBuffers. The byte/chunk bounds and shared-sink detachment policy
remain unchanged; this does not port Apple's producer-feedback mechanism
or resolve longer stalls reported in PR #36.
Tests: failing-first 20/30/60 fps admission regressions, exact 67 ms equality,
drain/re-enqueue ordering, byte/chunk bounds, and oversized-first-frame
rejection. Full race suite, vet, and executable builds passed before commit.
0 commit comments