WebRTC adapted for Pantheon
$ sudo apt-get install chromium-browser
$ sudo apt-get install nodejs
$ npm install
$ node app.js
Download a .y4m
video file (e.g., from here) and run
$ chromium-browser --app=http://localhost:3000/sender --use-fake-device-for-media-stream --use-file-for-fake-video-capture="<file-name>.y4m"
Take note of the output of signaling server in the form of IP:port
, which will be used below.
$ chromium-browser --app=http://localhost:3000/receiver?peerAddr=IP:port