mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 08:35:21 +03:00
remove check
This commit is contained in:
parent
f66fdbb0cc
commit
3f053c03a1
@ -437,12 +437,7 @@ export default function LiveCameraView({
|
||||
onClick={() => {
|
||||
setMic(!mic);
|
||||
// Turn on audio when enabling the mic if audio is currently off
|
||||
if (
|
||||
!mic &&
|
||||
!audio &&
|
||||
supportsAudioOutput &&
|
||||
preferredLiveMode !== "jsmpeg"
|
||||
) {
|
||||
if (!mic && !audio) {
|
||||
setAudio(true);
|
||||
}
|
||||
}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user