karthikbr82 / node-webrtc-basic-app

It is a test WebRTC application, written by a developer who has never used the WebRTC APIs and started by writing a simple full-mesh application from scratch. This repository documents the journey.

Home Page:https://demo.callstats.io:4430/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-webrtc-basic-app

This is a WebRTC test application running on node.js and express.js

Get started:

  1. Install node.js if not installed (https://nodejs.org/en/download/)
  2. Clone and install
$ https://github.com/callstats-io/node-webrtc-basic-app.git
$ cd node-webrtc-basic-app/
$ npm install
  1. If you want to use SSL, generate SSL certificates to node-webrtc-basic-app/ssl/ folder (ca.crt, server.crt, server.key)
  2. Get appID and appsecret by registering at callstats.io (https://dashboard.callstats.io/register)
  3. Insert appID and appsecret in node-webrtc-basic-app/app/config.js
  4. Run the app: npm start or SSL=true npm start

Try the app locally by opening https://localhost:4430/ in multiple tabs.

About

It is a test WebRTC application, written by a developer who has never used the WebRTC APIs and started by writing a simple full-mesh application from scratch. This repository documents the journey.

https://demo.callstats.io:4430/

License:MIT License


Languages

Language:JavaScript 97.6%Language:HTML 2.3%Language:CSS 0.1%