generated from akshatvg/template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
111 lines (98 loc) · 5.07 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Tags For SEO -->
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Many to many, live video streaming using the Agora Web SDK NG.">
<meta name="keywords" content="Agora, RTC, Live Stream, Live Streaming, SDK, CDN, Agora.io, NG, Many to Many">
<meta name="author" content="Akshat Gupta">
<meta name="copyright" content="Akshat Gupta">
<meta name="language" content="en">
<meta name="url" content="https://m2m-live.akshatvg.com">
<meta name="category" content="Real Time Communication">
<meta name="coverage" content="Worldwide">
<meta name="rating" content="General">
<meta name="og:phone_number" content="+919600093179">
<meta name="og:country-name" content="India, USA, China">
<meta name="og:region" content="Delhi, Chennai, Mumbai, Vellore, Kolkatta, Bangalore, Gurgaon, Los Angeles, Chicago">
<meta name="og:site_name" content="Many to Many Live Streaming || Agora Web SDK NG">
<meta property="og:type" content="website">
<meta property="og:title" content="Many to Many Live Streaming || Agora Web SDK NG">
<meta property="og:description" content="Many to many, live video streaming using the Agora Web SDK NG.">
<meta property="og:url" content="https://m2m-live.akshatvg.com">
<meta name="theme-color" content="#2F3FB0">
<meta property="og:site_name" content="Many to Many Live Streaming || Agora Web SDK NG">
<meta name="twitter:card" content="website">
<meta name="twitter:site" content="Many to Many Live Streaming || Agora Web SDK NG">
<meta name="twitter:title" content="Many to Many Live Streaming || Agora Web SDK NG">
<meta property="og:image" itemprop="image" content="assets/img/favicon.png">
<meta name="twitter:description" content="Many to many, live video streaming using the Agora Web SDK NG.">
<meta name="twitter:creator" content="@akshatvg">
<meta itemprop="name" content="Many to Many Live Streaming || Agora Web SDK NG">
<meta itemprop="description" content="Many to many, live video streaming using the Agora Web SDK NG.">
<link rel="canonical" href="https://m2m-live.akshatvg.com">
<title>Many to Many Live Streaming || Agora Web SDK NG</title>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
<link rel="stylesheet" href="assets/css/index.css">
<link rel="icon" href="assets/img/favicon.png" type="image/png">
<link rel="apple-touch-icon" href="assets/img/apple-touch-icon.png" type="image/png">
</head>
<body>
<!-- Title -->
<div class="container-fluid banner">
<p class="banner-text">Live Streaming</p>
</div>
<div class="container">
<form id="join-form" name="join-form" class="mt-4">
<!-- Input Field -->
<div class="row join-info-group">
<div class="col-sm">
<p class="join-info-text">App ID</p>
<input id="appid" type="text" placeholder="Enter Agora App ID" required class="form-control">
</div>
<div class="col-sm">
<p class="join-info-text">Channel</p>
<input id="channel" type="text" placeholder="Enter Channel Name" required class="form-control">
</div>
</div>
<!-- UI Controls -->
<div class="button-group mt-3">
<button id="host-join" type="submit" class="btn btn-live btn-sm">Join as Host</button>
<button id="audience-join" type="submit" class="btn btn-live btn-sm">Join as Audience</button>
<button id="mic-btn" type="button" class="btn btn-live btn-sm" disabled>
Mute Audio
</button>
<button id="video-btn" type="button" class="btn btn-live btn-sm" disabled>
Mute Video
</button>
<button id="leave" type="button" class="btn btn-live btn-sm" disabled>Leave</button>
</div>
</form>
<!-- Streams -->
<div class="row video-group">
<div class="col">
<p id="local-player-name" class="player-name"></p>
<div id="local-player" class="player"></div>
</div>
<div class="w-100"></div>
<div class="col">
<div id="remote-playerlist"></div>
</div>
</div>
</div>
<!-- Scripts -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous">
</script>
<script src="https://download.agora.io/sdk/release/AgoraRTC_N.js"></script>
<script src="assets/js/index.js"></script>
</body>
</html>