Skip to content

StanfordSNR/webrtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webrtc

WebRTC adapted for Pantheon

Install dependencies

$ sudo apt-get install chromium-browser
$ sudo apt-get install nodejs

Build

$ npm install

Run signaling server

$ node app.js

Run video sender

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.

Run video receiver

$ chromium-browser --app=http://localhost:3000/receiver?peerAddr=IP:port

About

WebRTC measurement in Pantheon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published