Using WebRTC for Video Chat

Recent years have seen browser manufacturers push the boundaries of what was previously considered possible in native JavaScript code, adding APIs to support a number of new features, including pixel-based drawing, as we saw in the previous chapter, and now, finally, a way to stream multimedia data (video and audio) from one browser to another across the Internet using an API known as the Web Real Time Communication (WebRTC) API, all without using plugins. Although support is, at the time of writing, only currently present in desktop versions of Chrome, Firefox, and Opera, making up just over 50 percent of ...

Get Pro JavaScript Development: Coding, Capabilities, and Tooling now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.