Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWebtorrent not working in the browser. #987
Comments
This comment has been minimized.
This comment has been minimized.
|
Hi! Thanks for providing the code snippet; everything looks good there. The reason why it's not downloading could be a few things, but I need more info. Could you provide the debug logs for webtorrent? They can be enabled by opening the browser console and executing |
This comment has been minimized.
This comment has been minimized.
|
I suspect that you're not specifying any tracker servers in your magnet link. WebTorrent Desktop adds some automatically for you, but the lower-level You can add |
This comment has been minimized.
This comment has been minimized.
|
Yes I agree that i'm not adding those tracker. Now it working fine thank @feross |
This comment has been minimized.
This comment has been minimized.
|
Glad to hear that |
This comment has been minimized.
This comment has been minimized.
|
Sorry to spam everybody, but I have a question relating to this. From the info I gathered reading around the web, magnet links use a DHT table to prevent the use of a tracker. Therefore, why would the appending those to the hash be necessary ? Does it relate to the fact that webtorrent will only work with webrtc seeded torrents ? |
This comment has been minimized.
This comment has been minimized.
|
@stanislasdrg There are two reasons to include trackers in magnet links:
|
**
Log
I'm using the webtorrent desktop app for seeding the torrent. Here i'm using the magnet linki'm using same magnet link to open in the browser using the webtorrent(example code from webtorret) isn't identiyfing the any peer. Where as instant.io identifies the peer and start loads the video.
Above I posted the sample code i'm testing it is not workingI dont know what is the error.
Note: I had the webrtc seeders. Even i'm seeding through the webtorrent desktop appAny help would be appreciated. @feross