WebRTC Data Channel in Firefox Nightly and Chrome Canary
While WebSockets was a carrot for HTML5 developers imagining smooth multi-player games natively in the browser, the truth was that a TCP-based centralized mechanism was never going to cut it for real-time multiplayer. You could fake it with some clever timing and client-side prediction, but it just wasn’t enough.
Enter WebRTC Data Channels – now available in Firefox Nightly and Chrome Canary. Developers are now on the cusp of having a UDP-style peer-to-peer communications that will enable the next generation of native multiplayer on the Web.