mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
62fb4d5bc8
MozReview-Commit-ID: 7Oi4rDbGv09 --HG-- extra : rebase_source : c3bf738d323f8386bbf25d63e04472cc78a29539
44 lines
1023 B
HTML
44 lines
1023 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<script type="application/javascript" src="pc.js"></script>
|
|
</head>
|
|
<body>
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
createHTML({
|
|
bug: "906986",
|
|
title: "Renegotiation: restart ice, no bundle"
|
|
});
|
|
|
|
var test;
|
|
runNetworkTest(function (options) {
|
|
options = options || { };
|
|
options.bundle = false;
|
|
test = new PeerConnectionTest(options);
|
|
|
|
addRenegotiation(test.chain,
|
|
[
|
|
// causes a full, normal ice restart
|
|
function PC_LOCAL_SET_OFFER_OPTION(test) {
|
|
test.setOfferOptions({ iceRestart: true });
|
|
},
|
|
function PC_LOCAL_EXPECT_ICE_CHECKING(test) {
|
|
test.pcLocal.expectIceChecking();
|
|
},
|
|
function PC_REMOTE_EXPECT_ICE_CHECKING(test) {
|
|
test.pcRemote.expectIceChecking();
|
|
}
|
|
]
|
|
);
|
|
|
|
test.setMediaConstraints([{audio: true}, {video: true}],
|
|
[{audio: true}, {video: true}]);
|
|
test.run();
|
|
});
|
|
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|