Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend RTCIceTransport to allow changing the selected candidate pair #174

Merged
merged 10 commits into from
Oct 26, 2023

Conversation

sam-vi
Copy link
Contributor

@sam-vi sam-vi commented Sep 4, 2023

Fixes #171.

This PR extends the RTCIceTransport interface by adding a new event handler attribute and a method which together allow an application to control the candidate pair used for sending and receiving data over a peer connection.

A new, cancelable event icecandidatepairnominate is proposed to allow an application to defer the nomination of a candidate pair by the ICE agent as the selected candidate pair for transport. This allows the selected candidate pair to be changed without an ICE restart.

A new method setSelectedCandidatePair is proposed to allow an application to set any valid candidate pair as the selected candidate pair from which to send data.


Preview | Diff

If nomination is being deferred, either side is allowed to send
on a pair of their choosing. Only nomination is the exclusive
prerogative the controlling agent.
@aboba aboba added the TPAC 2023 For discussion at TPAC label Sep 7, 2023
@dontcallmedom-bot
Copy link

This issue was mentioned in WEBRTCWG-2023-09-12 (Page 65)

@sam-vi sam-vi changed the title Set selected candidate pair Extend RTCIceTransport to allow changing the selected candidate pair Sep 22, 2023
@aboba aboba merged commit 2833e5b into w3c:main Oct 26, 2023
1 check passed
@sam-vi sam-vi deleted the samvi-171-setselected branch November 13, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TPAC 2023 For discussion at TPAC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE improvements: select a candidate pair
4 participants