mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-18 17:14:26 +03:00
show settings menu for non-restreamed cameras
This commit is contained in:
parent
af039f349d
commit
459283c60f
@ -1031,7 +1031,7 @@ function FrigateCameraFeatures({
|
|||||||
title={`${isRecording ? "Stop" : "Start"} on-demand recording`}
|
title={`${isRecording ? "Stop" : "Start"} on-demand recording`}
|
||||||
onClick={handleEventButtonClick}
|
onClick={handleEventButtonClick}
|
||||||
/>
|
/>
|
||||||
{isRestreamed && (
|
|
||||||
<DropdownMenu modal={false}>
|
<DropdownMenu modal={false}>
|
||||||
<DropdownMenuTrigger>
|
<DropdownMenuTrigger>
|
||||||
<div
|
<div
|
||||||
@ -1125,9 +1125,7 @@ function FrigateCameraFeatures({
|
|||||||
{supports2WayTalk ? (
|
{supports2WayTalk ? (
|
||||||
<>
|
<>
|
||||||
<LuCheck className="size-4 text-success" />
|
<LuCheck className="size-4 text-success" />
|
||||||
<div>
|
<div>Two-way talk is available for this stream</div>
|
||||||
Two-way talk is available for this stream
|
|
||||||
</div>
|
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
@ -1143,8 +1141,8 @@ function FrigateCameraFeatures({
|
|||||||
</div>
|
</div>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent className="w-80 text-xs">
|
<PopoverContent className="w-80 text-xs">
|
||||||
Your device must suppport the feature and
|
Your device must suppport the feature and WebRTC
|
||||||
WebRTC must be configured for two-way talk.
|
must be configured for two-way talk.
|
||||||
<div className="mt-2 flex items-center text-primary">
|
<div className="mt-2 flex items-center text-primary">
|
||||||
<Link
|
<Link
|
||||||
to="https://docs.frigate.video/configuration/live/#webrtc-extra-configuration"
|
to="https://docs.frigate.video/configuration/live/#webrtc-extra-configuration"
|
||||||
@ -1169,8 +1167,8 @@ function FrigateCameraFeatures({
|
|||||||
<IoIosWarning className="mr-1 size-8 text-danger" />
|
<IoIosWarning className="mr-1 size-8 text-danger" />
|
||||||
|
|
||||||
<p className="text-sm">
|
<p className="text-sm">
|
||||||
Live view is in low-bandwidth mode due to buffering
|
Live view is in low-bandwidth mode due to buffering or
|
||||||
or stream errors.
|
stream errors.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
@ -1181,9 +1179,7 @@ function FrigateCameraFeatures({
|
|||||||
onClick={() => setLowBandwidth(false)}
|
onClick={() => setLowBandwidth(false)}
|
||||||
>
|
>
|
||||||
<MdOutlineRestartAlt className="size-5 text-primary-variant" />
|
<MdOutlineRestartAlt className="size-5 text-primary-variant" />
|
||||||
<div className="text-primary-variant">
|
<div className="text-primary-variant">Reset stream</div>
|
||||||
Reset stream
|
|
||||||
</div>
|
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@ -1208,8 +1204,8 @@ function FrigateCameraFeatures({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<p className="text-sm text-muted-foreground">
|
<p className="text-sm text-muted-foreground">
|
||||||
Enable this option to continue streaming when the player
|
Enable this option to continue streaming when the player is
|
||||||
is hidden.
|
hidden.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@ -1229,8 +1225,8 @@ function FrigateCameraFeatures({
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<p className="text-sm text-muted-foreground">
|
<p className="text-sm text-muted-foreground">
|
||||||
Enable this option to show stream statistics as an overlay
|
Enable this option to show stream statistics as an overlay on
|
||||||
on the camera feed.
|
the camera feed.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col gap-1">
|
<div className="flex flex-col gap-1">
|
||||||
@ -1247,7 +1243,6 @@ function FrigateCameraFeatures({
|
|||||||
</div>
|
</div>
|
||||||
</DropdownMenuContent>
|
</DropdownMenuContent>
|
||||||
</DropdownMenu>
|
</DropdownMenu>
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user