From bf29f728f03213d3923ae4befe20735b99433bfe Mon Sep 17 00:00:00 2001 From: Henry Hiles Date: Sun, 12 Jun 2022 10:13:30 -0400 Subject: [PATCH] test --- public/scripts/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/scripts/utils.js b/public/scripts/utils.js index 11b1633..cde0707 100644 --- a/public/scripts/utils.js +++ b/public/scripts/utils.js @@ -73,7 +73,9 @@ export const addVideoStream = (videoContainer, username, stream, isYours) => { if (CSS.supports("::-webkit-media-controls-panel")) video.controls = "controls" video.addEventListener("loadedmetadata", async () => { - video.muted = true + if (isYours) { + video.muted = true + } try { await video.play() } catch (error) {