dom/media/tests/mochitest/test_peerConnection_offerRequiresReceiveVideoAudio.html
author Byron Campen [:bwc] <docfaraday@gmail.com>
Wed, 19 Nov 2014 16:18:10 -0800
changeset 218776 8d0653eb85ab002399a3b288807e901153b75d06
parent 195266 870f07d03e2a857dac2df44aad6e9f41203cd6ab
child 218811 960303b07c909e69db87467d0b499351d65c82af
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>