webrtc/test/sanity_check/README
phoglund@webrtc.org 754626b5ea Fixed the sanity_check and started using the new webrtc_test.html file. Added capability for xvfb testing.
The purpose for the xvfb mode is to be able to run tests on the windowless environment on the Chromebot. Given the right input video, we can then write a relatively simple algorithm to analyze the screenshots and thereby conclude that video is playing.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/447004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1890 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-15 09:40:23 +00:00

25 lines
1.0 KiB
Plaintext

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
- a built peerconnection_server
- a sufficiently new google-chrome binary with WebRTC support.
To build peerconnection_server, refer to peerconnection_server/README. This
script will assume you have a directory structure like so:
- 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.