webtorrent / bittorrent-tracker

🌊 Simple, robust, BitTorrent tracker (client & server) implementation
https://webtorrent.io
MIT License
1.75k stars 317 forks source link

Make HTTPTracker available in browser? #406

Closed buptsb closed 2 years ago

buptsb commented 2 years ago

What version of this package are you using?

What problem do you want to solve? Now I'm using Webtorrent + WebRTC for torrent streaming, and HTTPTracker is only available in node env, maybe we could make it available in browser?

What do you think is the correct solution to this problem? Just move some code from common-node.js to common.js.

Are you willing to submit a pull request to implement this change? Sure

alxhotel commented 2 years ago

The HTTP bittorrent tracker protocol, although available in the browser, is meant for TCP clients that can open arbitrary ports. The browser can not make such connections.

So, I think, for HTTP to be supported in the browser clients, the bittorrent tracker protocol should be updated.

github-actions[bot] commented 2 years ago

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