webrtc initial commit

This commit is contained in:
2016-02-09 19:08:07 +09:00
commit 04cda46062
44 changed files with 5180 additions and 0 deletions

21
index.html Normal file
View File

@@ -0,0 +1,21 @@
<html>
<head>
<script type="text/javascript" src="client/request.js"></script>
<script type="text/javascript" src="client/webrtc.js"></script>
</head>
<body>
<video id="localVideo" autoplay muted style="width:45%; border='3'"></video>
<video id="remoteVideo" autoplay style="width:45%; border='3'"></video>
<br />
<input type="button" id="start" onclick="start(true)" value="Connect"></input>
<script type="text/javascript">
var request = new Request();
var channel = request.getParameter('ch');
pageReady(channel);
</script>
</body>
</html>