mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-25 09:38:22 +03:00
add warning if ffmpeg isn't selected for reolink http streams
This commit is contained in:
parent
36a18afab1
commit
6aed830e55
@ -330,7 +330,8 @@
|
|||||||
"audioCodecRequired": "An audio stream is required to support audio detection.",
|
"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.",
|
"restreamingWarning": "Reducing connections to the camera for the record stream may increase CPU usage slightly.",
|
||||||
"brands": {
|
"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": {
|
"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."
|
"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."
|
||||||
|
|||||||
@ -490,6 +490,13 @@ function StreamIssues({
|
|||||||
message: t("cameraWizard.step4.issues.brands.reolink-rtsp"),
|
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
|
// Video codec check
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user