-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (44 loc) · 1.59 KB
/
Copy pathindex.html
File metadata and controls
50 lines (44 loc) · 1.59 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
47
48
49
50
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<section>
<p>Initialization</p>
<input id="apiUrl" placeholder="apiUrl">
<input id="idInstance" placeholder="idInstance">
<input id="apiTokenInstance" placeholder="apiTokenInstance">
<button id="connectButton">connect</button>
<button id="disconnectButton" disabled>disconnect</button>
</section>
<section style="margin-top: 16px;">
<p>Outgoing call</p>
<input id="phoneNumber" placeholder="phone number" disabled>
<button id="startCallButton" disabled>start call</button>
</section>
<section>
<p>Current call</p>
<button id="endCallButton" disabled>end call</button>
</section>
<section style="margin-top: 16px;">
<audio id="remoteAudio" autoplay playsinline muted="false" style="filter: blur(30px);"></audio>
</section>
<div id="incoming-call-portal">
<section class="incoming-call-modal">
<section>
Incoming call: <span id="incoming-call-phone">79836200181</span>
</section>
<sectio>
<button class="incoming-call-reject" id="rejectCallButton">reject</button>
<button class="incoming-call-accept" id="acceptCallButton">accept</button>
</sectio>
</section>
</div>
<script type="module" src="/index.js"></script>
</body>
</html>