-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (39 loc) · 1.48 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
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Video chat demo">
<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1, maximum-scale=1">
<meta itemprop="description" content="Video chat demo">
<meta itemprop="name" content="Video chat demo">
<meta name="mobile-web-app-capable" content="yes">
<meta id="theme-color" name="theme-color" content="#fafafa">
<base target="_blank">
<title>Video chat demo</title>
<link href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="main.css">
</head>
<body>
<div id="container">
<h1>Video chat demo</h1>
<div class="row">
<div class="part">
<h2>Your id is <span id="localId"></span></h2>
<video id="local" autoplay="" muted=""></video>
</div>
<div class="part fr">
<h2>Enter your peer id <input id="remoteId" type="number"/></h2>
<video id="remote" autoplay=""></video>
</div>
</div>
<div class="buttons">
<button id="callButton" disabled="disabled">Call</button>
<button id="hangupButton" disabled="disabled">Hang Up</button>
</div>
<div id="console">
</div>
</div>
<script src="/socket.io.js"></script>
<script src="adapter.js"></script>
<script src="app.js"></script>
</body>
</html>