antoniom / webrtc-vanillajs

A vanilla JS WebRTC sample app that supports text and audio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A vanilla JS WebRTC sample app that supports text and audio

A WebRTC app that supports group (many-to-many) peer clients.

The implementation is based on a tutorial found on medium.com and a google codelab

Getting started

  • Download dependencies with npm install
  • Generated a self-signed certificate
openssl req -new -x509 -sha256 -newkey rsa:2048 -nodes     -keyout example-com.key.pem -days 365 -out example-com.cert.pem
  • Run the server using node server.js
  • Open your browser on https://localhost:3000/ and skip the warnings shown.

About

A vanilla JS WebRTC sample app that supports text and audio


Languages

Language:JavaScript 86.9%Language:HTML 13.1%