-
-
Notifications
You must be signed in to change notification settings - Fork 630
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
WebRTC seed doesn't happen until client connects from same network #854
Comments
I'm not very strong with WebRTC concepts, but it sounds very much like there's an issue with seeding over WebRTC from your network. If you are unable to seed with other WebRTC BitTorrent clients too, this seems like the logical answer. |
Thank you for the quick response. I tried seeding from a VPS with firewall turned off and a static IPv4/IPv6 directly attached to and I have pretty much the same results, didn't test with webtorrent desktop yet (probably have to try with webtorrent-hybrid) Also are those connection closed messages normal? |
I'll check when I get time. They should be normal, the logging levels might just be off. |
@hayzamjs I think you need to use WebTorrent-hybrid to make a bridge between webrtc peers and bittorrent peers, and also use the webtorrent tracker. they have a simple tool on their website called Webtorrent desktop, you can use that as a bridge to test the connectivity since it supports both protocols. |
Thanks for the insight @amaghzaz-y. I believe anacrolix/torrent classifies as a hybrid client, but I don't know if that helps here. |
I'm not going to have time for this. If anyone wants to take it. go for it. |
I'm using cmd/torrent by building it like this:
And then seeding a file like this:
It starts up with a few messages :
And continues to have messages like this:
And I'm unable to stream the video file from a remote PC using instant.io or any other webtorrent client. But the catch is.. the moment I start playing the same video (with the same magnet) on my PC (the same PC as the one that is seeding the torrent) everything is fine and all the peers get the video stream..
I have tried both the reference bittorrent-tracker as well as the openwebtorrent tracker, both of them show the same issue
EDIT: I also just tested webtorrent's desktop client and there too there's the same issue (with the same tracker), public trackers also have the same issue so I don't think it's that, is this something that is isolated to my PC/network or is it a known thing with the protocol, some pointers in the right direction would be super helpful!
The text was updated successfully, but these errors were encountered: