a little dev playground for simple-peer
- open
initiator.html
, copy the signal offer - open
receiver.html
, paste that signal offer into the text area, then click generate - copy the generated signal answer from
receiver.html
- paste that signal answer into the text area of
initiator.html
, then click connect - 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.
note, this uses a copy of simplepeer.min.js
at version 9.6.2