Skip to content

This is a working example of video calling between two browsers using nodejs and webrtc

Notifications You must be signed in to change notification settings

vitd39jc/WebRTC-nodejs-video-call-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebRTC nodejs video call demo

Usage

The signaling server uses Node.js and ws and can be started as such:

$ npm install
$ npm start

With the server running, open a recent version of Firefox, Chrome, or Safari and visit https://localhost:8443.

  • Note the HTTPS! There is no redirect from HTTP to HTTPS.
  • Some browsers or OSs may not allow the webcam to be used by multiple pages at once. You may need to use two different browsers or machines.

TLS

Recent versions of Chrome require secure websockets for WebRTC. Thus, this example utilizes HTTPS. Included is a self-signed certificate that must be accepted in the browser for the example to work.

About

This is a working example of video calling between two browsers using nodejs and webrtc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.1%
  • HTML 12.3%
  • Shell 0.6%