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

Don't fire icecandidatepairadd if closed + avoid competing normative prose #177

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

jan-ivar
Copy link
Member

@jan-ivar jan-ivar commented Oct 27, 2023

Fixes #176. cc @sam-vi — these are some items I missed in review.


Preview | Diff

@sam-vi
Copy link
Contributor

sam-vi commented Oct 31, 2023

LGTM, makes sense to guard the event. Thanks!

@@ -717,6 +721,41 @@ <h3>
Changing
the selected candidate pair after a successful nomination requires an ICE restart.
</p>
<p>
When the [= ICE agent =] has [= formed =] a candidate pair, the [= user agent =] MUST [= queue a task =] to <dfn

Choose a reason for hiding this comment

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

I think it's a little vague when a candidate pair is "formed". So I think it might be better to phrases this in terms of the ICE agent is going to add a candidate pair, and just avoid the use of the term "form".

Copy link
Contributor

Choose a reason for hiding this comment

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

I take it you are referring to Section 6.1.2.2, where candidate pairs are "formed", but some of these can be discarded in sections 6.1.2.3, 6.1.2.4 and 6.1.2.5 before any connectivity checks are ever sent.

Only at the end of these steps does the ICE agent have a list of "added" candidate pairs on which connectivity checks could be sent, and only these bear surfacing up to the application. RFC 8445 does not have any terminology for candidate pairs that get to this stage.

So perhaps the definition in terminology could be rephrased as:

"The process of adding candidate pairs is defined as forming candidate pairs and pruning redundant pairs in [RFC 8445] Section 6.1.2."

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we file a follow-up issue about this? Since "form" is old language, and we're not sure what is needed here.

Copy link
Member Author

Choose a reason for hiding this comment

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

"formed" is existing language. This PR merely adds a link. I think a rename would be a separate issues.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Merging this one, feel free to file an issue @pthatcher if you think this can be improved

@henbos
Copy link
Collaborator

henbos commented Nov 16, 2023

Editors can integrate if @jan-ivar files an issue

@aboba aboba merged commit 92bea5a into w3c:main Dec 7, 2023
2 checks passed
@jan-ivar jan-ivar deleted the formed branch December 7, 2023 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

icecandidatepairadd is fired on closed pc
5 participants