mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Fix check
This commit is contained in:
parent
05f964bb14
commit
d10990140f
@ -307,7 +307,7 @@ class AudioEventMaintainer(threading.Thread):
|
|||||||
audio = np.frombuffer(chunk, dtype=np.int16)
|
audio = np.frombuffer(chunk, dtype=np.int16)
|
||||||
self.detect_audio(audio)
|
self.detect_audio(audio)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error("Error reading audio data from ffmpeg process: {e}")
|
self.logger.error(f"Error reading audio data from ffmpeg process: {e}")
|
||||||
log_and_restart()
|
log_and_restart()
|
||||||
|
|
||||||
def run(self) -> None:
|
def run(self) -> None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user