Selecting bot_type changed to be specified in the test file

Selecting bot_type changed to be specified in the test file instead of
specify it in the running command.

Now we can write test for rtcBot that run one bot on chrome for android
and the other bot on chrome for desktop.

R=andresp@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7458 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/tools/rtcbot/test/webrtc_video_streaming.js b/webrtc/tools/rtcbot/test/webrtc_video_streaming.js
index 7b0457c..62b7056 100644
--- a/webrtc/tools/rtcbot/test/webrtc_video_streaming.js
+++ b/webrtc/tools/rtcbot/test/webrtc_video_streaming.js
@@ -24,7 +24,9 @@
     onPeerConnectionCreated);
 
   function createPeerConnection(done) {
-    this.createPeerConnection(done, test.fail);
+    this.asyncCreateTurnConfig(function(config) {
+      this.createPeerConnection(config, done, test.fail);
+    }.bind(this), test.fail);
   }
 
   function onPeerConnectionCreated(peer1, peer2) {
@@ -101,6 +103,6 @@
   }
 }
 
-test.wait( [ test.spawnBot.bind(test, "alice"),
-             test.spawnBot.bind(test, "bob") ],
+test.wait( [ test.spawnBot.bind(test, "alice", "chrome"),
+             test.spawnBot.bind(test, "bob", "android-chrome") ],
           testVideoStreaming);