dom/media/tests/mochitest/test_peerConnection_offerRequiresReceiveVideoAudio.html
author Byron Campen [:bwc] <docfaraday@gmail.com>
Wed, 19 Nov 2014 16:18:10 -0800
changeset 218816 c615927bea713d9fd197f23a8d86282d139289ab
parent 218811 960303b07c909e69db87467d0b499351d65c82af
child 219477 fa8bd3194aca6a90360994c17869845f7b7da5ac
permissions -rw-r--r--
Bug 1091242 - Part 3: Mochitest work. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jib

<!DOCTYPE HTML>
<html>
<head>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <script type="application/javascript" src="head.js"></script>
  <script type="application/javascript" src="pc.js"></script>
  <script type="application/javascript" src="templates.js"></script>
  <script type="application/javascript" src="turnConfig.js"></script>
</head>
<body>
<pre id="test">
<script type="application/javascript">
  createHTML({
    bug: "850275",
    title: "Simple offer media constraint test with video/audio"
  });

  runNetworkTest(function() {
    var test = new PeerConnectionTest();
    test.setMediaConstraints([], [{audio: true, video: true}]);
    test.setOfferOptions({ offerToReceiveVideo: true, offerToReceiveAudio: true });
    test.run();
  });
</script>
</pre>
</body>
</html>