diff --git a/web/src/views/settings/UiSettingsView.tsx b/web/src/views/settings/UiSettingsView.tsx index 6386a3cad..e3b5c8c7a 100644 --- a/web/src/views/settings/UiSettingsView.tsx +++ b/web/src/views/settings/UiSettingsView.tsx @@ -46,6 +46,25 @@ export default function UiSettingsView() { }); }, [config]); + const clearStreamingSettings = useCallback(async () => { + if (!config) { + return []; + } + + await delData(`streaming-settings`) + .then(() => { + toast.success(`Cleared streaming settings for all camera groups.`, { + position: "top-center", + }); + }) + .catch((error) => { + toast.error( + `Failed to clear camera groups streaming settings: ${error.response.data.message}`, + { position: "top-center" }, + ); + }); + }, [config]); + useEffect(() => { document.title = "General Settings - Frigate"; }, []); @@ -84,11 +103,15 @@ export default function UiSettingsView() { Automatic Live View -
Automatically switch to a camera's live view when activity is detected. Disabling this option causes static camera images on - the Live dashboard to only update once per minute. + the your dashboards to only update once per minute.{" "} + + This is a global setting but can be overridden on each + camera in camera groups only. +
By default, recent alerts on the Live dashboard play as small looping videos. Disable this option to only show a static @@ -114,10 +137,10 @@ export default function UiSettingsView() {
The layout of cameras in a camera group can be dragged/resized. The positions are stored in your browser's @@ -133,6 +156,24 @@ export default function UiSettingsView() {
+ Streaming settings for each camera group are stored in your + browser's local storage. +
+