14 ms·
You write that the big disadvantage of WebRTC is the complexity. There is a nice library named simple-peer that hides all of that. Using that and node-electron,
by stcredzero 10y ago
You write that the big disadvantage of WebRTC is the complexity. There is a nice library named simple-peer that hides all of that. Using that and node-electron, I implemented a small server cluster that acts as a UDP to WebRTC proxy for my game. This gives you encryption and connection orientation.
See my other comment for the downsides: https://news.ycombinator.com/item?id=13745055 https://news.ycombinator.com/item?id=13745055