4 ms·
Yes, WebRTC is complicated. But you only need a TURN server for the P2P case. If you are using it in a client-server mode like WebSockets then there is no need
by modeless 2y ago
Yes, WebRTC is complicated. But you only need a TURN server for the P2P case. If you are using it in a client-server mode like WebSockets then there is no need for a TURN server, and connection establishment should be significantly simpler. And if you don't need the audio/video stuff then you can ignore that complexity as well. (Although voice chat or even video could be a very cool and differentiating feature for a multiplayer game.)
- NathanFlurry 2y agoWe work with a lot of multiplayer game devs and always recommend fast-paced games take a second look at client <-> server WebRTC. This the demo we share: https://github.com/rivet-gg/examples/tree/main/javascript/webrtc https://github.com/rivet-gg/examples/tree/main/javascript/we...