48730c556df2a0ac1b52ff96f258590abf76f988
[gecko.git] / test_peerConnection_restartIceNoBundleNoRtcpMux.html
blob48730c556df2a0ac1b52ff96f258590abf76f988
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: "906986",
11 title: "Renegotiation: restart ice, no bundle and disabled RTCP-Mux"
12 });
14 var test;
15 runNetworkTest(function (options) {
16 options = options || { };
17 options.bundle = false;
18 options.rtcpmux = false;
19 test = new PeerConnectionTest(options);
21 addRenegotiation(test.chain,
23 // causes a full, normal ice restart
24 function PC_LOCAL_SET_OFFER_OPTION(test) {
25 test.setOfferOptions({ iceRestart: true });
27 function PC_LOCAL_EXPECT_ICE_CHECKING(test) {
28 test.pcLocal.iceCheckingRestartExpected = true;
30 function PC_REMOTE_EXPECT_ICE_CHECKING(test) {
31 test.pcRemote.iceCheckingRestartExpected = true;
36 test.setMediaConstraints([{audio: true}, {video: true}],
37 [{audio: true}, {video: true}]);
38 test.run();
39 });
41 </script>
42 </pre>
43 </body>
44 </html>