-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Consider replacing electron-webrtc
with wrtc
#76
Comments
Just out Would be happy if someone else could take a look at swapping in |
I tried with wrtc version 0.1.0 with webtorrent and it work ! I noticed it lose connection some time, mainly just after start seeding. so, as a quickfix i check if wire still exist on the server side webtorrent client, if not i destroy torrent and add it again, then the wire looks stable. It don't work with higher version of wrtc, i try to find why. |
I created a test project, it's a simple express server with webtorrent version 0.99.2 and wrtc module. wrtc v0.1.0 & wrtc v0.1.1 wrtc >= v0.1.2 NOTE |
@Fabiencdp That's interesting. I didn't get any errors at all when I tried The Can you try again with webtorrent 0.99.3? Since you're using webtorrent-hyrbid, you can just delete |
Thanks @feross ! It fix the
But it's the same, no ? It still lost connection with wrtc 0.1.0, but wrtc looks promising and better than electron. I'm really not an expert about RTCPeerConnection and stuff so it's hard to find where are the problems. Anyway I'd like to help if you want to switch to wrtc. I will try to dig a little more next week. |
I think it'd be cool if webtorrent-hybrid worked with wrtc again—it should help us get a compliant/bug-free implementation of wrtc. But I think it's important to consider user experience, especially on install. Assuming wrtc irons out all bugs, the install experience can still be annoying:
electron-webrtc uses electron and therefore its installation method. There should be similar issues trying to install electron-webrtc on unsupported platforms. Also,
or
would break either wrtc or electron-webrtc's installers. |
@Fabiencdp Thanks for your eagerness to help. I'd really like to see a working example of @markandrus Every native module breaks if the user uses |
@feross, did you take a look at this test repo ? |
@Fabiencdp It's a problem that it's still not working with wrtc >= 0.1.2. We can't merge until we figure out what's going on there. Let me know if you (or anyone else!) figures anything out. |
@markandrus, I think it should be possible to be in |
@nazar-pc The |
Another option might be https://www.npmjs.com/package/node, that would definitely install Node.js version you need |
@nazar-pc Hah! That's one brute force approach. I think we'll stick with the user-installed Node. |
Hello, any news about the migration to wrtc? with the electron version its impossible to seed more than 30 files. |
Released as 2.0.0 :D |
I see much more active work on
wrtc
these days. It might be worth testing it out again.The text was updated successfully, but these errors were encountered: