simple-wrtc-demo icon indicating copy to clipboard operation
simple-wrtc-demo copied to clipboard

Simple WebRTC video calling demo

SimpleWrtcDemo

Example code for the WebRTC blog.

Demo of the working app

ezgif-4-66fb15a4389c

You need to connect to the WebRTC session from two different browsers, which would then share video and audio P2P using WebRTC.

To start the app

  • Clone this repository
  • Install dependencies with mix deps.get
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.