Add go2rtc streams to settings UI (#22531)

* Add go2rtc settings section

- create separate settings section for all go2rtc streams
- extract credentials mask code into util
- create ffmpeg module utility
- i18n

* add camera config updater topic for live section

to support adding go2rtc streams after configuring a new one via the UI

* clean up

* tweak delete button color for consistency

* tweaks
This commit is contained in:
Josh Hawkins
2026-03-19 10:33:42 -06:00
committed by GitHub
parent c93dad9bd9
commit e2bfa26719
8 changed files with 1246 additions and 43 deletions
+7
View File
@@ -47,6 +47,7 @@ import ProfilesView from "@/views/settings/ProfilesView";
import FrigatePlusSettingsView from "@/views/settings/FrigatePlusSettingsView";
import MediaSyncSettingsView from "@/views/settings/MediaSyncSettingsView";
import RegionGridSettingsView from "@/views/settings/RegionGridSettingsView";
import Go2RtcStreamsSettingsView from "@/views/settings/Go2RtcStreamsSettingsView";
import SystemDetectionModelSettingsView from "@/views/settings/SystemDetectionModelSettingsView";
import {
SingleSectionPage,
@@ -132,6 +133,7 @@ const allSettingsViews = [
"systemDetectorHardware",
"systemDetectionModel",
"systemMqtt",
"systemGo2rtcStreams",
"integrationSemanticSearch",
"integrationGenerativeAi",
"integrationFaceRecognition",
@@ -414,6 +416,10 @@ const settingsGroups = [
{
label: "system",
items: [
{
key: "systemGo2rtcStreams",
component: Go2RtcStreamsSettingsView,
},
{
key: "systemDetectorHardware",
component: SystemDetectorHardwareSettingsPage,
@@ -562,6 +568,7 @@ const ENRICHMENTS_SECTION_MAPPING: Record<string, SettingsType> = {
};
const SYSTEM_SECTION_MAPPING: Record<string, SettingsType> = {
go2rtc_streams: "systemGo2rtcStreams",
database: "systemDatabase",
mqtt: "systemMqtt",
tls: "systemTls",