-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (42 loc) · 1.43 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
<html>
<head>
<title>WebRTC Test</title>
</head>
<body>
<h1>WebRTC Test</h1>
<p>Connection Type</p>
<div>
<p>This is the _____ connection</p>
<select id="connection-type">
<option value="local">local</option>
<option value="remote">remote</option>
</select>
<button id="submit-type">Submit</button>
</div>
<p>Local Offer</p>
<div>
<textarea id="local-offer" disabled="true"></textarea>
<button id="submit-local" disabled="true">Submit</button>
</div>
<p>Remote Offer</p>
<div>
<textarea id="remote-offer" disabled="true"></textarea>
<button id="submit-remote" disabled="true">Submit</button>
</div>
<p>ChatArea</p>
<div>
<textarea id="chat-box-recieve" disabled="true"></textarea>
<textarea id="chat-box-send" disabled="true"></textarea>
<button id="submit-text">Submit</button>
<p style="color: green;" id="connection-open-msg"></p>
</div>
<p>File Transfer</p>
<div>
<input type="file" id="fileInput">
<button id="send-file">Send</button>
<br>
<progress id="file-progress" value="0"></progress>
</div>
<script src="dist/index.js"></script>
</body>
</html>