// Copyright 2025 LiveKit, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v1.10.1 with parameter "js_import_style=legacy_commonjs" // @generated from file video_frame.proto (package livekit.proto, syntax proto2) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto2 } from "@bufbuild/protobuf"; import type { TrackSource } from "./track_pb.js"; import type { FfiOwnedHandle } from "./handle_pb.js"; /** * @generated from enum livekit.proto.VideoCodec */ export declare enum VideoCodec { /** * @generated from enum value: VP8 = 0; */ VP8 = 0, /** * @generated from enum value: H264 = 1; */ H264 = 1, /** * @generated from enum value: AV1 = 2; */ AV1 = 2, /** * @generated from enum value: VP9 = 3; */ VP9 = 3, /** * @generated from enum value: H265 = 4; */ H265 = 4, } /** * @generated from enum livekit.proto.VideoRotation */ export declare enum VideoRotation { /** * @generated from enum value: VIDEO_ROTATION_0 = 0; */ VIDEO_ROTATION_0 = 0, /** * @generated from enum value: VIDEO_ROTATION_90 = 1; */ VIDEO_ROTATION_90 = 1, /** * @generated from enum value: VIDEO_ROTATION_180 = 2; */ VIDEO_ROTATION_180 = 2, /** * @generated from enum value: VIDEO_ROTATION_270 = 3; */ VIDEO_ROTATION_270 = 3, } /** * Values of this enum must not be changed * It is used to serialize a rtc.VideoFrame on Python * * @generated from enum livekit.proto.VideoBufferType */ export declare enum VideoBufferType { /** * @generated from enum value: RGBA = 0; */ RGBA = 0, /** * @generated from enum value: ABGR = 1; */ ABGR = 1, /** * @generated from enum value: ARGB = 2; */ ARGB = 2, /** * @generated from enum value: BGRA = 3; */ BGRA = 3, /** * @generated from enum value: RGB24 = 4; */ RGB24 = 4, /** * @generated from enum value: I420 = 5; */ I420 = 5, /** * @generated from enum value: I420A = 6; */ I420A = 6, /** * @generated from enum value: I422 = 7; */ I422 = 7, /** * @generated from enum value: I444 = 8; */ I444 = 8, /** * @generated from enum value: I010 = 9; */ I010 = 9, /** * @generated from enum value: NV12 = 10; */ NV12 = 10, } /** * @generated from enum livekit.proto.VideoStreamType */ export declare enum VideoStreamType { /** * @generated from enum value: VIDEO_STREAM_NATIVE = 0; */ VIDEO_STREAM_NATIVE = 0, /** * @generated from enum value: VIDEO_STREAM_WEBGL = 1; */ VIDEO_STREAM_WEBGL = 1, /** * @generated from enum value: VIDEO_STREAM_HTML = 2; */ VIDEO_STREAM_HTML = 2, } /** * @generated from enum livekit.proto.VideoSourceType */ export declare enum VideoSourceType { /** * @generated from enum value: VIDEO_SOURCE_NATIVE = 0; */ VIDEO_SOURCE_NATIVE = 0, } /** * Create a new VideoStream * VideoStream is used to receive video frames from a track * * @generated from message livekit.proto.NewVideoStreamRequest */ export declare class NewVideoStreamRequest extends Message { /** * @generated from field: required uint64 track_handle = 1; */ trackHandle?: bigint; /** * @generated from field: required livekit.proto.VideoStreamType type = 2; */ type?: VideoStreamType; /** * Get the frame on a specific format * * @generated from field: optional livekit.proto.VideoBufferType format = 3; */ format?: VideoBufferType; /** * if true, stride will be set to width/chroma_width * * @generated from field: optional bool normalize_stride = 4; */ normalizeStride?: boolean; /** * Maximum number of queued WebRTC sink frames on the receive path. Omit this * field to use the default bounded queue size of 1 frame. Set it to 0 to * request unbounded buffering. * * If your application consumes both audio and video, keep the queue sizing * strategy coordinated across both streams. Using a much larger queue, or * unbounded buffering, for only one of them can increase end-to-end latency * for that stream and cause audio/video drift. * * @generated from field: optional uint32 queue_size_frames = 5; */ queueSizeFrames?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.NewVideoStreamRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): NewVideoStreamRequest; static fromJson(jsonValue: JsonValue, options?: Partial): NewVideoStreamRequest; static fromJsonString(jsonString: string, options?: Partial): NewVideoStreamRequest; static equals(a: NewVideoStreamRequest | PlainMessage | undefined, b: NewVideoStreamRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.NewVideoStreamResponse */ export declare class NewVideoStreamResponse extends Message { /** * @generated from field: required livekit.proto.OwnedVideoStream stream = 1; */ stream?: OwnedVideoStream; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.NewVideoStreamResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): NewVideoStreamResponse; static fromJson(jsonValue: JsonValue, options?: Partial): NewVideoStreamResponse; static fromJsonString(jsonString: string, options?: Partial): NewVideoStreamResponse; static equals(a: NewVideoStreamResponse | PlainMessage | undefined, b: NewVideoStreamResponse | PlainMessage | undefined): boolean; } /** * Request a video stream from a participant * * @generated from message livekit.proto.VideoStreamFromParticipantRequest */ export declare class VideoStreamFromParticipantRequest extends Message { /** * @generated from field: required uint64 participant_handle = 1; */ participantHandle?: bigint; /** * @generated from field: required livekit.proto.VideoStreamType type = 2; */ type?: VideoStreamType; /** * @generated from field: required livekit.proto.TrackSource track_source = 3; */ trackSource?: TrackSource; /** * @generated from field: optional livekit.proto.VideoBufferType format = 4; */ format?: VideoBufferType; /** * @generated from field: optional bool normalize_stride = 5; */ normalizeStride?: boolean; /** * Maximum number of queued WebRTC sink frames on the receive path. Omit this * field to use the default bounded queue size of 1 frame. Set it to 0 to * request unbounded buffering. * * If your application consumes both audio and video, keep the queue sizing * strategy coordinated across both streams. Using a much larger queue, or * unbounded buffering, for only one of them can increase end-to-end latency * for that stream and cause audio/video drift. * * @generated from field: optional uint32 queue_size_frames = 6; */ queueSizeFrames?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoStreamFromParticipantRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoStreamFromParticipantRequest; static fromJson(jsonValue: JsonValue, options?: Partial): VideoStreamFromParticipantRequest; static fromJsonString(jsonString: string, options?: Partial): VideoStreamFromParticipantRequest; static equals(a: VideoStreamFromParticipantRequest | PlainMessage | undefined, b: VideoStreamFromParticipantRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoStreamFromParticipantResponse */ export declare class VideoStreamFromParticipantResponse extends Message { /** * @generated from field: required livekit.proto.OwnedVideoStream stream = 1; */ stream?: OwnedVideoStream; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoStreamFromParticipantResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoStreamFromParticipantResponse; static fromJson(jsonValue: JsonValue, options?: Partial): VideoStreamFromParticipantResponse; static fromJsonString(jsonString: string, options?: Partial): VideoStreamFromParticipantResponse; static equals(a: VideoStreamFromParticipantResponse | PlainMessage | undefined, b: VideoStreamFromParticipantResponse | PlainMessage | undefined): boolean; } /** * Create a new VideoSource * VideoSource is used to send video frame to a track * * @generated from message livekit.proto.NewVideoSourceRequest */ export declare class NewVideoSourceRequest extends Message { /** * @generated from field: required livekit.proto.VideoSourceType type = 1; */ type?: VideoSourceType; /** * Used to determine which encodings to use + simulcast layers * Most of the time it corresponds to the source resolution * * @generated from field: required livekit.proto.VideoSourceResolution resolution = 2; */ resolution?: VideoSourceResolution; /** * @generated from field: optional bool is_screencast = 3; */ isScreencast?: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.NewVideoSourceRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): NewVideoSourceRequest; static fromJson(jsonValue: JsonValue, options?: Partial): NewVideoSourceRequest; static fromJsonString(jsonString: string, options?: Partial): NewVideoSourceRequest; static equals(a: NewVideoSourceRequest | PlainMessage | undefined, b: NewVideoSourceRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.NewVideoSourceResponse */ export declare class NewVideoSourceResponse extends Message { /** * @generated from field: required livekit.proto.OwnedVideoSource source = 1; */ source?: OwnedVideoSource; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.NewVideoSourceResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): NewVideoSourceResponse; static fromJson(jsonValue: JsonValue, options?: Partial): NewVideoSourceResponse; static fromJsonString(jsonString: string, options?: Partial): NewVideoSourceResponse; static equals(a: NewVideoSourceResponse | PlainMessage | undefined, b: NewVideoSourceResponse | PlainMessage | undefined): boolean; } /** * Push a frame to a VideoSource * * @generated from message livekit.proto.CaptureVideoFrameRequest */ export declare class CaptureVideoFrameRequest extends Message { /** * @generated from field: required uint64 source_handle = 1; */ sourceHandle?: bigint; /** * @generated from field: required livekit.proto.VideoBufferInfo buffer = 2; */ buffer?: VideoBufferInfo; /** * In microseconds * * @generated from field: required int64 timestamp_us = 3; */ timestampUs?: bigint; /** * @generated from field: required livekit.proto.VideoRotation rotation = 4; */ rotation?: VideoRotation; /** * @generated from field: optional livekit.proto.FrameMetadata metadata = 5; */ metadata?: FrameMetadata; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.CaptureVideoFrameRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CaptureVideoFrameRequest; static fromJson(jsonValue: JsonValue, options?: Partial): CaptureVideoFrameRequest; static fromJsonString(jsonString: string, options?: Partial): CaptureVideoFrameRequest; static equals(a: CaptureVideoFrameRequest | PlainMessage | undefined, b: CaptureVideoFrameRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.CaptureVideoFrameResponse */ export declare class CaptureVideoFrameResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.CaptureVideoFrameResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): CaptureVideoFrameResponse; static fromJson(jsonValue: JsonValue, options?: Partial): CaptureVideoFrameResponse; static fromJsonString(jsonString: string, options?: Partial): CaptureVideoFrameResponse; static equals(a: CaptureVideoFrameResponse | PlainMessage | undefined, b: CaptureVideoFrameResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoConvertRequest */ export declare class VideoConvertRequest extends Message { /** * @generated from field: optional bool flip_y = 1; */ flipY?: boolean; /** * @generated from field: required livekit.proto.VideoBufferInfo buffer = 2; */ buffer?: VideoBufferInfo; /** * @generated from field: required livekit.proto.VideoBufferType dst_type = 3; */ dstType?: VideoBufferType; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoConvertRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoConvertRequest; static fromJson(jsonValue: JsonValue, options?: Partial): VideoConvertRequest; static fromJsonString(jsonString: string, options?: Partial): VideoConvertRequest; static equals(a: VideoConvertRequest | PlainMessage | undefined, b: VideoConvertRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoConvertResponse */ export declare class VideoConvertResponse extends Message { /** * @generated from oneof livekit.proto.VideoConvertResponse.message */ message: { /** * @generated from field: string error = 1; */ value: string; case: "error"; } | { /** * @generated from field: livekit.proto.OwnedVideoBuffer buffer = 2; */ value: OwnedVideoBuffer; case: "buffer"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoConvertResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoConvertResponse; static fromJson(jsonValue: JsonValue, options?: Partial): VideoConvertResponse; static fromJsonString(jsonString: string, options?: Partial): VideoConvertResponse; static equals(a: VideoConvertResponse | PlainMessage | undefined, b: VideoConvertResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoResolution */ export declare class VideoResolution extends Message { /** * @generated from field: required uint32 width = 1; */ width?: number; /** * @generated from field: required uint32 height = 2; */ height?: number; /** * @generated from field: required double frame_rate = 3; */ frameRate?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoResolution"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoResolution; static fromJson(jsonValue: JsonValue, options?: Partial): VideoResolution; static fromJsonString(jsonString: string, options?: Partial): VideoResolution; static equals(a: VideoResolution | PlainMessage | undefined, b: VideoResolution | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoBufferInfo */ export declare class VideoBufferInfo extends Message { /** * @generated from field: required livekit.proto.VideoBufferType type = 1; */ type?: VideoBufferType; /** * @generated from field: required uint32 width = 2; */ width?: number; /** * @generated from field: required uint32 height = 3; */ height?: number; /** * @generated from field: required uint64 data_ptr = 4; */ dataPtr?: bigint; /** * only for packed formats * * @generated from field: optional uint32 stride = 6; */ stride?: number; /** * @generated from field: repeated livekit.proto.VideoBufferInfo.ComponentInfo components = 7; */ components: VideoBufferInfo_ComponentInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoBufferInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoBufferInfo; static fromJson(jsonValue: JsonValue, options?: Partial): VideoBufferInfo; static fromJsonString(jsonString: string, options?: Partial): VideoBufferInfo; static equals(a: VideoBufferInfo | PlainMessage | undefined, b: VideoBufferInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoBufferInfo.ComponentInfo */ export declare class VideoBufferInfo_ComponentInfo extends Message { /** * @generated from field: required uint64 data_ptr = 1; */ dataPtr?: bigint; /** * @generated from field: required uint32 stride = 2; */ stride?: number; /** * @generated from field: required uint32 size = 3; */ size?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoBufferInfo.ComponentInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoBufferInfo_ComponentInfo; static fromJson(jsonValue: JsonValue, options?: Partial): VideoBufferInfo_ComponentInfo; static fromJsonString(jsonString: string, options?: Partial): VideoBufferInfo_ComponentInfo; static equals(a: VideoBufferInfo_ComponentInfo | PlainMessage | undefined, b: VideoBufferInfo_ComponentInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.OwnedVideoBuffer */ export declare class OwnedVideoBuffer extends Message { /** * @generated from field: required livekit.proto.FfiOwnedHandle handle = 1; */ handle?: FfiOwnedHandle; /** * @generated from field: required livekit.proto.VideoBufferInfo info = 2; */ info?: VideoBufferInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.OwnedVideoBuffer"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OwnedVideoBuffer; static fromJson(jsonValue: JsonValue, options?: Partial): OwnedVideoBuffer; static fromJsonString(jsonString: string, options?: Partial): OwnedVideoBuffer; static equals(a: OwnedVideoBuffer | PlainMessage | undefined, b: OwnedVideoBuffer | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.FrameMetadata */ export declare class FrameMetadata extends Message { /** * @generated from field: optional uint64 user_timestamp = 1; */ userTimestamp?: bigint; /** * @generated from field: optional uint32 frame_id = 2; */ frameId?: number; /** * @generated from field: optional bytes user_data = 3; */ userData?: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.FrameMetadata"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FrameMetadata; static fromJson(jsonValue: JsonValue, options?: Partial): FrameMetadata; static fromJsonString(jsonString: string, options?: Partial): FrameMetadata; static equals(a: FrameMetadata | PlainMessage | undefined, b: FrameMetadata | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoStreamInfo */ export declare class VideoStreamInfo extends Message { /** * @generated from field: required livekit.proto.VideoStreamType type = 1; */ type?: VideoStreamType; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoStreamInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoStreamInfo; static fromJson(jsonValue: JsonValue, options?: Partial): VideoStreamInfo; static fromJsonString(jsonString: string, options?: Partial): VideoStreamInfo; static equals(a: VideoStreamInfo | PlainMessage | undefined, b: VideoStreamInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.OwnedVideoStream */ export declare class OwnedVideoStream extends Message { /** * @generated from field: required livekit.proto.FfiOwnedHandle handle = 1; */ handle?: FfiOwnedHandle; /** * @generated from field: required livekit.proto.VideoStreamInfo info = 2; */ info?: VideoStreamInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.OwnedVideoStream"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OwnedVideoStream; static fromJson(jsonValue: JsonValue, options?: Partial): OwnedVideoStream; static fromJsonString(jsonString: string, options?: Partial): OwnedVideoStream; static equals(a: OwnedVideoStream | PlainMessage | undefined, b: OwnedVideoStream | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoStreamEvent */ export declare class VideoStreamEvent extends Message { /** * @generated from field: required uint64 stream_handle = 1; */ streamHandle?: bigint; /** * @generated from oneof livekit.proto.VideoStreamEvent.message */ message: { /** * @generated from field: livekit.proto.VideoFrameReceived frame_received = 2; */ value: VideoFrameReceived; case: "frameReceived"; } | { /** * @generated from field: livekit.proto.VideoStreamEOS eos = 3; */ value: VideoStreamEOS; case: "eos"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoStreamEvent"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoStreamEvent; static fromJson(jsonValue: JsonValue, options?: Partial): VideoStreamEvent; static fromJsonString(jsonString: string, options?: Partial): VideoStreamEvent; static equals(a: VideoStreamEvent | PlainMessage | undefined, b: VideoStreamEvent | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoFrameReceived */ export declare class VideoFrameReceived extends Message { /** * @generated from field: required livekit.proto.OwnedVideoBuffer buffer = 1; */ buffer?: OwnedVideoBuffer; /** * In microseconds * * @generated from field: required int64 timestamp_us = 2; */ timestampUs?: bigint; /** * @generated from field: required livekit.proto.VideoRotation rotation = 3; */ rotation?: VideoRotation; /** * @generated from field: optional livekit.proto.FrameMetadata metadata = 4; */ metadata?: FrameMetadata; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoFrameReceived"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoFrameReceived; static fromJson(jsonValue: JsonValue, options?: Partial): VideoFrameReceived; static fromJsonString(jsonString: string, options?: Partial): VideoFrameReceived; static equals(a: VideoFrameReceived | PlainMessage | undefined, b: VideoFrameReceived | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoStreamEOS */ export declare class VideoStreamEOS extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoStreamEOS"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoStreamEOS; static fromJson(jsonValue: JsonValue, options?: Partial): VideoStreamEOS; static fromJsonString(jsonString: string, options?: Partial): VideoStreamEOS; static equals(a: VideoStreamEOS | PlainMessage | undefined, b: VideoStreamEOS | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoSourceResolution */ export declare class VideoSourceResolution extends Message { /** * @generated from field: required uint32 width = 1; */ width?: number; /** * @generated from field: required uint32 height = 2; */ height?: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoSourceResolution"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoSourceResolution; static fromJson(jsonValue: JsonValue, options?: Partial): VideoSourceResolution; static fromJsonString(jsonString: string, options?: Partial): VideoSourceResolution; static equals(a: VideoSourceResolution | PlainMessage | undefined, b: VideoSourceResolution | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.VideoSourceInfo */ export declare class VideoSourceInfo extends Message { /** * @generated from field: required livekit.proto.VideoSourceType type = 1; */ type?: VideoSourceType; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.VideoSourceInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): VideoSourceInfo; static fromJson(jsonValue: JsonValue, options?: Partial): VideoSourceInfo; static fromJsonString(jsonString: string, options?: Partial): VideoSourceInfo; static equals(a: VideoSourceInfo | PlainMessage | undefined, b: VideoSourceInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.proto.OwnedVideoSource */ export declare class OwnedVideoSource extends Message { /** * @generated from field: required livekit.proto.FfiOwnedHandle handle = 1; */ handle?: FfiOwnedHandle; /** * @generated from field: required livekit.proto.VideoSourceInfo info = 2; */ info?: VideoSourceInfo; constructor(data?: PartialMessage); static readonly runtime: typeof proto2; static readonly typeName = "livekit.proto.OwnedVideoSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): OwnedVideoSource; static fromJson(jsonValue: JsonValue, options?: Partial): OwnedVideoSource; static fromJsonString(jsonString: string, options?: Partial): OwnedVideoSource; static equals(a: OwnedVideoSource | PlainMessage | undefined, b: OwnedVideoSource | PlainMessage | undefined): boolean; }