Skip to content

chintamanand/Video-Conference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f8e417a · Aug 21, 2018

History

36 Commits
Mar 27, 2018
Mar 27, 2018
Aug 21, 2018
Sep 22, 2016
May 9, 2015
May 9, 2015
May 9, 2015
Feb 16, 2017
May 9, 2015
May 9, 2015
May 9, 2015
Mar 27, 2018
Mar 27, 2018

Repository files navigation

video-conference-webrtc

Complete client/server application demonstrating how to setup a video conference with multiple peers using WebRTC.

What the app does

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.

How to run the code

  1. Clone the repo: $ git clone https://github.com/lucaslouca/video-conference-webrtc.git
  2. $ cd video-conference-webrtc
  3. $ npm install (you may need root access)
  4. $ node server.js
  5. Access the app from a WebRTC capable webbrowser through http://127.0.0.1:1337/

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.