@@ -331,7 +331,7 @@ export default function Step3Validation({
- {t("cameraWizard.step3.ffmpegModule")}
+ {t("cameraWizard.step4.ffmpegModule")}
@@ -346,11 +346,11 @@ export default function Step3Validation({
- {t("cameraWizard.step3.ffmpegModule")}
+ {t("cameraWizard.step4.ffmpegModule")}
{t(
- "cameraWizard.step3.ffmpegModuleDescription",
+ "cameraWizard.step4.ffmpegModuleDescription",
)}
@@ -402,17 +402,17 @@ export default function Step3Validation({
)}
{result?.success
- ? t("cameraWizard.step3.disconnectStream")
+ ? t("cameraWizard.step4.disconnectStream")
: testingStreams.has(stream.id)
- ? t("cameraWizard.step3.connectingStream")
- : t("cameraWizard.step3.connectStream")}
+ ? t("cameraWizard.step4.connectingStream")
+ : t("cameraWizard.step4.connectStream")}
{result && (
- {t("cameraWizard.step3.issues.title")}
+ {t("cameraWizard.step4.issues.title")}
}
{isLoading
? t("button.saving", { ns: "common" })
- : t("cameraWizard.step3.saveAndApply")}
+ : t("cameraWizard.step4.saveAndApply")}
@@ -486,7 +486,7 @@ function StreamIssues({
if (streamUrl.startsWith("rtsp://")) {
result.push({
type: "warning",
- message: t("cameraWizard.step1.errors.brands.reolink-rtsp"),
+ message: t("cameraWizard.step4.issues.brands.reolink-rtsp"),
});
}
}
@@ -497,7 +497,7 @@ function StreamIssues({
if (["h264", "h265", "hevc"].includes(videoCodec)) {
result.push({
type: "good",
- message: t("cameraWizard.step3.issues.videoCodecGood", {
+ message: t("cameraWizard.step4.issues.videoCodecGood", {
codec: stream.testResult.videoCodec,
}),
});
@@ -511,20 +511,20 @@ function StreamIssues({
if (audioCodec === "aac") {
result.push({
type: "good",
- message: t("cameraWizard.step3.issues.audioCodecGood", {
+ message: t("cameraWizard.step4.issues.audioCodecGood", {
codec: stream.testResult.audioCodec,
}),
});
} else {
result.push({
type: "error",
- message: t("cameraWizard.step3.issues.audioCodecRecordError"),
+ message: t("cameraWizard.step4.issues.audioCodecRecordError"),
});
}
} else {
result.push({
type: "warning",
- message: t("cameraWizard.step3.issues.noAudioWarning"),
+ message: t("cameraWizard.step4.issues.noAudioWarning"),
});
}
}
@@ -534,7 +534,7 @@ function StreamIssues({
if (!stream.testResult?.audioCodec) {
result.push({
type: "error",
- message: t("cameraWizard.step3.issues.audioCodecRequired"),
+ message: t("cameraWizard.step4.issues.audioCodecRequired"),
});
}
}
@@ -544,7 +544,7 @@ function StreamIssues({
if (stream.restream) {
result.push({
type: "warning",
- message: t("cameraWizard.step3.issues.restreamingWarning"),
+ message: t("cameraWizard.step4.issues.restreamingWarning"),
});
}
}
@@ -557,14 +557,14 @@ function StreamIssues({
if (minDimension > 1080) {
result.push({
type: "warning",
- message: t("cameraWizard.step3.issues.resolutionHigh", {
+ message: t("cameraWizard.step4.issues.resolutionHigh", {
resolution: stream.resolution,
}),
});
} else if (maxDimension < 640) {
result.push({
type: "error",
- message: t("cameraWizard.step3.issues.resolutionLow", {
+ message: t("cameraWizard.step4.issues.resolutionLow", {
resolution: stream.resolution,
}),
});
@@ -580,7 +580,7 @@ function StreamIssues({
) {
result.push({
type: "warning",
- message: t("cameraWizard.step3.issues.dahua.substreamWarning"),
+ message: t("cameraWizard.step4.issues.dahua.substreamWarning"),
});
}
if (
@@ -590,7 +590,7 @@ function StreamIssues({
) {
result.push({
type: "warning",
- message: t("cameraWizard.step3.issues.hikvision.substreamWarning"),
+ message: t("cameraWizard.step4.issues.hikvision.substreamWarning"),
});
}
@@ -662,7 +662,7 @@ function BandwidthDisplay({
return (
- {t("cameraWizard.step3.estimatedBandwidth")}:
+ {t("cameraWizard.step4.estimatedBandwidth")}:
{" "}
{streamBandwidth.toFixed(1)} {t("unit.data.kbps", { ns: "common" })}
@@ -748,7 +748,7 @@ function StreamPreview({ stream, onBandwidthUpdate }: StreamPreviewProps) {
style={{ aspectRatio }}
>
- {t("cameraWizard.step3.streamUnavailable")}
+ {t("cameraWizard.step4.streamUnavailable")}
);
@@ -771,7 +771,7 @@ function StreamPreview({ stream, onBandwidthUpdate }: StreamPreviewProps) {
>
- {t("cameraWizard.step3.connecting")}
+ {t("cameraWizard.step4.connecting")}