test_peerConnection_basicAudioVideoNoBundleNoRtcpMux.html (1252B)
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: "1167443", 11 title: "Basic audio & video call with disabled bundle and disabled RTCP-Mux" 12 }); 13 14 var test; 15 runNetworkTest(function (options) { 16 options = options || { }; 17 options.bundle = false; 18 options.rtcpmux = false; 19 test = new PeerConnectionTest(options); 20 test.chain.replace("PC_LOCAL_VERIFY_SDP_AFTER_END_OF_TRICKLE", [ 21 function PC_LOCAL_REQUIRE_SDP_AFTER_END_OF_TRICKLE(test) { 22 return test.pcLocal.endOfTrickleSdp .then(sdp => 23 sdputils.checkSdpAfterEndOfTrickle(sdp, test.testOptions, test.pcLocal.label)); 24 } 25 ]); 26 test.chain.replace("PC_REMOTE_VERIFY_SDP_AFTER_END_OF_TRICKLE", [ 27 function PC_REMOTE_REQUIRE_SDP_AFTER_END_OF_TRICKLE(test) { 28 return test.pcRemote.endOfTrickleSdp .then(sdp => 29 sdputils.checkSdpAfterEndOfTrickle(sdp, test.testOptions, test.pcRemote.label)); 30 } 31 ]); 32 test.setMediaConstraints([{audio: true}, {video: true}], 33 [{audio: true}, {video: true}]); 34 return test.run(); 35 }); 36 </script> 37 </pre> 38 </body> 39 </html>