From f9ae67baf7d0d89348fa5bb34bb0e4d9baef254b Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Thu, 25 Jan 2024 23:39:08 +0000 Subject: [PATCH] stream valchedrym cameras over internet instead of tailscaale to reduce cpu usage; yes rtsp is not safe but that is the best i have so far [ci skip] --- modules/kubernetes/frigate/main.tf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/kubernetes/frigate/main.tf b/modules/kubernetes/frigate/main.tf index 3c917b62..67948c55 100644 --- a/modules/kubernetes/frigate/main.tf +++ b/modules/kubernetes/frigate/main.tf @@ -43,7 +43,8 @@ resource "kubernetes_config_map" "config" { enabled: true ffmpeg: inputs: - - path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/101 # <----- The stream you want to use for detection + #- path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/101 # <----- The stream you want to use for detection + - path: rtsp://${var.valchedrym_camera_credentials}@valchedrym.ddns.net:554/Streaming/Channels/101 # <----- The stream you want to use for detection detect: enabled: True # <---- disable detection until you have a working camera feed width: 704 # <---- update for your camera's resolution @@ -62,7 +63,8 @@ resource "kubernetes_config_map" "config" { enabled: true ffmpeg: inputs: - - path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/201 # <----- The stream you want to use for detection + #- path: rtsp://${var.valchedrym_camera_credentials}@192.168.0.11:554/Streaming/Channels/201 # <----- The stream you want to use for detection + - path: rtsp://${var.valchedrym_camera_credentials}@valchedrym.ddns.net:554/Streaming/Channels/201 # <----- The stream you want to use for detection detect: enabled: False # <---- disable detection until you have a working camera feed width: 704 # <---- update for your camera's resolution