-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (52 loc) · 2.03 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
<!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>
<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>