Adding webrtc_video_streaming test

This test is streaming video and audio between two bots using webrtc js api.

R=andresp@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7261 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
houssainy@google.com
2014-09-22 13:52:39 +00:00
parent c570761288
commit 07ca949346
3 changed files with 170 additions and 19 deletions

View File

@ -17,10 +17,10 @@ var vm = require('vm');
var BotManager = require('./botmanager.js');
function Test(botType) {
// Make the test fail if not completed in 3 seconds.
// TODO(houssainy) set the time out.
this.timeout_ = setTimeout(
this.fail.bind(this, "Test timeout!"),
5000);
10000);
this.botType_ = botType;
}
@ -82,4 +82,4 @@ function runTest(testfile) {
script.runInNewContext({ test: new Test(process.argv[2]) });
}
runTest("./test/simple_offer_answer.js");
runTest("./test/webrtc_video_streaming.js");