mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 08:32:18 +03:00
Tweaks (#23638)
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
* docs tweaks * show reolink warning when using probe path in camera wizard * note ffmpeg 8 default * update links * add faq about false positives * tweak plus language * Recommend OpenVINO uses YOLOv9 by default * add mse/rtc live view faq --------- Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
co-authored by
Nicolas Mowen
parent
279dcf9bca
commit
455b8687e8
@@ -202,11 +202,31 @@ export default function Step2ProbeOrSnapshot({
|
||||
const candidateUris = (response.data.rtsp_candidates || [])
|
||||
.filter((c: { source: string }) => c.source === "GetStreamUri")
|
||||
.map((c: { uri: string }) => c.uri);
|
||||
onUpdate({
|
||||
|
||||
const update: Partial<WizardFormData> = {
|
||||
probeMode: true,
|
||||
probeCandidates: candidateUris,
|
||||
candidateTests: {},
|
||||
});
|
||||
};
|
||||
|
||||
const manufacturer: string = response.data.manufacturer || "";
|
||||
if (
|
||||
manufacturer.toLowerCase().includes("reolink") &&
|
||||
wizardData.host &&
|
||||
wizardData.username &&
|
||||
wizardData.password
|
||||
) {
|
||||
const protocol = await detectReolinkCamera(
|
||||
wizardData.host,
|
||||
wizardData.username,
|
||||
wizardData.password,
|
||||
);
|
||||
if (protocol === "http-flv") {
|
||||
update.brandTemplate = "reolink";
|
||||
}
|
||||
}
|
||||
|
||||
onUpdate(update);
|
||||
} else {
|
||||
setProbeError(response.data?.message || "Probe failed");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user