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

Configurable ICE timeout values #490

Closed
thomaseizinger opened this issue Mar 22, 2024 · 1 comment · Fixed by #537
Closed

Configurable ICE timeout values #490

thomaseizinger opened this issue Mar 22, 2024 · 1 comment · Fixed by #537

Comments

@thomaseizinger
Copy link
Collaborator

Currently, these are constants:

str0m/src/io/stun.rs

Lines 11 to 14 in 2326934

pub const STUN_INITIAL_RTO_MILLIS: u64 = 250;
pub const STUN_MAX_RETRANS: usize = 9;
pub const STUN_MAX_RTO_MILLIS: u64 = 3000;
pub const STUN_TIMEOUT: Duration = Duration::from_millis(18_750); // See test for how this is calculated.

Could we make these configurable at runtime via the IceAgent? Our fork currently adjusts these which makes it a bit tedious to keep rebasing :)

@algesten
Copy link
Owner

Of course. Make setters!

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 a pull request may close this issue.

2 participants