Start with go2rtc videos muted.

This commit is contained in:
Dermot Duffy
2023-02-26 14:19:37 -08:00
parent cec435fae2
commit 6227296022
+4
View File
@@ -50,6 +50,10 @@ class FrigateCardGo2RTCPlayer extends VideoRTC {
hideMediaControlsTemporarily(this.video, MEDIA_LOAD_CONTROLS_HIDE_SECONDS); hideMediaControlsTemporarily(this.video, MEDIA_LOAD_CONTROLS_HIDE_SECONDS);
dispatchMediaLoadedEvent(this, this.video); dispatchMediaLoadedEvent(this, this.video);
}; };
// Always started muted. Media may be unmuted in accordance with user
// configuration.
this.video.muted = true;
} }
} }
} }