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

Do I need to manually specify tracker? #35

Closed
singpolyma opened this issue Jun 11, 2016 · 4 comments
Closed

Do I need to manually specify tracker? #35

singpolyma opened this issue Jun 11, 2016 · 4 comments

Comments

@singpolyma
Copy link

webtorrent/webtorrent#288 indicates that there is no DHT yet for the webtorrent side. So, do I need to manually add a webtorrent tracker to my magnet link so that instant.io and others can find my peers? Or will the CLI add one for me?

@DiegoRBaquero
Copy link
Member

Default ones are provided if none is specified. https://github.com/feross/create-torrent/blob/master/index.js#L10-L13

@singpolyma
Copy link
Author

That's for creating a new torrent -- what about seeding one I've downloaded?

@DiegoRBaquero
Copy link
Member

WebTorrent core adds default webrtc trackers for downloading/seeding when none are specified.

If you use webtorrent seed command, it does create a torrent from the provided files. If you try to seed a magnet or .torrent, it will do a download process.

@feross
Copy link
Member

feross commented Jul 27, 2016

If you want to seed an existing .torrent, the way to do it is to use client.add and pass in the right path option to where the file(s) are saved (the client will verify the files and not re-download the torrent).

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

3 participants