Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 939 Bytes

File metadata and controls

23 lines (16 loc) · 939 Bytes

One2many

This is a simple WebRTC project, where you can broadcast a webcam video in one browser (as an anchor) to many browsers (as an audience). This project is part of a continues learning on WebRTC.

To start this Phoenix app:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with npm install
  • Start Phoenix endpoint with mix phoenix.server

How to play:

  • Visit localhost:4000 from 3 browser instances.
  • In 1st browser click "Anchor Page", and
  • On the 2nd and 3rd browsers click "Audience Page",
  • On Anchor Page, click on Broadcast,
  • On each of every Audience Page, click on Watch.

Screen shoot: