From 14821d5f818db724604ae91e69f8f4460acae588 Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Fri, 10 Jan 2025 10:32:32 -0600
Subject: [PATCH] update camera streaming dialog
---
.../settings/CameraStreamingDialog.tsx | 145 +++++++++++-------
1 file changed, 89 insertions(+), 56 deletions(-)
diff --git a/web/src/components/settings/CameraStreamingDialog.tsx b/web/src/components/settings/CameraStreamingDialog.tsx
index 990c6850c..d4e234362 100644
--- a/web/src/components/settings/CameraStreamingDialog.tsx
+++ b/web/src/components/settings/CameraStreamingDialog.tsx
@@ -175,64 +175,97 @@ export function CameraStreamingDialog({
- {Object.entries(config?.cameras[camera].live.streams).length > 1 && (
-
-
-
+ {!isRestreamed && (
+
+
+
+
+
Restreaming is not enabled for this camera.
+
+
+
+
+ Info
+
+
+
+ Set up go2rtc for additional live view options and audio for
+ this camera.
+
+
+ Read the documentation{" "}
+
+
+
+
+
+
)}
+ {isRestreamed &&
+ Object.entries(config?.cameras[camera].live.streams).length > 0 && (
+
+
+
+
+ )}