archive
This commit is contained in:
27
shanet-webrtc/client/index.html
Executable file
27
shanet-webrtc/client/index.html
Executable file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
|
||||
<script src="webrtc.js"></script>
|
||||
<style>
|
||||
video {
|
||||
max-width: 100%;
|
||||
min-width: 100%;
|
||||
border: 1px solid black;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<video id="localVideo" autoplay muted ></video>
|
||||
<video id="remoteVideo" autoplay ></video>
|
||||
|
||||
<br />
|
||||
|
||||
<input type="button" id="start" onclick="start(true)" value="Start Video"></input>
|
||||
|
||||
<script type="text/javascript">
|
||||
pageReady();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user