WebRTC demo applications
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
.gitignore
LICENSE
README.md
datachannel.html
getusermedia.html
index.html
main.css
peerconnection.html
server.js

README.md

Installation

npm install connect serve-static

Run server

./server.js

Start the call

The call initiator (1/2):

The callee:

  • Open http://127.0.0.1:8080/peerconnection.html
  • Copy the received offer and paste it in the textbox
  • Click on "Set as SDP offer"
  • Copy the appeared text, it's the SDP answer
  • Send it to the other peer (it's up to you how to send it)

The call initiator (2/2):

  • Copy the received answer and paste it in the textbox
  • Click on "Set as SDP answer"
  • Enjoy the conversation!