Flesh out the ICE Controllers interface section. - #118
Merged
Conversation
pthatcher
reviewed
Jun 2, 2026
| undefined SetIceServers(sequence<IceServer> servers); | ||
|
|
||
| undefined gatherCandidates(); | ||
| undefined gatherCandidates(sequence<IceServer> servers); |
Collaborator
There was a problem hiding this comment.
Does this gather new host candidates or reuse the existing ones? Should we allow that level of control? Do local candidates get gathered automatically before calling this?
| 4. Let |numInterfaces| be the [=list/size=] of |availableInterfaces|. | ||
| 5. For each |interface| in |availableInterfaces|: | ||
| 1. Run the following steps in parallel: | ||
| 1. Send a STUN Binding request to the STUN server defined by |iceServer|, utilizing a local port allocated for host candidates on |interface|. |
Collaborator
There was a problem hiding this comment.
What if there isn't one yet?
| 5. For each |interface| in |availableInterfaces|: | ||
| 1. Run the following steps in parallel: | ||
| 1. Send a STUN Binding request to the STUN server defined by |iceServer|, utilizing a local port allocated for host candidates on |interface|. | ||
| 2. Wait for a successful STUN Binding response, for the request to time out after 30 seconds, or for |interface| to become unavailable. |
Collaborator
There was a problem hiding this comment.
I'm not sure this is the right place to specify the duration of the timeout.
|
|
||
|
|
||
|
|
||
| ISSUE: The network cost per network type needs to be defined. |
Collaborator
There was a problem hiding this comment.
Do we want to do that in the W3C or IETF?
|
|
||
| ISSUE: What policies should be considered in relation to candidate discovery? | ||
|
|
||
| ISSUE: What are reasonable timeout limits? Implementation defined? |
Collaborator
There was a problem hiding this comment.
Again, perhaps an IETF rather than IC3 thing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Preview | Diff