-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (88 loc) · 3.37 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="Agora Presentation mode using Agora Web Sdk 3.x">
<meta name="keywords" content="HTML, CSS, JavaScrip, Live Broadcasting, Video">
<meta name="author" content="Aditya Rathore">
<meta charset="UTF-8" />
<title>Agora SDK Tutorial</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="https://unpkg.com/@tabler/icons@latest/iconfont/tabler-icons.min.css">
</head>
<body>
<div class="flexContainer">
<div class="left-pane">
<div class="logoSmall">
<img class="logoElement" src="assets/agoraLogo.png"></img>
</div>
<span class="headingText">
Join or start a stream!
</span>
<input type="text" id="userName" placeholder="Username" value="JohnDoe123">
<input type="text" id="ChannelName" placeholder="ChannelName" value="DefaultChannel">
<input type="text" id="appid" placeholder="App Id">
<input type="text" id="token" placeholder="token (optional)">
<button class="submitButton" id="stream">Stream</button>
<button class="submitButton" id="join">Join</button>
<br>
<button class="submitButton" id="leave"
style="background-color: #ff0000;width: 100px;margin-top: 10px;">Leave</button>
<br>
<div>
<br/>
<input type="color" value="#6e6139" id="color"/>
<label>Key color</label>
<input type="number" value ="50" id="offset"/>
<label>Tolerance</label>
<!-- <div> -->
<!-- Lower Limit -->
<!-- <br/> -->
<!-- Red -->
<!-- <br/> -->
<!-- <input type="range" min="1" max="255" value="50" class="slider" id="redLL"> -->
<!-- <br/> -->
<!-- Blue -->
<!-- <br/> -->
<!-- <input type="range" min="1" max="255" value="50" class="slider" id="blueLL"> -->
<!-- <br/> -->
<!-- Green -->
<!-- <br/> -->
<!-- <input type="range" min="1" max="255" value="50" class="slider" id="greenLL"> -->
<!-- <br/> -->
<!-- Upper Limit -->
<!-- <br/> -->
<!-- Red -->
<!-- <br/> -->
<!-- <input type="range" min="1" max="255" value="50" class="slider" id="redUL"> -->
<!-- <br/> -->
<!-- Blue -->
<!-- <br/> -->
<!-- <input type="range" min="1" max="255" value="50" class="slider" id="blueUL"> -->
<!-- <br/> -->
<!-- Green -->
<!-- <br/> -->
<!-- <input type="range" min="1" max="255" value="50" class="slider" id="greenUL"> -->
<!-- </div> -->
</div>
</div>
<div class="right-pane">
<div class="right-container">
<div id="SelfStream" style="transform: rotateY(180deg);">
<div style="transform: rotateY(180deg)">
<span id="labelText"> Self Stream </span>
</div>
</div>
<div id="remoteStream" class="remoteStream">
<div>
<span id="labelText" > Remote Stream </span>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.agora.io/sdk/release/AgoraRTCSDK-3.4.0.js"></script>
<script src="./agora-rtc.js"></script>
</body>
</html>