gecko-dev/dom/media/tests/mochitest/test_peerConnection_offerRequiresReceiveAudio.html
Jan-Ivar Bruaroey ed823deab2 Bug 1064223 - Remove support for constraint-like RTCOfferOptions predecessor. r=mt
--HG--
extra : rebase_source : 658c53861ba9ac3f887e92e68b200953bde63947
2015-08-20 21:49:09 -04:00

24 lines
496 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: "850275",
title: "Simple offer media constraint test with audio"
});
runNetworkTest(function() {
var test = new PeerConnectionTest();
test.setMediaConstraints([], [{audio: true}]);
test.setOfferOptions({ offerToReceiveAudio: true });
test.run();
});
</script>
</pre>
</body>
</html>