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

Torrent source. Diference WebTorrent and WebTorrent-Desktop #1428

Closed
heliocaruccio opened this issue Jul 3, 2018 · 1 comment
Closed

Torrent source. Diference WebTorrent and WebTorrent-Desktop #1428

heliocaruccio opened this issue Jul 3, 2018 · 1 comment
Labels

Comments

@heliocaruccio
Copy link

@heliocaruccio heliocaruccio commented Jul 3, 2018

I understand that torrents should be on the WebRTC protocol to work, but why in the case of WebTorrent-Desktop, does any torrent work?

@SilentBot1 SilentBot1 added the question label Jul 3, 2018
@SilentBot1

This comment has been minimized.

Copy link
Member

@SilentBot1 SilentBot1 commented Jul 3, 2018

Hey @heliocaruccio,

WebTorrent-Desktop is a Electron application which has access to both Node.JS and Chromium within a single runtime, this allows the combination of Chromium's WebRTC abilities and the use of Node.JS's net API to create TCP/UDP connections to allow access to both WebRTC peers and TCP/UDP peers within a single application.

The WebTorrent library works with both TCP/UDP peers and WebRTC peers but within the browser you can't create TCP/UDP connections using JavaScript meaning only WebRTC peers are supported, when using it with Node.JS TCP/UDP peers are supported but WebRTC peers are only supported in WebTorrent-Hybrid, but I could never get it to work fully in testing.

I'm going to close this since it's only a question, but feel free to ask any further questions here too!

@SilentBot1 SilentBot1 closed this Jul 3, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Oct 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.