summaryrefslogtreecommitdiffstats
path: root/browser/modules/test/browser/file_webrtc.html
blob: 1c75f7c75b075bfe6afa97aa59818a53fa79c06d (plain)
1
2
3
4
5
6
7
8
9
10
11
<html>
<body onload="start()">
<script>
let stream;
async function start()
{
  stream = await navigator.mediaDevices.getUserMedia({ audio: true, video: true })
}
</script>
</body>
</html>