Skip to content

NVR with realtime local object detection for IP cameras

fix writing to birdseye restream buffer (#15052)

Nicolas Mowen0b203a367308
diff --git a/frigate/output/birdseye.py b/frigate/output/birdseye.py
index 6d6391f146..00f17c8f4d 100644
--- a/frigate/output/birdseye.py
+++ b/frigate/output/birdseye.py
@@ -740,9 +740,10 @@ class Birdseye:
)
self.birdseye_manager = BirdsEyeFrameManager(config, stop_event)
self.config_subscriber = ConfigSubscriber("config/birdseye/")
+ self.frame_manager = SharedMemoryFrameManager()
if config.birdseye.restream:
- self.birdseye_buffer = SharedMemoryFrameManager().create(
+ self.birdseye_buffer = self.frame_manager.create(
"birdseye",
self.birdseye_manager.yuv_shape[0] * self.birdseye_manager.yuv_shape[1],
)