test_dataChannel_basicAudioVideo.html (577B)
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: "796891", 11 title: "Basic data channel audio/video connection" 12 }); 13 14 var test; 15 runNetworkTest(function (options) { 16 test = new PeerConnectionTest(options); 17 addInitialDataChannel(test.chain); 18 test.setMediaConstraints([{audio: true}, {video: true}], 19 [{audio: true}, {video: true}]); 20 return test.run(); 21 }); 22 23 </script> 24 </pre> 25 </body> 26 </html>