webrtc initial commit
This commit is contained in:
21
index.html
Normal file
21
index.html
Normal 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>
|
||||
Reference in New Issue
Block a user