Hopefully echoing fix

This commit is contained in:
Henry Hiles 2022-06-12 10:11:53 -04:00
parent bc319412bc
commit 4b0d3433c5

View file

@ -73,6 +73,7 @@ export const addVideoStream = (videoContainer, username, stream, isYours) => {
if (CSS.supports("::-webkit-media-controls-panel"))
video.controls = "controls"
video.addEventListener("loadedmetadata", async () => {
video.muted = true
try {
await video.play()
} catch (error) {