-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ejs
39 lines (34 loc) · 1.45 KB
/
index.ejs
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>LukeWebRTC</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
</head>
<body>
<section class="make-center">
<input type="text" id="room-id" value="abcdef" autocorrect=off autocapitalize=off size=20>
<button id="open-room">Open Room</button>
<button id="join-room">Join Room</button>
<button id="open-or-join-room">Auto Open Or Join Room</button>
<br><br>
<input type="text" id="input-text-chat" placeholder="Enter Text Chat" disabled>
<button id="share-file" disabled>Share File</button>
<br><br>
<button id="btn-leave-room" disabled>Leave /or close the room</button>
<div id="room-urls" style="text-align: center;display: none;background: #F1EDED;margin: 15px -10px;border: 1px solid rgb(189, 189, 189);border-left: 0;border-right: 0;"></div>
<div id="chat-container">
<div id="file-container"></div>
<div class="chat-output"></div>
</div>
<div id="videos-container"></div>
</section>
<script src="/js/dist/RTCMultiConnection.js"></script>
<script src="/js/dev/adapter.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="/js/dev/getHTMLMediaElement.js"></script>
<script src="/js/dev/FileBufferReader.js"></script>
<script src="/js/index.js"></script>
<script src="https://cdn.webrtc-experiment.com/common.js"></script>
</body>
</html>