2011-10-14 15:56:26 +02:00
|
|
|
This test will pop up a browser with two tabs, and will run video from
|
|
|
|
one tab to the other tab, across the local network interface.
|
|
|
|
|
|
|
|
In order to run this test, you need to have:
|
|
|
|
|
|
|
|
- an installed lighttpd in your $PATH
|
2012-03-15 10:40:23 +01:00
|
|
|
- a built peerconnection_server
|
|
|
|
- a sufficiently new google-chrome binary with WebRTC support.
|
2011-10-14 15:56:26 +02:00
|
|
|
|
2012-03-15 10:40:23 +01:00
|
|
|
To build peerconnection_server, refer to peerconnection_server/README. This
|
|
|
|
script will assume you have a directory structure like so:
|
2011-10-14 15:56:26 +02:00
|
|
|
|
2012-03-15 10:40:23 +01:00
|
|
|
- webrtc/trunk/
|
|
|
|
- peerconnection/trunk
|
|
|
|
|
|
|
|
That is, the script assumes it will find a peerconnection_server binary in
|
|
|
|
../../../../peerconnection/out/Debug/ relative to the sanity check
|
|
|
|
directory. If this doesn't suit you, feel free to change the script locally.
|
|
|
|
|
|
|
|
You need to run the script from the test/sanity_check directory. The first time
|
|
|
|
you run it, you will be asked to choose a search engine. Additionally, you will
|
|
|
|
have to let Chrome access your webcam by accepting the notice at the top.
|
|
|
|
|
|
|
|
This script uses the webrtc_test.html code, which is described by its own
|
|
|
|
README in the www/html directory.
|