generated from CubeCraft-Creations/Tracehound
36 lines
605 B
TypeScript
36 lines
605 B
TypeScript
|
|
// RemoteRig TypeScript types
|
||
|
|
|
||
|
|
export interface Camera {
|
||
|
|
id: string
|
||
|
|
name: string
|
||
|
|
streamUrl: string
|
||
|
|
status: 'online' | 'offline' | 'error' | 'connecting'
|
||
|
|
position?: string
|
||
|
|
fps: number
|
||
|
|
resolution?: string
|
||
|
|
recording: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface CameraFeed {
|
||
|
|
cameraId: string
|
||
|
|
thumbnailUrl?: string
|
||
|
|
frameRate: number
|
||
|
|
bitrate?: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface SystemHealth {
|
||
|
|
cpuUsage: number
|
||
|
|
memoryUsage: number
|
||
|
|
gpuUsage: number
|
||
|
|
temperature: number
|
||
|
|
uptime: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface StreamConfig {
|
||
|
|
width: number
|
||
|
|
height: number
|
||
|
|
fps: number
|
||
|
|
codec: string
|
||
|
|
bitrate: string
|
||
|
|
}
|