mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-13 08:36:41 +03:00
Cleanup mobile
This commit is contained in:
parent
64be8a420f
commit
27f7cb5d93
@ -1415,6 +1415,7 @@ function FrigateCameraFeatures({
|
|||||||
onValueChange={(value) => {
|
onValueChange={(value) => {
|
||||||
setStreamName?.(value);
|
setStreamName?.(value);
|
||||||
}}
|
}}
|
||||||
|
disabled={debug}
|
||||||
>
|
>
|
||||||
<SelectTrigger className="w-full">
|
<SelectTrigger className="w-full">
|
||||||
<SelectValue>
|
<SelectValue>
|
||||||
@ -1440,7 +1441,7 @@ function FrigateCameraFeatures({
|
|||||||
</SelectGroup>
|
</SelectGroup>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
{preferredLiveMode != "jsmpeg" && isRestreamed && (
|
{preferredLiveMode != "jsmpeg" && !debug && isRestreamed && (
|
||||||
<div className="mt-1 flex flex-row items-center gap-1 text-sm text-muted-foreground">
|
<div className="mt-1 flex flex-row items-center gap-1 text-sm text-muted-foreground">
|
||||||
{supportsAudioOutput ? (
|
{supportsAudioOutput ? (
|
||||||
<>
|
<>
|
||||||
@ -1480,6 +1481,7 @@ function FrigateCameraFeatures({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{preferredLiveMode != "jsmpeg" &&
|
{preferredLiveMode != "jsmpeg" &&
|
||||||
|
!debug &&
|
||||||
isRestreamed &&
|
isRestreamed &&
|
||||||
supportsAudioOutput && (
|
supportsAudioOutput && (
|
||||||
<div className="flex flex-row items-center gap-1 text-sm text-muted-foreground">
|
<div className="flex flex-row items-center gap-1 text-sm text-muted-foreground">
|
||||||
@ -1522,7 +1524,7 @@ function FrigateCameraFeatures({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{preferredLiveMode == "jsmpeg" && isRestreamed && (
|
{preferredLiveMode == "jsmpeg" && !debug && isRestreamed && (
|
||||||
<div className="mt-2 flex flex-col items-center gap-3">
|
<div className="mt-2 flex flex-col items-center gap-3">
|
||||||
<div className="flex flex-row items-center gap-2">
|
<div className="flex flex-row items-center gap-2">
|
||||||
<IoIosWarning className="mr-1 size-8 text-danger" />
|
<IoIosWarning className="mr-1 size-8 text-danger" />
|
||||||
@ -1555,6 +1557,7 @@ function FrigateCameraFeatures({
|
|||||||
"w-full",
|
"w-full",
|
||||||
isRecording && "animate-pulse bg-red-500 hover:bg-red-600",
|
isRecording && "animate-pulse bg-red-500 hover:bg-red-600",
|
||||||
)}
|
)}
|
||||||
|
disabled={debug}
|
||||||
>
|
>
|
||||||
{t("manualRecording." + (isRecording ? "end" : "start"))}
|
{t("manualRecording." + (isRecording ? "end" : "start"))}
|
||||||
</Button>
|
</Button>
|
||||||
@ -1562,7 +1565,7 @@ function FrigateCameraFeatures({
|
|||||||
{t("manualRecording.tips")}
|
{t("manualRecording.tips")}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{isRestreamed && (
|
{isRestreamed && !debug && (
|
||||||
<>
|
<>
|
||||||
<div className="flex flex-col gap-2">
|
<div className="flex flex-col gap-2">
|
||||||
<FilterSwitch
|
<FilterSwitch
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user