significantly improve latency

This commit is contained in:
Boof2015
2026-03-21 18:38:21 -04:00
parent dc3604dbb5
commit 78d8be23a3
15 changed files with 1323 additions and 220 deletions
+29
View File
@@ -0,0 +1,29 @@
export type CaptureMode = 'system' | 'device'
export type CaptureBackendPolicy = 'auto' | 'native' | 'electron'
export type CaptureBackendKind =
| 'electron-system'
| 'electron-device'
| 'native-macos'
| 'native-windows'
| 'native-linux'
export interface CaptureSourceDescriptor {
id: string
label: string
kind: CaptureMode
}
export interface CaptureBackendSupportEntry {
kind: CaptureBackendKind
available: boolean
reason: string | null
}
export interface CaptureBackendSupport {
policyOptions: CaptureBackendPolicy[]
nativeBackend: CaptureBackendSupportEntry
electronSystem: CaptureBackendSupportEntry
electronDevice: CaptureBackendSupportEntry
}