Change video.srcObject instead of deleting entire video element

This commit is contained in:
Rekai Musuka
2018-09-05 12:01:24 +01:00
parent 55b0f8199f
commit a861e82322
2 changed files with 18 additions and 11 deletions

View File

@@ -26,9 +26,9 @@
<div class="call-container">
<div id="remote-video-container">
<div id="video_overlays">
<video id="local-video" autoplay muted></video>
</div>
<video id="remote-video" autoplay></video>
<i class="far fa-hand-paper hand"></i>
</div>