test_peerConnection_twoAudioVideoStreams.html (613B)
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 10 createHTML({ 11 bug: "1091242", 12 title: "Multistream: Two audio streams, two video streams" 13 }); 14 15 runNetworkTest(function (options) { 16 const test = new PeerConnectionTest(options); 17 test.setMediaConstraints( 18 [{audio: true, video: {width: 50}}, {audio: true, video: {width: 50}}], 19 [{audio: true, video: {width: 50}}, {audio: true, video: {width: 50}}] 20 ); 21 return test.run(); 22 }); 23 </script> 24 </pre> 25 </body> 26 </html>