Start with go2rtc videos muted.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user