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

Is there some reason as to why loading torrent from info hash/magnet uri is slower on the web than webtorrent desktop client? #1554

Closed
joshuajazleung opened this issue Nov 25, 2018 · 3 comments
Labels

Comments

@joshuajazleung
Copy link

@joshuajazleung joshuajazleung commented Nov 25, 2018

What version of WebTorrent?
v0.102.4

What operating system and Node.js version?
MacOS, node v10

What browser and version? (if using WebTorrent in the browser)
Chrome 70

Some of my users mention that it takes a long time to load the torrent, some can't load at all. When I tested it, web torrent desktop client does load faster, like in 1-2 seconds, while the my website sometime takes 4-5 seconds to load. Is there some reason for that?

@joshuajazleung joshuajazleung changed the title Is there some reason as to why loading torrent from info hash is slower on the web than webtorrent desktop client? Is there some reason as to why loading torrent from info hash/magnet uri is slower on the web than webtorrent desktop client? Nov 25, 2018
@jimmywarting

This comment has been minimized.

Copy link
Contributor

@jimmywarting jimmywarting commented Nov 25, 2018

Guessing webrtc's nat hole bunching takes up most of time...
It has to gather ice candidates first and not trickle

The web don't have a DHT either

@stale

This comment has been minimized.

Copy link

@stale stale bot commented May 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 3, 2019
@stale stale bot closed this May 10, 2019
@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Aug 23, 2019

There are simply more peers available to the desktop app. Desktop apps can connect to WebRTC and TCP peers, while the browser can only connect to WebRTC peers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.