3 ms·
The answer is a server hosting the games, but that costs money.
by j_s 10y ago
The answer is a server hosting the games, but that costs money.
- yincrash 10y agoWebsockets are much simpler if you just want to do server<>client. A lot of webrtc is to handles the problems that come with p2p.
- j_s 10y agoAFAIK, websockets can't UDP (which is useful for many games).
- banachtarski 10y agoNot only can they not do UDP, they are framed as HTTP connections so until HTTP supports an alternative transport, WS is stuck.
- AshleysBrain 10y agoExactly, the appeal of P2P is you don't need to run servers. And it seems like a reasonable feature to allow browsers to reliably host multiplayer games.
- Crespyl 10y ago> it seems like a reasonable feature to allow browsers to reliably host multiplayer games. We're at a point now where you're certainly not wrong, it just feels really wrong.