summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/webrtc/single_peerconnection.html
blob: 62c63a85c4f5bd23c185899a13dbf20781b4249b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<head><meta charset="UTF-8"></head>
<body>
<div id="Page that opens a single peerconnection"></div>
<script>
  let test = async () => {
    let pc = new RTCPeerConnection();
    await pc.setLocalDescription(await pc.createOffer({offerToReceiveAudio: true}));
  };
  test();
</script>
</body>
</html>