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
{{ message }}
Repository navigation
Commit fa75fd7
Browse filesBrowse the repository at this point in the historyBrowse files
fix: let a candidate held for its description free the operation chain
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.
|`createOffer()`, `createOffer(Gathering)`| Creates the local offer and applies it. |
808
808
|`answer(offer)`, `answer(offer, Gathering)`| Applies the remote offer, then creates the answer and applies it. |
809
809
|`applyAnswer(answer)`| Applies the remote answer to the local offer. |
810
-
|`addCandidate(candidate)`| Adds a remote candidate, or holds it until there is a remote description to add it to. |
810
+
|`addCandidate(candidate)`| Adds a remote candidate, or holds it until there is a remote description to add it to. The future completes once the candidate is added or held; a held candidate that WebRTC rejects later reaches the error handler. |
811
811
812
812
A manual peer with a `Signaling` still sends its local candidates through it. `peer.negotiator()` throws an `IllegalStateException` on a peer that negotiates automatically.
0 commit comments