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

When Simple-peer ICECOMPLETE_TIMEOUT is set to 1000 milliseconds Webtorrent performs MUCH faster #896

Open
zackees opened this issue Jul 31, 2022 · 0 comments

Comments

@zackees
Copy link

zackees commented Jul 31, 2022

What version of this package are you using?

Webtorrent v1.8.26

What operating system, Node.js, and npm version?

Win10 with brave:

Version 1.41.100 Chromium: 103.0.5060.134 (Official Build) (64-bit)

What happened?

Client never connects faster than 5.5 seconds, until ICECOMPLETE_TIMEOUT is set to a different value like 1000, in which case client will connect within 1.5 seconds.

What did you expect to happen?

I would expect the client to connect as fast as possible.

Are you willing to submit a pull request to fix this bug?

Maybe. I'm pointing this bug out so that others hitting this issue can find this bug report.

Reference points:

const ICECOMPLETE_TIMEOUT = 5 * 1000

this._debug('started iceComplete timeout')

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

No branches or pull requests

1 participant