mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-03 05:49:31 +00:00
19 lines
310 B
TypeScript
19 lines
310 B
TypeScript
|
export enum MitigationMode {
|
||
|
None = 0,
|
||
|
Downscaled = 1,
|
||
|
Downsampled = 2,
|
||
|
}
|
||
|
|
||
|
export interface ConsumerType {
|
||
|
id: string,
|
||
|
video_codec: string | undefined,
|
||
|
mitigation_mode: MitigationMode,
|
||
|
stats: Map<string, number>,
|
||
|
}
|
||
|
|
||
|
export enum WebSocketStatus {
|
||
|
Connecting = 0,
|
||
|
Connected = 1,
|
||
|
Error = 2,
|
||
|
}
|