cleaner log

This commit is contained in:
bel
2020-05-10 12:02:47 -06:00
parent ff9baa4d4c
commit 727a80a14d
3 changed files with 91 additions and 14 deletions

View File

@@ -5,6 +5,7 @@
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
-->
<script src="webrtc.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<style>
video {
width: 100%;
@@ -18,6 +19,9 @@
</head>
<body>
<div>Video<label class="switch"><input onclick="toggle('video', this)" type="checkbox"><span class="slider round"></span></label></div>
<div>Audio<label class="switch"><input onclick="toggle('audio', this)" type="checkbox"><span class="slider round"></span></label></div>
<video id="localVideo" autoplay muted ></video>
<video id="remoteVideo" autoplay ></video>