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

Prevent candidate pair removal #168

Merged
merged 8 commits into from
Sep 21, 2023
Merged

Conversation

sam-vi
Copy link
Contributor

@sam-vi sam-vi commented May 25, 2023

Fixes #166

This is a proposal for a cancelable event approach to preventing ICE candidate pair pruning.

An event is also proposed at the formation of candidate pairs, which is not strictly necessary for preventing candidate pair pruning, but makes sense to go together for applications to have a better view of the candidate pair lifecycle.


Preview | Diff

@sam-vi sam-vi marked this pull request as ready for review May 25, 2023 13:23
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
Copy link

@pthatcher pthatcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the name change I suggested, I like this PR.

@dontcallmedom-bot
Copy link

sam-vi added 7 commits August 18, 2023 10:12
This slot is only needed once method(s) are added to
RTCIceTransport to perform ICE actions, eg. pruneCandidatePair().
Then the slot is used to guard against performing another
action while a proposal is pending resolution.

So defer adding the slot until methods are added.
This event adds symmetry to the candidate pair lifecycle, so apps
are informed of both candidate pair formation and pruning.

The candidatepairadded event is not strictly necessary for the
pruneproposed event, but makes it easier to use.
@sam-vi sam-vi force-pushed the samvi-166-pruneproposal branch from 33b0a65 to 96eb5fd Compare August 18, 2023 08:22
@dontcallmedom-bot
Copy link

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

@alvestrand
Copy link
Contributor

Is this one ready to merge?

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: prevent candidate pair removal
8 participants