Skip to content

fix: let a candidate held for its description free the operation chain - #534

Merged
devopvoid merged 1 commit into
mainfrom
fix/early-candidates
Nov 4, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/early-candidates

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

A remote candidate that came before the remote description kept its operation open, so the description queued behind it waited for the operation timeout, which then rolled signaling back. This hit Peer.signal and Negotiator.addCandidate alike.

Holding a candidate now finishes its operation at once; it is still added after the remote description is applied. The future of Negotiator.addCandidate therefore completes once the candidate is added or held, and a held candidate WebRTC rejects later reaches the error handler.

A candidate that came before the remote description kept its operation open, so the description queued behind it waited for the operation timeout. Holding it now finishes the operation; a held candidate WebRTC rejects later reaches the error handler.
@devopvoid
devopvoid merged commit 5c68d85 into main Nov 4, 2026
26 of 28 checks passed
@devopvoid
devopvoid deleted the fix/early-candidates branch November 4, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant