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

Web Stream Issue #1778

Closed
NDusan88 opened this issue Nov 7, 2019 · 1 comment
Closed

Web Stream Issue #1778

NDusan88 opened this issue Nov 7, 2019 · 1 comment
Labels

Comments

@NDusan88
Copy link

@NDusan88 NDusan88 commented Nov 7, 2019

What version of this package are you using? latest

**What operating system, Node.js, and npm version?**None i code from C# .net Core

What happened?

var torrentid = "magnet:?xt=urn:btih:7BE41ED6B348A4EB3DE98DD1E130740C2065FDF4&tr=http%3a%2f%2ftrack.one%3a1234%2fannounce&tr=udp%3a%2f%2ftrack.two%3a80&tr=udp%3a%2f%2fopen.demonii.com%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969&tr=udp%3a%2f%2fglotorrents.pw%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftorrent.gresille.org%3a80%2fannounce&tr=udp%3a%2f%2fp4p.arenabg.com%3a1337&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969S"

The issue is when i put magnet link nothing happens and when i use the magnet link that you provide on FAQ, it start stream the video.

Also i have tried the same magnet link above on desktop software and it working like a charm.
Can some one help me out to figure this out?
Thanks
Capture

**What did you expect to happen?**Stream Movie

**Are you willing to submit a pull request to fix this bug?**No

@KayleePop

This comment has been minimized.

Copy link
Contributor

@KayleePop KayleePop commented Nov 7, 2019

From the FAQ here https://webtorrent.io/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.

The Sintel torrent has plenty of webtorrent compatible seeders and it also has an http webseed and torrent file source (&ws=https://webtorrent.io/torrents/&xs=https://webtorrent.io/torrents/sintel.torrent), which means it can be downloaded even without any seeders or peers to get metadata from.

Your torrent will work in the browser if you seed it from the desktop client.

@KayleePop KayleePop closed this Nov 7, 2019
@KayleePop KayleePop added the question label Nov 7, 2019
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
2 participants
You can’t perform that action at this time.