Adding Real-Time Communications with WebRTC

The WebRTC project is an open project that aims to add real-time communications capabilities to web browsers via a JavaScript API. This includes the ability to make voice and video calls through both a centralized server and via peer-to-peer. This technology would be a great addition to two-player games to allow players to play against each other while staying in communication (among a myriad of other users).

The project has a website located at www.webrtc.org to go along with a draft specification available at www.w3.org/TR/webrtc/.

No current desktop browsers have support for WebRTC, but you can try out a version by using the Chrome development channel. See the WebRTC website for more details.

Get Professional HTML5 Mobile Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.