spencercap / simpler-peer

how simple is simple-peer ?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simpler-peer

a little dev playground for simple-peer

demo

initiator

receiver

connection flow

  1. open initiator.html, copy the signal offer
  2. open receiver.html, paste that signal offer into the text area, then click generate
  3. copy the generated signal answer from receiver.html
  4. paste that signal answer into the text area of initiator.html, then click connect
  5. enjoy a margarita

in the real world, instead of copying and pasting signal offers and answers, you can use a websocket, some database (like firestore), or even a carrier pigeon 😉 for the signaling.

version

note, this uses a copy of simplepeer.min.js at version 9.6.2

About

how simple is simple-peer ?


Languages

Language:HTML 100.0%