-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·75 lines (59 loc) · 2.16 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>A-Eye</title>
<!-- CDN -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<div style="height: 100vh;width:100%;background-color:#191D29" class="container-fluid">
<div class="row">
<div class="col-4">
<div style="text-align: center;padding: 20px">
<img style="height:90px;width:90px;border-radius: 50%" src="./Assets/logo.png" />
</div>
</div>
</div>
<div>
<div style="text-align: center;top:50%;left:50%;transform: translate(-50%,-50%);position: absolute;">
<h1 style="color: white">A - Eye</h1>
<h2 style="color: white"><a style="text-decoration: none" href="#main">The Watcher</a></h2>
</div>
</div>
</div>
<div id="main" style="height: 100vh;width:100%;">
<div>
<h1>
Live Streaming
</h1>
<!-- <p>App id : <input type="text" id="app-id" value=""></p>-->
<button id="start">Connect</button>
<div style="margin-top:40px">
<h4>My Streaming :</h4>
<div id="me"></div>
</div>
<h4>Other WebCam Streaming :</h4>
<div id="remote-container">
</div>
</div>
</div>
<script src="https://cdn.agora.io/sdk/release/AgoraRTCSDK-3.0.0.js"></script>
<script src="scripts/script.js"></script>
<script>
$('#streamId').click(function () {
$('#streamId').css({
position: 'fixed',
top: 0,
right: 0,
bottom: 0,
left: 0,
zIndex: 999
});
});
</script>
</body>
</html>