Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upTorrent source. Diference WebTorrent and WebTorrent-Desktop #1428
Comments
This comment has been minimized.
This comment has been minimized.
|
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 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! |
I understand that torrents should be on the WebRTC protocol to work, but why in the case of WebTorrent-Desktop, does any torrent work?