-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (35 loc) · 1.58 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
<!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>WebRTC Demo App by developerSharif</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="head">
<h2>WebRTC Demo App</h2> Developed! by <a href="https://github.com/developerSharif" target="_blank">Sharif</a> <br> <button id="menu"><i class="fa-solid fa-plus"></i> Create Link</button> <br>
</div>
<div id="dashboard" class="hidden">
<div>
<input class="form-control" type="text" placeholder="Room Link" readonly id="sdpOfferLink"> <button id="copy">Copy</button>
</div>
<button type="button" id="createLink">
Create Chat Link
</button>
</div>
<div id="controls" class="hidden">
<button id="muteButton"><i class="fa-solid fa-microphone"></i></button>
<button id="videoButton"><i class="fa-solid fa-video"></i></i></button>
<button id="closeChat"><i class="fa-solid fa-phone"></i></i></button>
</div>
<div id="app" class="hidden">
<div id="streams">
<video autoplay id="localVideo"></video>
<video autoplay id="remoteVideo"></video>
</div>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>