tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_peerConnection_offerRequiresReceiveAudio.html (503B)


      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: "850275",
     11    title: "Simple offer media constraint test with audio"
     12  });
     13 
     14  runNetworkTest(function() {
     15    var test = new PeerConnectionTest();
     16    test.setMediaConstraints([], [{audio: true}]);
     17    test.setOfferOptions({ offerToReceiveAudio: true });
     18    return test.run();
     19  });
     20 </script>
     21 </pre>
     22 </body>
     23 </html>