mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-22 09:37:57 +00:00
Add FFmpeg speed display and audio codec to channel card
This commit is contained in:
parent
0fed65a478
commit
cd47e76245
1 changed files with 11 additions and 0 deletions
|
|
@ -497,6 +497,17 @@ const ChannelCard = ({ channel, clients, stopClient, stopChannel, logos, channel
|
|||
{channel.audio_codec.toUpperCase()}
|
||||
</Badge>
|
||||
)}
|
||||
{channel.ffmpeg_speed && (
|
||||
<Tooltip label={`Speed: ${channel.ffmpeg_speed}x realtime`}>
|
||||
<Badge
|
||||
size="sm"
|
||||
variant="light"
|
||||
color={parseFloat(channel.ffmpeg_speed) >= 1.0 ? "green" : "red"}
|
||||
>
|
||||
{channel.ffmpeg_speed}x
|
||||
</Badge>
|
||||
</Tooltip>
|
||||
)}
|
||||
</Group>
|
||||
|
||||
<Group justify="space-between">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue