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

nodejs download slowly #512

Closed
hualiwang opened this issue Dec 4, 2015 · 2 comments
Closed

nodejs download slowly #512

hualiwang opened this issue Dec 4, 2015 · 2 comments

Comments

@hualiwang
Copy link

@hualiwang hualiwang commented Dec 4, 2015

To my experience , browser mode is faster more then nodejs mode.

I try to run commandline "node cmd.js seed sintel.torrent ", the torrent downloaded from https://webtorrent.io/torrents/sintel.torrent

It just found up to 3 peers , with speed 70kb/s , after 5 minutes , two peers disappeared , and time remaining: Infinity years remaining
but I can recover speed by restart the commandline.

so I open http://webtorrent.io in chrome and watch the same movie , I can found over 5 peers and 20 minutes remaining.

what the different between node and browser ? Is that because of webrtc ?
If some peers has low download speed ,can I change it to other one?

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Dec 9, 2015

On the browser it's only webrtc peers, on node, it's TCP/uTP peers only. The 3 peers are different from the 5 peers. Sintel is also webseeded but webseed broke in last 2 builds. Pending PR in bittorrent-swarm to fix this.

If you want to use webrtc from CLI, you can use webtorrent-hybrid (Although I would recommend using electron-spawn) See webtorrent/webtorrent-hybrid#5

@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 5, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

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