test_peerConnection_basicAudioVideo.html (543B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <script type="application/javascript" src="pc.js"></script> 5 </head> 6 <body> 7 <pre id="test"> 8 <script type="application/javascript"> 9 createHTML({ 10 bug: "796890", 11 title: "Basic audio/video (separate) peer connection" 12 }); 13 14 var test; 15 runNetworkTest(function (options) { 16 test = new PeerConnectionTest(options); 17 test.setMediaConstraints([{audio: true}, {video: true}], 18 [{audio: true}, {video: true}]); 19 return test.run(); 20 }); 21 </script> 22 </pre> 23 </body> 24 </html>