/webrtc

Primary LanguageJavaScript

Modified source code to the book "Programming WebRTC"

Setup

  1. mkdir certs
  2. npm run ssl-keys --keydir="../certs/" --numdays=1825
  3. Set LOCALHOST_SSL_CERT and LOCALHOST_SSL_KEY to path of the generated files from the above step, e.g. export in startup scripts. Test by echo $LOCALHOST_SSL_CERT.
  4. npm install
  5. npm start