tor-browser

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

test_peerConnection_basicWindowshare.html (528B)


      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: "1038926",
     11    title: "Basic windowshare-only peer connection"
     12  });
     13 
     14  runNetworkTest(function (options) {
     15    const test = new PeerConnectionTest(options);
     16    const constraints = {
     17      video: { mediaSource: "window" },
     18    };
     19    test.setMediaConstraints([constraints], []);
     20    return test.run();
     21  });
     22 </script>
     23 </pre>
     24 </body>
     25 </html>