SHM tweaks (#15274)

* Use env var to control max number of frames

* Handle type

* Fix frame_name not being sent

* Formatting
This commit is contained in:
Nicolas Mowen
2024-12-01 10:39:35 -06:00
committed by GitHub
parent 5802a66469
commit 002fdeae67
3 changed files with 10 additions and 2 deletions
+2
View File
@@ -13,6 +13,8 @@ FRIGATE_LOCALHOST = "http://127.0.0.1:5000"
PLUS_ENV_VAR = "PLUS_API_KEY"
PLUS_API_HOST = "https://api.frigate.video"
SHM_FRAMES_VAR = "SHM_MAX_FRAMES"
# Attribute & Object constants
DEFAULT_ATTRIBUTE_LABEL_MAP = {