Repository navigation
fix: stop untransformed receive paths and preserve executor context - #567
Merged
Merged
Conversation
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.
A receive-transform installation failure currently reports an error but still publishes the track and leaves the native receive path running. Stop the affected transceiver before releasing its wrappers, omit the rejected track from current tracks and event delivery, and close the peer if the receive path cannot be stopped. Document this behavior in the builder and client guide.
Replace SerialExecutor's shared runner field with a thread-local marker so an idle turn cannot clear another thread's active marker. This preserves immediate handler registration from event callbacks during the handoff between turns.
Add regression coverage for failed receive-transform installation and a deterministic two-thread idle handoff. The receive-path case also checks that an unrelated transceiver remains active and late subscribers cannot replay the rejected track.
Make the transform-test media fixtures use VP8 on every platform, following TestMediaCall, and initialize both chroma planes. This removes platform codec selection and uninitialized input from tests that exercise transform delivery and key-frame requests; macOS ARM64 CI timed out waiting for the initial encoded frames with the previous fixture.