webtorrent/webtorrent

Web Socket Connection Fails: Video is loading indefinitely without streaming

devAdityaa opened this issue · 2 comments

What version of this package are you using?
@latest
What operating system, Node.js, and npm version?
Linux, Client Side JS.
What happened?

I am trying to stream a video from a magnet url onto the webpage using client.rederTo(elem) and the video starts to load in the webpage element, and the duration also comes (0:00-14:59 say) but the loading never ends and after sometime, the following logs in the console:

Screenshot from 2023-10-07 13-02-31

What did you expect to happen?

The video should start streaming just as in any movie website
Are you willing to submit a pull request to fix this bug?
No, but Iam looking for someone to suggest a fix

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

@devAdityaa just to actually address this comment, you are both using a old build of WebTorrent, as fastcast.nz is no longer a default tracker and are attempting to play a UDP/TCP torrent, in browser, which only supports WebRTC peers, so likely has no peers.