From 6aed830e557cc516dd346cf434f4132788802ca0 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 11 Dec 2025 13:38:19 -0600 Subject: [PATCH] add warning if ffmpeg isn't selected for reolink http streams --- web/public/locales/en/views/settings.json | 3 ++- web/src/components/settings/wizard/Step4Validation.tsx | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/web/public/locales/en/views/settings.json b/web/public/locales/en/views/settings.json index e9fb17015..2adcc53ff 100644 --- a/web/public/locales/en/views/settings.json +++ b/web/public/locales/en/views/settings.json @@ -330,7 +330,8 @@ "audioCodecRequired": "An audio stream is required to support audio detection.", "restreamingWarning": "Reducing connections to the camera for the record stream may increase CPU usage slightly.", "brands": { - "reolink-rtsp": "Reolink RTSP is not recommended. Enable HTTP in the camera's firmware settings and restart the wizard." + "reolink-rtsp": "Reolink RTSP is not recommended. Enable HTTP in the camera's firmware settings and restart the wizard.", + "reolink-http": "Reolink HTTP streams should use FFmpeg for better compatibility. Enable 'Use stream compatibility mode' for this stream." }, "dahua": { "substreamWarning": "Substream 1 is locked to a low resolution. Many Dahua / Amcrest / EmpireTech cameras support additional substreams that need to be enabled in the camera's settings. It is recommended to check and utilize those streams if available." diff --git a/web/src/components/settings/wizard/Step4Validation.tsx b/web/src/components/settings/wizard/Step4Validation.tsx index 628b40a5b..55e0db2c0 100644 --- a/web/src/components/settings/wizard/Step4Validation.tsx +++ b/web/src/components/settings/wizard/Step4Validation.tsx @@ -490,6 +490,13 @@ function StreamIssues({ message: t("cameraWizard.step4.issues.brands.reolink-rtsp"), }); } + + if (streamUrl.startsWith("http://") && !stream.useFfmpeg) { + result.push({ + type: "warning", + message: t("cameraWizard.step4.issues.brands.reolink-http"), + }); + } } // Video codec check