If I want to add WebRTC capabilities to an existing server, what's the simplest way of doing that? This is for a game, all I need is an unreliable RTCDataChannel
[1] https://github.com/feross/simple-peer
[2] https://github.com/justo-rivera/dibujio-client
Ps. Be sure to use a turn server besides a stun one, that was a big headache to get it working on mobile data
I’m glad people are using the data channel for games; I always see people say “well we could have better networking but browsers only support TCP sockets” but that is not the case.
The most complicated bit is you will need TURN servers for some symmetric NAT cases; either host your own or use something like https://xirsys.com/