mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-29 16:21:45 +08:00
feat: 深入适配 RK628D CSI 采集卡的设备识别、参数读取、自恢复和音频采集
This commit is contained in:
@@ -213,7 +213,18 @@ export interface VideoEncoderSelfCheckResponse {
|
||||
export const streamApi = {
|
||||
status: () =>
|
||||
request<{
|
||||
state: 'uninitialized' | 'ready' | 'streaming' | 'no_signal' | 'error'
|
||||
state:
|
||||
| 'uninitialized'
|
||||
| 'ready'
|
||||
| 'streaming'
|
||||
| 'no_signal'
|
||||
| 'no_cable'
|
||||
| 'no_sync'
|
||||
| 'out_of_range'
|
||||
| 'device_lost'
|
||||
| 'recovering'
|
||||
| 'device_busy'
|
||||
| 'error'
|
||||
device: string | null
|
||||
format: string | null
|
||||
resolution: [number, number] | null
|
||||
@@ -649,6 +660,7 @@ export const configApi = {
|
||||
}>
|
||||
}>
|
||||
usb_bus: string | null
|
||||
has_signal: boolean
|
||||
}>
|
||||
serial: Array<{ path: string; name: string }>
|
||||
audio: Array<{
|
||||
|
||||
Reference in New Issue
Block a user