Repository navigation
fix(sender): preserve encoded frame references under backpressure - #194
Merged
swellweb merged 1 commit intoSep 14, 2026
Conversation
3 tasks
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Thanks again for TargetBridge and for the guidance to send small, tested follow-ups. While using a headless Mac mini with an iMac as its display, we reproduced HEVC missing-reference errors when the network queue briefly filled.
handleEncodedcurrently drops non-keyframes after VideoToolbox has encoded them. Those frames can be references for later frames, so sending the rest of the sequence can leave the Receiver unable to decode until a new keyframe.Focused change
Based directly on current
maint-3.5(fb45b5f); two files only. This is independent of the monitor-mode/onboarding drafts.Validation
ruby TargetBridge-Sender/scripts/test_video_queue_budget.rbpasses on Apple Silicon. It executes the production budget policy and checks both call sites, bounded reservations, delayed acknowledgements, encoding completion/failure and invalid limits.droppedPost=0and sampled pending+in-flight counts within the configured budget.No personal certificates, logs containing desktop content, credentials, network configuration or generated build stamps are included.