-
Notifications
You must be signed in to change notification settings - Fork 0
/
answering.html
42 lines (34 loc) · 1.09 KB
/
answering.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>answering webrtc without signaling server demo</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="common.js"></script>
<script src="answering.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<h1>webrtc without signaling server demo.</h1>
<div id="chatlog" class="chatlog"></div>
<input id="chatinput" type="text" placeholder="type here" disabled>
<button id="chatbutton" onclick="chatbuttonclick()" disabled>send</button>
<p>
answering to a connection offer from a peer
</p>
<p>
please wait for peer to give offer and paste it below
</p>
<textarea id="textoffer"
placeholder="please paste offer from peer"></textarea>
<button id="buttonofferpasted" onclick="clickofferpasted()">offer pasted</button>
<span id="spananswer" class="invisible">
<p>
please send following answer to peer
</p>
<textarea id="textanswer" readonly
placeholder="please wait a few seconds"></textarea>
</span>
</body>
</html>