summaryrefslogtreecommitdiffstats
path: root/dom/media/webrtc/tests/mochitests/test_dataChannel_basicAudio.html
blob: 06ca9562ad830ef15ec67b9d7d62d27deb5ffc6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!DOCTYPE HTML>
<html>
<head>
  <script type="application/javascript" src="pc.js"></script>
</head>
<body>
<pre id="test">
<script type="application/javascript">
  createHTML({
    bug: "796895",
    title: "Basic data channel audio connection"
  });

  var test;
  runNetworkTest(function (options) {
    test = new PeerConnectionTest(options);
    addInitialDataChannel(test.chain);
    test.setMediaConstraints([{audio: true}], [{audio: true}]);
    return test.run();
  });

</script>
</pre>
</body>
</html>