forked from attenlabs/saa-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (41 loc) · 1.31 KB
/
Copy pathindex.html
File metadata and controls
46 lines (41 loc) · 1.31 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SAA + LiveKit demo</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="root">
<header>
<h1>SAA + LiveKit</h1>
<span id="status" class="status">disconnected</span>
</header>
<div id="prediction" data-class="0">
<div id="class-label">--</div>
<div id="conf-row">
<div id="conf-bar"><div id="conf-fill"></div></div>
<span id="conf-num">0%</span>
</div>
<div id="meta">
<span id="vad">VAD: off</span>
<span id="faces">faces: 0</span>
</div>
</div>
<div id="pred-buffer-wrap">
<div class="pred-buffer-title">Recent predictions</div>
<ul id="pred-buffer"></ul>
</div>
<div id="video-container">
<video id="local-video" autoplay muted playsinline></video>
</div>
<div class="controls">
<button id="btn-start">Start</button>
<button id="btn-stop" disabled>Stop</button>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/livekit-client/dist/livekit-client.umd.min.js"></script>
<script type="module" src="app.js"></script>
</body>
</html>