WebTorrent is a streaming torrent client for node.js and the browser. In the browser, WebTorrent uses WebRTC (data channels) for peer-to-peer transport, but nodejs uses UDP/TCP peers (or even both WebRTC and UDP/TCP).
My question is if it’s possible to make a nodejs app that proxies the packages that receives from UDP/TCP peers to WebRTC peers.
I don’t want the nodejs app to download the whole torrent and then seed it to the WebRTC peers,
i want to somehow forward the UDP/TCP packages to the WebRTC peers.