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

feat(ice): make timeout values configurable #537

Merged

Conversation

thomaseizinger
Copy link
Collaborator

This makes the 3 components that make up the ICE timeout configurable. I tried to add some documentation to the setters to the best of my understanding of how this works internally.

Resolves: #490.

Copy link
Owner

@algesten algesten left a comment

Choose a reason for hiding this comment

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

Looks good. Some minor observations.

src/ice/agent.rs Show resolved Hide resolved
src/ice/agent.rs Outdated Show resolved Hide resolved
src/ice/pair.rs Show resolved Hide resolved
src/io/stun.rs Outdated Show resolved Hide resolved
@xnorpx
Copy link
Collaborator

xnorpx commented Jul 5, 2024

Should this be available in RtcConfig as well? (I know we want tune some of these values)

@algesten
Copy link
Owner

algesten commented Jul 5, 2024

Should this be available in RtcConfig as well? (I know we want tune some of these values)

Yeah. Let's make a follow up PR since Thomas doesn't use Rtc.

@algesten algesten merged commit ecbac76 into algesten:main Jul 5, 2024
22 checks passed
github-merge-queue bot pushed a commit to firezone/firezone that referenced this pull request Aug 2, 2024
With the adoption of #5080, connlib is now resilient against temporarily
failed connections as they'll be immediately re-established. Thus, we no
longer need any of the patches that we are currently maintaining in our
str0m fork.

The only difference is an adjustment of the ICE timeout parameters but
those can be made configurable in str0m.

Related: algesten/str0m#537.
github-merge-queue bot pushed a commit to firezone/firezone that referenced this pull request Aug 2, 2024
With the adoption of #5080, connlib is now resilient against temporarily
failed connections as they'll be immediately re-established. Thus, we no
longer need any of the patches that we are currently maintaining in our
str0m fork.

The only difference is an adjustment of the ICE timeout parameters but
those can be made configurable in str0m.

Related: algesten/str0m#537.
github-merge-queue bot pushed a commit to firezone/firezone that referenced this pull request Aug 2, 2024
With the adoption of #5080, connlib is now resilient against temporarily
failed connections as they'll be immediately re-established. Thus, we no
longer need any of the patches that we are currently maintaining in our
str0m fork.

The only difference is an adjustment of the ICE timeout parameters but
those can be made configurable in str0m.

Related: algesten/str0m#537.
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.

Configurable ICE timeout values
3 participants