From 6227296022501334e70a1cb55e9c3333271d5f7a Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Sun, 26 Feb 2023 14:19:37 -0800 Subject: [PATCH] Start with go2rtc videos muted. --- src/components/live/live-go2rtc.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/live/live-go2rtc.ts b/src/components/live/live-go2rtc.ts index 0b2a6365..bc0c9044 100644 --- a/src/components/live/live-go2rtc.ts +++ b/src/components/live/live-go2rtc.ts @@ -50,6 +50,10 @@ class FrigateCardGo2RTCPlayer extends VideoRTC { hideMediaControlsTemporarily(this.video, MEDIA_LOAD_CONTROLS_HIDE_SECONDS); dispatchMediaLoadedEvent(this, this.video); }; + + // Always started muted. Media may be unmuted in accordance with user + // configuration. + this.video.muted = true; } } }