WebRTC-Example/client/index.html

18 lines
463 B
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
<script type="module" src="webrtc.js"></script>
</head>
<body>
<video id="localVideo" autoplay muted style="width:40%;"></video>
<video id="remoteVideo" autoplay style="width:40%;"></video>
<br />
<button id="host">Host</button>
<button id="connect">Connect</button>
</body>
</html>