diff --git a/frontend/src/pages/Stats.jsx b/frontend/src/pages/Stats.jsx index fa3250ef..09163a5c 100644 --- a/frontend/src/pages/Stats.jsx +++ b/frontend/src/pages/Stats.jsx @@ -14,6 +14,7 @@ import { Tooltip, useMantineTheme, Select, + Badge, } from '@mantine/core'; import { MantineReactTable, useMantineReactTable } from 'mantine-react-table'; import { TableHelper } from '../helpers'; @@ -474,6 +475,30 @@ const ChannelCard = ({ channel, clients, stopClient, stopChannel, logos, channel )} + {/* Add stream information badges */} + + {channel.video_codec && ( + + {channel.video_codec.toUpperCase()} + + )} + {channel.resolution && ( + + {channel.resolution} + + )} + {channel.source_fps && ( + + {channel.source_fps} FPS + + )} + {channel.audio_codec && ( + + {channel.audio_codec.toUpperCase()} + + )} + +