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

Add an internal slot for active candidate pairs (re-upload) #197

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

henbos
Copy link
Collaborator

@henbos henbos commented Jan 25, 2024

Fixes: #188.

Helping Sameer make progress while he is OOO. Original PR description:

The [[CandidatePairs]] slot in RTCIceTransport tracks candidate pairs formed by the ICE agent and surfaced to the application, and not removed via icecandidatepairremove or removeCandidatePair().

The slot is used to validate the inputs to selectCandidatePair() and removeCandidatePair().

This is a re-upload of #194 with all of @jan-ivar's comments addressed (including the one which was outside the diff), with the exception for the question "Also, do we need to clear [[CandidatePairs]] at some point during ICE restart?"

For this last comment I filed #196 since I wasn't sure whether or not this was covered by the existing removal steps (no opinion, just unblocking this first part)


Preview | Diff

@jan-ivar jan-ivar merged commit 7081c0d into w3c:main Feb 1, 2024
2 checks passed
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.

Maintain an internal slot of candidate pairs that are valid inputs to RTCIceTransport operations
2 participants