diff --git a/web/src/types/live.ts b/web/src/types/live.ts index f5ad9e243..ee4067079 100644 --- a/web/src/types/live.ts +++ b/web/src/types/live.ts @@ -33,5 +33,5 @@ export type LiveStreamMetadata = { export type LivePlayerError = "stalled" | "startup" | "mse-decode"; -export const LiveViewModes = ["auto", "static", "continuous"] as const +export const LiveViewModes = ["auto", "static", "continuous"] as const; export type LiveViewMode = (typeof LiveViewModes)[number]; diff --git a/web/src/views/live/LiveDashboardView.tsx b/web/src/views/live/LiveDashboardView.tsx index 4149a9529..657cf9873 100644 --- a/web/src/views/live/LiveDashboardView.tsx +++ b/web/src/views/live/LiveDashboardView.tsx @@ -28,7 +28,7 @@ import DraggableGridLayout from "./DraggableGridLayout"; import { IoClose } from "react-icons/io5"; import { LuLayoutDashboard } from "react-icons/lu"; import { cn } from "@/lib/utils"; -import {LivePlayerError, LivePlayerMode, LiveViewMode} from "@/types/live"; +import { LivePlayerError, LivePlayerMode, LiveViewMode } from "@/types/live"; import { FaCompress, FaExpand } from "react-icons/fa"; import { useResizeObserver } from "@/hooks/resize-observer"; diff --git a/web/src/views/settings/GeneralSettingsView.tsx b/web/src/views/settings/GeneralSettingsView.tsx index cd9e03641..eca644e5b 100644 --- a/web/src/views/settings/GeneralSettingsView.tsx +++ b/web/src/views/settings/GeneralSettingsView.tsx @@ -62,16 +62,15 @@ export default function GeneralSettingsView() { const [alertVideos, setAlertVideos] = usePersistence("alertVideos", true); return ( - <> + <>
Live stream behavior:
Auto mode (default) will begin streaming when activity is
- detected.
Static mode will update camera images on the live dashboard once per minute.
Continuous mode
- will stream cameras regardless of activity. Caution: Continuous mode will increase bandwidth usage and may affect performance.
+ Live stream behavior:
+
+ Auto mode (default) will begin streaming when activity is
+ detected.
+
+ Static mode will update camera images on the live dashboard once
+ per minute.
+
+ Continuous mode will stream cameras regardless of activity.
+ Caution: Continuous mode will increase bandwidth usage and may
+ affect performance.
+
The day that the weeks of the review calendar begin on.
+The day that the weeks of the review calendar begin on.
+