-
-
- Active Connections
-
-
- {Object.keys(channelHistory).length} stream
- {Object.keys(channelHistory).length !== 1 ? 's' : ''} •{' '}
- {vodConnections.reduce(
- (total, vodContent) =>
- total + (vodContent.connections?.length || 0),
- 0
- )}{' '}
- VOD connection
- {vodConnections.reduce(
- (total, vodContent) =>
- total + (vodContent.connections?.length || 0),
- 0
- ) !== 1
- ? 's'
- : ''}
-
-
- Refresh Interval (seconds):
- setRefreshIntervalSeconds(value || 0)}
- min={0}
- max={300}
- step={1}
- size="xs"
- style={{ width: 120 }}
- />
- {refreshIntervalSeconds === 0 && (
+ <>
+
+
+
+
+ Active Connections
+
- Refreshing disabled
+ {Object.keys(channelHistory).length} stream
+ {Object.keys(channelHistory).length !== 1 ? 's' : ''} •{' '}
+ {vodConnections.reduce(
+ (total, vodContent) =>
+ total + (vodContent.connections?.length || 0),
+ 0
+ )}{' '}
+ VOD connection
+ {vodConnections.reduce(
+ (total, vodContent) =>
+ total + (vodContent.connections?.length || 0),
+ 0
+ ) !== 1
+ ? 's'
+ : ''}
- )}
+
+ Refresh Interval (seconds):
+ setRefreshIntervalSeconds(value || 0)}
+ min={0}
+ max={300}
+ step={1}
+ size="xs"
+ style={{ width: 120 }}
+ />
+ {refreshIntervalSeconds === 0 && (
+
+ Refreshing disabled
+
+ )}
+
+ {isPollingActive && refreshInterval > 0 && (
+
+ Refreshing every {refreshIntervalSeconds}s
+
+ )}
+
+
- {isPollingActive && refreshInterval > 0 && (
-
- Refreshing every {refreshIntervalSeconds}s
-
- )}
-
-
-
-
-
- {combinedConnections.length === 0 ? (
+
-
- No active connections
-
+ {combinedConnections.length === 0 ? (
+
+
+ No active connections
+
+
+ ) : (
+ combinedConnections.map((connection) => {
+ if (connection.type === 'stream') {
+ return (
+
+ );
+ } else if (connection.type === 'vod') {
+ return (
+
+ );
+ }
+ return null;
+ })
+ )}
- ) : (
- combinedConnections.map((connection) => {
- if (connection.type === 'stream') {
- return (
-
- );
- } else if (connection.type === 'vod') {
- return (
-
- );
- }
- return null;
- })
- )}
-
-
+
+
+
+ {/* System Events Section - Fixed at bottom */}
+