2012-04-25 09:03:02 +04:00
|
|
|
To install:
|
|
|
|
Make sure node.js is installed
|
|
|
|
Unpack this
|
|
|
|
cd webrtc-demo
|
|
|
|
npm install
|
|
|
|
node web.js
|
|
|
|
|
2012-04-25 08:20:35 +04:00
|
|
|
To use:
|
|
|
|
|
2012-04-26 18:19:11 +04:00
|
|
|
Browse to http://host:3000/ to see a menu of choices
|
|
|
|
|
|
|
|
---
|
|
|
|
Browse to http://host:3000/chess for primary chess demo
|
|
|
|
URL will show http://host:3000/mozdemoa/M/N
|
2012-04-25 08:20:35 +04:00
|
|
|
|
|
|
|
Other browser should browse to http://host:3000/mozdemoc/N/M/my_ip_address
|
|
|
|
Note that N and M are reversed from what you see in callee above
|
|
|
|
|
2012-04-26 18:19:11 +04:00
|
|
|
Yes, we need a better way to get the URL for the other party...
|
|
|
|
---
|
|
|
|
Browse to http://host:3000/simple for a simple call demo
|
|
|
|
URL will show http://host:3000/mozdemod/M/N
|
2012-04-25 08:20:35 +04:00
|
|
|
|
2012-04-26 18:19:11 +04:00
|
|
|
Other browser should browse to http://host:3000/mozdemoe/N/M/my_ip_address
|
|
|
|
Note that N and M are reversed from what you see in callee above
|
|
|
|
---
|
2012-04-25 08:20:35 +04:00
|
|
|
Browse to http://host:3000/datachan for simple call+data_channels
|
|
|
|
URL will show http://host:3000/listen/M/N
|
|
|
|
|
|
|
|
Other browser should browse to http://host:3000/connect/N/M/my_ip_address
|
|
|
|
Note that N and M are reversed from what you see in the listener
|
2012-04-26 18:19:11 +04:00
|
|
|
---
|
|
|
|
Browse to http://host:3000/jsep for jsep tests
|
|
|
|
URL will show http://host:3000/mozdemojsep/M/N
|
|
|
|
--
|
|
|
|
Browse to http://host:3000/roap for ROAP tests (obsolete?)
|