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

how to add dht into webtorrent #1453

Closed
wildelf opened this issue Jul 27, 2018 · 6 comments
Closed

how to add dht into webtorrent #1453

wildelf opened this issue Jul 27, 2018 · 6 comments

Comments

@wildelf
Copy link

@wildelf wildelf commented Jul 27, 2018

   when I used webtorrent to download files with magnet that I searched from internet likes "magnet:?xt=urn:btih:JJKYYFNWS3VUILHAMURFFEZ6WFVNAAWN",it did not work.
   I find someway to deal with this issue,but i am fail.
   Begging some solution.
   thanks for any help.
@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Jul 27, 2018

See the FAQ:

Why does browser downloading not work? I see no peers!

It does work! But you can't just use any random magnet uri or .torrent file. The torrent must be seeded by a WebRTC-capable client, i.e. WebTorrent Desktop, Vuze, webtorrent-hybrid, Playback, instant.io, or βTorrent.

In the browser, WebTorrent can only download torrents that are explicitly seeded to web peers via a WebRTC-capable client. Desktop torrent clients need to support WebRTC to connect to web browsers.

@feross feross closed this Jul 27, 2018
@wildelf

This comment has been minimized.

Copy link
Author

@wildelf wildelf commented Jul 27, 2018

Thanks for response.
I used webtorrent to download files in chrome,does it support dht?
I can download the files using that magnet in thunder,but it does not work in webtorrent.
Are they not a same BT protocol ?

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Jul 27, 2018

The browser version of WebTorrent doesn't support the DHT.

@wildelf

This comment has been minimized.

Copy link
Author

@wildelf wildelf commented Jul 27, 2018

Can I set bittorrent-dht into webtorrent?

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Jul 27, 2018

No. There are some experiments to do it, but it's not part of the official webtorrent package. You're on your own to figure it out.

@wildelf

This comment has been minimized.

Copy link
Author

@wildelf wildelf commented Jul 27, 2018

What a pity,but thanks a lot!

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 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.