Complete client/server application demonstrating how to setup a video conference with multiple peers using WebRTC.
This sample code demonstrates a client/server architecture running on Node.js, that enables users to setup up a video conference. The app makes use of Socket.IO and WebRTC.
When a peer visits http://127.0.0.1:1337/, a new room url is generated, which can then be used to invite others to the video conference.
Below is a screenshot of a sample room (http://127.0.0.1:1337/jk4qhh) with four users participating in a video conference:
A full working demo is available at FooBubble.com.
At the moment WebRTC is supported only by a limited number of browsers: Chrome, Firefox and Opera.
$ git clone https://github.com/lucaslouca/video-conference-webrtc.git
$ cd video-conference-webrtc
$ npm install
(you may need root access)$ node server.js
Note: If you are sitting behind a corporate proxy make sure to use npm config set proxy http://"username:password"@proxy-server.com:8080
first.