mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-20 20:39:59 +02:00
significantly improve latency
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user