-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (47 loc) · 1.18 KB
/
index.html
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
html {
background-color: #282A37;
color: #fff;
}
a {
color: #FFC109 !important;
}
p {
width: 400px;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
li {
margin-bottom: 20px;
}
</style>
</head>
<body>
<button id="start" type="button">Start</button>
<button disabled="disabled" id="stop" type="button">Stop</button>
<select id="inputs">
<option value="">-- Select Input --</option>
</select>
<p>
Devices cannot be enumerated without permission. If you want to
test different inputs, refresh after testing with the default audio input
(i.e refresh after having granted permissions)
</p>
<button id="ask">Request Permission</button>
<p>
<code>blah/listen</code> will ask for permission, but permission can be requested
preemptively with the <code>blah/request-permission</code> function.
</p>
<h2>Downloads</h2>
<ul id="downloads">
</ul>
<script src="out/main.js" type="text/javascript"></script>
</body>
</html>