+
- {supports2WayTalk ? (
- <>
-
-
{t("stream.twoWayTalk.available")}
- >
- ) : (
- <>
-
-
{t("stream.twoWayTalk.unavailable")}
-
-
-
-
-
- {t("button.info", { ns: "common" })}
-
-
-
-
- {t("stream.twoWayTalk.tips")}
-
-
+
+ {t("streaming.restreaming.disabled", {
+ ns: "components/dialog",
+ })}
+
+
+
+
+
+
+ {t("button.info", { ns: "common" })}
+
+
+
+
+ {t("streaming.restreaming.desc.title", {
+ ns: "components/dialog",
+ })}
+
+
+ {t("readTheDocumentation", { ns: "common" })}
+
+
+
+
+
+
+
+ )}
+ {isRestreamed &&
+ Object.values(camera.live.streams).length > 0 && (
+
+
{t("stream.title")}
+
-
-
- >
+ {stream}
+
+ ),
+ )}
+
+
+
+
+ {debug && (
+
+ <>
+
+
{t("stream.debug.picker")}
+ >
+
+ )}
+
+ {preferredLiveMode != "jsmpeg" &&
+ !debug &&
+ isRestreamed && (
+
+ {supportsAudioOutput ? (
+ <>
+
+
{t("stream.audio.available")}
+ >
+ ) : (
+ <>
+
+
{t("stream.audio.unavailable")}
+
+
+
+
+
+ {t("button.info", { ns: "common" })}
+
+
+
+
+ {t("stream.audio.tips.title")}
+
+
+ {t("readTheDocumentation", {
+ ns: "common",
+ })}
+
+
+
+
+
+ >
+ )}
+
+ )}
+ {preferredLiveMode != "jsmpeg" &&
+ !debug &&
+ isRestreamed &&
+ supportsAudioOutput && (
+
+ {supports2WayTalk ? (
+ <>
+
+
{t("stream.twoWayTalk.available")}
+ >
+ ) : (
+ <>
+
+
{t("stream.twoWayTalk.unavailable")}
+
+
+
+
+
+ {t("button.info", { ns: "common" })}
+
+
+
+
+ {t("stream.twoWayTalk.tips")}
+
+
+ {t("readTheDocumentation", {
+ ns: "common",
+ })}
+
+
+
+
+
+ >
+ )}
+
+ )}
+ {preferredLiveMode == "jsmpeg" && isRestreamed && (
+
+
+
+
+ {t("stream.lowBandwidth.tips")}
+
+
+
+
)}
)}
- {preferredLiveMode == "jsmpeg" && isRestreamed && (
-
-
-
-
{t("stream.lowBandwidth.tips")}
-
+
+
+ {t("manualRecording.title")}
+
+
+
+
+ {t("manualRecording.tips")}
+
+
+ {isRestreamed && (
+ <>
+
+
{
+ setPlayInBackground(checked);
+ }}
+ disabled={debug}
+ />
+
+ {t("manualRecording.playInBackground.desc")}
+
+
+
+
{
+ setShowStats(checked);
+ }}
+ disabled={debug}
+ />
+
+ {t("manualRecording.showStats.desc")}
+
+
+ >
)}
-