// Copyright 2023 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 "target=dts+js" // @generated from file livekit_egress.proto (package livekit, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { AudioCodec, ImageCodec, ParticipantInfo_Kind, VideoCodec, WebhookConfig } from "./livekit_models_pb.js"; /** * @generated from enum livekit.AudioChannel */ export declare enum AudioChannel { /** * @generated from enum value: AUDIO_CHANNEL_BOTH = 0; */ BOTH = 0, /** * @generated from enum value: AUDIO_CHANNEL_LEFT = 1; */ LEFT = 1, /** * @generated from enum value: AUDIO_CHANNEL_RIGHT = 2; */ RIGHT = 2, } /** * @generated from enum livekit.EncodingOptionsPreset */ export declare enum EncodingOptionsPreset { /** * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS * * @generated from enum value: H264_720P_30 = 0; */ H264_720P_30 = 0, /** * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: H264_720P_60 = 1; */ H264_720P_60 = 1, /** * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: H264_1080P_30 = 2; */ H264_1080P_30 = 2, /** * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS * * @generated from enum value: H264_1080P_60 = 3; */ H264_1080P_60 = 3, /** * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_720P_30 = 4; */ PORTRAIT_H264_720P_30 = 4, /** * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_720P_60 = 5; */ PORTRAIT_H264_720P_60 = 5, /** * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_1080P_30 = 6; */ PORTRAIT_H264_1080P_30 = 6, /** * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS * * @generated from enum value: PORTRAIT_H264_1080P_60 = 7; */ PORTRAIT_H264_1080P_60 = 7, } /** * @generated from enum livekit.EncodedFileType */ export declare enum EncodedFileType { /** * file type chosen based on codecs * * @generated from enum value: DEFAULT_FILETYPE = 0; */ DEFAULT_FILETYPE = 0, /** * @generated from enum value: MP4 = 1; */ MP4 = 1, /** * @generated from enum value: OGG = 2; */ OGG = 2, /** * @generated from enum value: MP3 = 3; */ MP3 = 3, } /** * @generated from enum livekit.StreamProtocol */ export declare enum StreamProtocol { /** * protocol chosen based on urls * * @generated from enum value: DEFAULT_PROTOCOL = 0; */ DEFAULT_PROTOCOL = 0, /** * @generated from enum value: RTMP = 1; */ RTMP = 1, /** * @generated from enum value: SRT = 2; */ SRT = 2, /** * @generated from enum value: WEBSOCKET = 3; */ WEBSOCKET = 3, } /** * @generated from enum livekit.SegmentedFileProtocol */ export declare enum SegmentedFileProtocol { /** * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0; */ DEFAULT_SEGMENTED_FILE_PROTOCOL = 0, /** * @generated from enum value: HLS_PROTOCOL = 1; */ HLS_PROTOCOL = 1, } /** * @generated from enum livekit.SegmentedFileSuffix */ export declare enum SegmentedFileSuffix { /** * @generated from enum value: INDEX = 0; */ INDEX = 0, /** * @generated from enum value: TIMESTAMP = 1; */ TIMESTAMP = 1, } /** * @generated from enum livekit.ImageFileSuffix */ export declare enum ImageFileSuffix { /** * @generated from enum value: IMAGE_SUFFIX_INDEX = 0; */ IMAGE_SUFFIX_INDEX = 0, /** * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1; */ IMAGE_SUFFIX_TIMESTAMP = 1, /** * Do not append any suffix and overwrite the existing image with the latest * * @generated from enum value: IMAGE_SUFFIX_NONE_OVERWRITE = 2; */ IMAGE_SUFFIX_NONE_OVERWRITE = 2, } /** * @generated from enum livekit.EgressSourceType */ export declare enum EgressSourceType { /** * @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0; */ WEB = 0, /** * @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1; */ SDK = 1, } /** * @generated from enum livekit.EgressStatus */ export declare enum EgressStatus { /** * @generated from enum value: EGRESS_STARTING = 0; */ EGRESS_STARTING = 0, /** * @generated from enum value: EGRESS_ACTIVE = 1; */ EGRESS_ACTIVE = 1, /** * @generated from enum value: EGRESS_ENDING = 2; */ EGRESS_ENDING = 2, /** * @generated from enum value: EGRESS_COMPLETE = 3; */ EGRESS_COMPLETE = 3, /** * @generated from enum value: EGRESS_FAILED = 4; */ EGRESS_FAILED = 4, /** * @generated from enum value: EGRESS_ABORTED = 5; */ EGRESS_ABORTED = 5, /** * @generated from enum value: EGRESS_LIMIT_REACHED = 6; */ EGRESS_LIMIT_REACHED = 6, } /** * @generated from enum livekit.AudioMixing */ export declare enum AudioMixing { /** * @generated from enum value: DEFAULT_MIXING = 0; */ DEFAULT_MIXING = 0, /** * @generated from enum value: DUAL_CHANNEL_AGENT = 1; */ DUAL_CHANNEL_AGENT = 1, /** * @generated from enum value: DUAL_CHANNEL_ALTERNATE = 2; */ DUAL_CHANNEL_ALTERNATE = 2, } /** * @generated from message livekit.StartEgressRequest */ export declare class StartEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from oneof livekit.StartEgressRequest.source */ source: { /** * @generated from field: livekit.TemplateSource template = 2; */ value: TemplateSource; case: "template"; } | { /** * @generated from field: livekit.WebSource web = 3; */ value: WebSource; case: "web"; } | { /** * @generated from field: livekit.MediaSource media = 4; */ value: MediaSource; case: "media"; } | { case: undefined; value?: undefined }; /** * Optional — default H264_720P_30 * * @generated from oneof livekit.StartEgressRequest.encoding */ encoding: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 5; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 6; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * At least one required * * @generated from field: repeated livekit.Output outputs = 7; */ outputs: Output[]; /** * Request-level storage default * * @generated from field: livekit.StorageConfig storage = 8; */ storage?: StorageConfig; /** * Optional additional webhook config * * @generated from field: repeated livekit.WebhookConfig webhooks = 9; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StartEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StartEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StartEgressRequest; static fromJsonString(jsonString: string, options?: Partial): StartEgressRequest; static equals(a: StartEgressRequest | PlainMessage | undefined, b: StartEgressRequest | PlainMessage | undefined): boolean; } /** * Room composite recording via layout template. * Service generates token, constructs recorder URL, awaits start signal. * * @generated from message livekit.TemplateSource */ export declare class TemplateSource extends Message { /** * @generated from field: string layout = 1; */ layout: string; /** * @generated from field: bool audio_only = 2; */ audioOnly: boolean; /** * @generated from field: bool video_only = 3; */ videoOnly: boolean; /** * @generated from field: string custom_base_url = 4; */ customBaseUrl: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TemplateSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TemplateSource; static fromJson(jsonValue: JsonValue, options?: Partial): TemplateSource; static fromJsonString(jsonString: string, options?: Partial): TemplateSource; static equals(a: TemplateSource | PlainMessage | undefined, b: TemplateSource | PlainMessage | undefined): boolean; } /** * Record a custom URL via headless browser. * * @generated from message livekit.WebSource */ export declare class WebSource extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: bool audio_only = 2; */ audioOnly: boolean; /** * @generated from field: bool video_only = 3; */ videoOnly: boolean; /** * @generated from field: bool await_start_signal = 4; */ awaitStartSignal: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WebSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WebSource; static fromJson(jsonValue: JsonValue, options?: Partial): WebSource; static fromJsonString(jsonString: string, options?: Partial): WebSource; static equals(a: WebSource | PlainMessage | undefined, b: WebSource | PlainMessage | undefined): boolean; } /** * Capture tracks directly from a room via SDK. * Unifies deprecated Participant, TrackComposite, and Track egress. * * @generated from message livekit.MediaSource */ export declare class MediaSource extends Message { /** * @generated from oneof livekit.MediaSource.video */ video: { /** * @generated from field: string video_track_id = 1; */ value: string; case: "videoTrackId"; } | { /** * @generated from field: livekit.ParticipantVideo participant_video = 2; */ value: ParticipantVideo; case: "participantVideo"; } | { case: undefined; value?: undefined }; /** * @generated from field: livekit.AudioConfig audio = 3; */ audio?: AudioConfig; /** * @generated from field: livekit.DataConfig data = 4; */ data?: DataConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.MediaSource"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MediaSource; static fromJson(jsonValue: JsonValue, options?: Partial): MediaSource; static fromJsonString(jsonString: string, options?: Partial): MediaSource; static equals(a: MediaSource | PlainMessage | undefined, b: MediaSource | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantVideo */ export declare class ParticipantVideo extends Message { /** * @generated from field: string identity = 1; */ identity: string; /** * @generated from field: bool prefer_screen_share = 2; */ preferScreenShare: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantVideo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantVideo; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantVideo; static fromJsonString(jsonString: string, options?: Partial): ParticipantVideo; static equals(a: ParticipantVideo | PlainMessage | undefined, b: ParticipantVideo | PlainMessage | undefined): boolean; } /** * Unified audio selection and channel routing. * Each route specifies both which audio to capture and which channel to output to. * * @generated from message livekit.AudioConfig */ export declare class AudioConfig extends Message { /** * If empty, all audio captured in both channels. * If non-empty, only matching audio is captured and routed. Unmatched is excluded. * * @generated from field: repeated livekit.AudioRoute routes = 1; */ routes: AudioRoute[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AudioConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AudioConfig; static fromJson(jsonValue: JsonValue, options?: Partial): AudioConfig; static fromJsonString(jsonString: string, options?: Partial): AudioConfig; static equals(a: AudioConfig | PlainMessage | undefined, b: AudioConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AudioRoute */ export declare class AudioRoute extends Message { /** * @generated from oneof livekit.AudioRoute.match */ match: { /** * @generated from field: string track_id = 1; */ value: string; case: "trackId"; } | { /** * @generated from field: string participant_identity = 2; */ value: string; case: "participantIdentity"; } | { /** * @generated from field: livekit.ParticipantInfo.Kind participant_kind = 3; */ value: ParticipantInfo_Kind; case: "participantKind"; } | { case: undefined; value?: undefined }; /** * @generated from field: livekit.AudioChannel channel = 4; */ channel: AudioChannel; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AudioRoute"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AudioRoute; static fromJson(jsonValue: JsonValue, options?: Partial): AudioRoute; static fromJsonString(jsonString: string, options?: Partial): AudioRoute; static equals(a: AudioRoute | PlainMessage | undefined, b: AudioRoute | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataConfig */ export declare class DataConfig extends Message { /** * If empty, all data tracks captured. * If non-empty, only matching data tracks are captured. * * @generated from field: repeated livekit.DataSelector selectors = 1; */ selectors: DataSelector[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataConfig; static fromJson(jsonValue: JsonValue, options?: Partial): DataConfig; static fromJsonString(jsonString: string, options?: Partial): DataConfig; static equals(a: DataConfig | PlainMessage | undefined, b: DataConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DataSelector */ export declare class DataSelector extends Message { /** * @generated from oneof livekit.DataSelector.match */ match: { /** * @generated from field: string track_id = 1; */ value: string; case: "trackId"; } | { /** * @generated from field: string participant_identity = 2; */ value: string; case: "participantIdentity"; } | { /** * @generated from field: string topic = 3; */ value: string; case: "topic"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DataSelector"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DataSelector; static fromJson(jsonValue: JsonValue, options?: Partial): DataSelector; static fromJsonString(jsonString: string, options?: Partial): DataSelector; static equals(a: DataSelector | PlainMessage | undefined, b: DataSelector | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EncodingOptions */ export declare class EncodingOptions extends Message { /** * (default 1920) * * @generated from field: int32 width = 1; */ width: number; /** * (default 1080) * * @generated from field: int32 height = 2; */ height: number; /** * (default 24) * * @generated from field: int32 depth = 3; */ depth: number; /** * (default 30) * * @generated from field: int32 framerate = 4; */ framerate: number; /** * (default OPUS) * * @generated from field: livekit.AudioCodec audio_codec = 5; */ audioCodec: AudioCodec; /** * (default 128) * * @generated from field: int32 audio_bitrate = 6; */ audioBitrate: number; /** * (default 44100) * * @generated from field: int32 audio_frequency = 7; */ audioFrequency: number; /** * (default H264_MAIN) * * @generated from field: livekit.VideoCodec video_codec = 8; */ videoCodec: VideoCodec; /** * (default 4500) * * @generated from field: int32 video_bitrate = 9; */ videoBitrate: number; /** * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) * * @generated from field: double key_frame_interval = 10; */ keyFrameInterval: number; /** * --- Deprecated --- * * quality setting on audio encoder * * @generated from field: int32 audio_quality = 11 [deprecated = true]; * @deprecated */ audioQuality: number; /** * quality setting on video encoder * * @generated from field: int32 video_quality = 12 [deprecated = true]; * @deprecated */ videoQuality: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EncodingOptions"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EncodingOptions; static fromJson(jsonValue: JsonValue, options?: Partial): EncodingOptions; static fromJsonString(jsonString: string, options?: Partial): EncodingOptions; static equals(a: EncodingOptions | PlainMessage | undefined, b: EncodingOptions | PlainMessage | undefined): boolean; } /** * @generated from message livekit.Output */ export declare class Output extends Message { /** * @generated from oneof livekit.Output.config */ config: { /** * @generated from field: livekit.FileOutput file = 1; */ value: FileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 2; */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 3; */ value: SegmentedFileOutput; case: "segments"; } | { /** * 5 reserved for mcap; * * @generated from field: livekit.ImageOutput images = 4; */ value: ImageOutput; case: "images"; } | { case: undefined; value?: undefined }; /** * Per-output storage override (falls back to request, then server) * * @generated from field: livekit.StorageConfig storage = 6; */ storage?: StorageConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.Output"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Output; static fromJson(jsonValue: JsonValue, options?: Partial): Output; static fromJsonString(jsonString: string, options?: Partial): Output; static equals(a: Output | PlainMessage | undefined, b: Output | PlainMessage | undefined): boolean; } /** * Unified file output — replaces v1 EncodedFileOutput and DirectFileOutput. * Whether transcoded depends on encoding options on the request. * * @generated from message livekit.FileOutput */ export declare class FileOutput extends Message { /** * @generated from field: livekit.EncodedFileType file_type = 1; */ fileType: EncodedFileType; /** * @generated from field: string filepath = 2; */ filepath: string; /** * @generated from field: bool disable_manifest = 3; */ disableManifest: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.FileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): FileOutput; static fromJsonString(jsonString: string, options?: Partial): FileOutput; static equals(a: FileOutput | PlainMessage | undefined, b: FileOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamOutput */ export declare class StreamOutput extends Message { /** * required * * @generated from field: livekit.StreamProtocol protocol = 1; */ protocol: StreamProtocol; /** * required * * @generated from field: repeated string urls = 2; */ urls: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamOutput; static fromJson(jsonValue: JsonValue, options?: Partial): StreamOutput; static fromJsonString(jsonString: string, options?: Partial): StreamOutput; static equals(a: StreamOutput | PlainMessage | undefined, b: StreamOutput | PlainMessage | undefined): boolean; } /** * Used to generate HLS segments or other kind of segmented output * * @generated from message livekit.SegmentedFileOutput */ export declare class SegmentedFileOutput extends Message { /** * (optional) * * @generated from field: livekit.SegmentedFileProtocol protocol = 1; */ protocol: SegmentedFileProtocol; /** * (optional) * * @generated from field: string filename_prefix = 2; */ filenamePrefix: string; /** * (optional) * * @generated from field: string playlist_name = 3; */ playlistName: string; /** * (optional, disabled if not provided). Path of a live playlist * * @generated from field: string live_playlist_name = 11; */ livePlaylistName: string; /** * in seconds (optional) * * @generated from field: uint32 segment_duration = 4; */ segmentDuration: number; /** * (optional, default INDEX) * * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10; */ filenameSuffix: SegmentedFileSuffix; /** * disable upload of manifest file (default false) * * @generated from field: bool disable_manifest = 8; */ disableManifest: boolean; /** * @generated from oneof livekit.SegmentedFileOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 5; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 6; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 7; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 9; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SegmentedFileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SegmentedFileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): SegmentedFileOutput; static fromJsonString(jsonString: string, options?: Partial): SegmentedFileOutput; static equals(a: SegmentedFileOutput | PlainMessage | undefined, b: SegmentedFileOutput | PlainMessage | undefined): boolean; } /** * Capture images at a specified interval * * @generated from message livekit.ImageOutput */ export declare class ImageOutput extends Message { /** * in seconds (required) * * @generated from field: uint32 capture_interval = 1; */ captureInterval: number; /** * (optional, defaults to track width) * * @generated from field: int32 width = 2; */ width: number; /** * (optional, defaults to track height) * * @generated from field: int32 height = 3; */ height: number; /** * (optional) * * @generated from field: string filename_prefix = 4; */ filenamePrefix: string; /** * (optional, default INDEX) * * @generated from field: livekit.ImageFileSuffix filename_suffix = 5; */ filenameSuffix: ImageFileSuffix; /** * (optional) * * @generated from field: livekit.ImageCodec image_codec = 6; */ imageCodec: ImageCodec; /** * disable upload of manifest file (default false) * * @generated from field: bool disable_manifest = 7; */ disableManifest: boolean; /** * @generated from oneof livekit.ImageOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 8; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 9; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 10; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 11; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ImageOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ImageOutput; static fromJson(jsonValue: JsonValue, options?: Partial): ImageOutput; static fromJsonString(jsonString: string, options?: Partial): ImageOutput; static equals(a: ImageOutput | PlainMessage | undefined, b: ImageOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StorageConfig */ export declare class StorageConfig extends Message { /** * @generated from oneof livekit.StorageConfig.provider */ provider: { /** * @generated from field: livekit.S3Upload s3 = 1; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 2; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 3; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 4; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StorageConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StorageConfig; static fromJson(jsonValue: JsonValue, options?: Partial): StorageConfig; static fromJsonString(jsonString: string, options?: Partial): StorageConfig; static equals(a: StorageConfig | PlainMessage | undefined, b: StorageConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.S3Upload */ export declare class S3Upload extends Message { /** * @generated from field: string access_key = 1; */ accessKey: string; /** * @generated from field: string secret = 2; */ secret: string; /** * @generated from field: string session_token = 11; */ sessionToken: string; /** * ARN of the role to assume for file upload. Egress will make an AssumeRole API call using the provided access_key and secret to assume that role. On LiveKit cloud, this is only available on accounts that have the feature enabled * * @generated from field: string assume_role_arn = 12; */ assumeRoleArn: string; /** * ExternalID to use when assuming role for upload * * @generated from field: string assume_role_external_id = 13; */ assumeRoleExternalId: string; /** * @generated from field: string region = 3; */ region: string; /** * @generated from field: string endpoint = 4; */ endpoint: string; /** * @generated from field: string bucket = 5; */ bucket: string; /** * @generated from field: bool force_path_style = 6; */ forcePathStyle: boolean; /** * @generated from field: map metadata = 7; */ metadata: { [key: string]: string }; /** * @generated from field: string tagging = 8; */ tagging: string; /** * Content-Disposition header * * @generated from field: string content_disposition = 9; */ contentDisposition: string; /** * @generated from field: livekit.ProxyConfig proxy = 10; */ proxy?: ProxyConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.S3Upload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): S3Upload; static fromJson(jsonValue: JsonValue, options?: Partial): S3Upload; static fromJsonString(jsonString: string, options?: Partial): S3Upload; static equals(a: S3Upload | PlainMessage | undefined, b: S3Upload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.GCPUpload */ export declare class GCPUpload extends Message { /** * service account credentials serialized in JSON "credentials.json" * * @generated from field: string credentials = 1; */ credentials: string; /** * @generated from field: string bucket = 2; */ bucket: string; /** * @generated from field: livekit.ProxyConfig proxy = 3; */ proxy?: ProxyConfig; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.GCPUpload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GCPUpload; static fromJson(jsonValue: JsonValue, options?: Partial): GCPUpload; static fromJsonString(jsonString: string, options?: Partial): GCPUpload; static equals(a: GCPUpload | PlainMessage | undefined, b: GCPUpload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AzureBlobUpload */ export declare class AzureBlobUpload extends Message { /** * @generated from field: string account_name = 1; */ accountName: string; /** * @generated from field: string account_key = 2; */ accountKey: string; /** * @generated from field: string container_name = 3; */ containerName: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AzureBlobUpload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AzureBlobUpload; static fromJson(jsonValue: JsonValue, options?: Partial): AzureBlobUpload; static fromJsonString(jsonString: string, options?: Partial): AzureBlobUpload; static equals(a: AzureBlobUpload | PlainMessage | undefined, b: AzureBlobUpload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AliOSSUpload */ export declare class AliOSSUpload extends Message { /** * @generated from field: string access_key = 1; */ accessKey: string; /** * @generated from field: string secret = 2; */ secret: string; /** * @generated from field: string region = 3; */ region: string; /** * @generated from field: string endpoint = 4; */ endpoint: string; /** * @generated from field: string bucket = 5; */ bucket: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AliOSSUpload"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AliOSSUpload; static fromJson(jsonValue: JsonValue, options?: Partial): AliOSSUpload; static fromJsonString(jsonString: string, options?: Partial): AliOSSUpload; static equals(a: AliOSSUpload | PlainMessage | undefined, b: AliOSSUpload | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ProxyConfig */ export declare class ProxyConfig extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: string username = 2; */ username: string; /** * @generated from field: string password = 3; */ password: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ProxyConfig"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ProxyConfig; static fromJson(jsonValue: JsonValue, options?: Partial): ProxyConfig; static fromJsonString(jsonString: string, options?: Partial): ProxyConfig; static equals(a: ProxyConfig | PlainMessage | undefined, b: ProxyConfig | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListEgressRequest */ export declare class ListEgressRequest extends Message { /** * (optional, filter by room name) * * @generated from field: string room_name = 1; */ roomName: string; /** * (optional, filter by egress ID) * * @generated from field: string egress_id = 2; */ egressId: string; /** * (optional, list active egress only) * * @generated from field: bool active = 3; */ active: boolean; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressRequest; static fromJsonString(jsonString: string, options?: Partial): ListEgressRequest; static equals(a: ListEgressRequest | PlainMessage | undefined, b: ListEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ListEgressResponse */ export declare class ListEgressResponse extends Message { /** * @generated from field: repeated livekit.EgressInfo items = 1; */ items: EgressInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ListEgressResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListEgressResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListEgressResponse; static fromJsonString(jsonString: string, options?: Partial): ListEgressResponse; static equals(a: ListEgressResponse | PlainMessage | undefined, b: ListEgressResponse | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateEgressRequest */ export declare class UpdateEgressRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: string url = 2; */ url: string; /** * @generated from field: string layout = 3; */ layout: string; /** * @generated from field: repeated string add_stream_urls = 4; */ addStreamUrls: string[]; /** * @generated from field: repeated string remove_stream_urls = 5; */ removeStreamUrls: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateEgressRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateEgressRequest; static equals(a: UpdateEgressRequest | PlainMessage | undefined, b: UpdateEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StopEgressRequest */ export declare class StopEgressRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StopEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StopEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): StopEgressRequest; static fromJsonString(jsonString: string, options?: Partial): StopEgressRequest; static equals(a: StopEgressRequest | PlainMessage | undefined, b: StopEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EgressInfo */ export declare class EgressInfo extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: string room_id = 2; */ roomId: string; /** * @generated from field: string room_name = 13; */ roomName: string; /** * @generated from field: livekit.EgressSourceType source_type = 26; */ sourceType: EgressSourceType; /** * @generated from field: livekit.EgressStatus status = 3; */ status: EgressStatus; /** * @generated from field: int64 started_at = 10; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 11; */ endedAt: bigint; /** * @generated from field: int64 updated_at = 18; */ updatedAt: bigint; /** * @generated from oneof livekit.EgressInfo.request */ request: { /** * StartEgressRequest egress = 29; * * @generated from field: livekit.ExportReplayRequest replay = 30; */ value: ExportReplayRequest; case: "replay"; } | { /** * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4; */ value: RoomCompositeEgressRequest; case: "roomComposite"; } | { /** * @generated from field: livekit.WebEgressRequest web = 14; */ value: WebEgressRequest; case: "web"; } | { /** * @generated from field: livekit.ParticipantEgressRequest participant = 19; */ value: ParticipantEgressRequest; case: "participant"; } | { /** * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5; */ value: TrackCompositeEgressRequest; case: "trackComposite"; } | { /** * @generated from field: livekit.TrackEgressRequest track = 6; */ value: TrackEgressRequest; case: "track"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.StreamInfo stream_results = 15; */ streamResults: StreamInfo[]; /** * @generated from field: repeated livekit.FileInfo file_results = 16; */ fileResults: FileInfo[]; /** * @generated from field: repeated livekit.SegmentsInfo segment_results = 17; */ segmentResults: SegmentsInfo[]; /** * @generated from field: repeated livekit.ImagesInfo image_results = 20; */ imageResults: ImagesInfo[]; /** * @generated from field: string error = 9; */ error: string; /** * @generated from field: int32 error_code = 22; */ errorCode: number; /** * @generated from field: string details = 21; */ details: string; /** * @generated from field: string manifest_location = 23; */ manifestLocation: string; /** * @generated from field: bool backup_storage_used = 25; */ backupStorageUsed: boolean; /** * @generated from field: int32 retry_count = 27; */ retryCount: number; /** * --- Deprecated --- * * @generated from oneof livekit.EgressInfo.result */ result: { /** * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true]; * @deprecated */ value: StreamInfoList; case: "stream"; } | { /** * @generated from field: livekit.FileInfo file = 8 [deprecated = true]; * @deprecated */ value: FileInfo; case: "file"; } | { /** * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true]; * @deprecated */ value: SegmentsInfo; case: "segments"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EgressInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EgressInfo; static fromJson(jsonValue: JsonValue, options?: Partial): EgressInfo; static fromJsonString(jsonString: string, options?: Partial): EgressInfo; static equals(a: EgressInfo | PlainMessage | undefined, b: EgressInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamInfo */ export declare class StreamInfo extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: int64 started_at = 2; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 3; */ endedAt: bigint; /** * @generated from field: int64 duration = 4; */ duration: bigint; /** * @generated from field: livekit.StreamInfo.Status status = 5; */ status: StreamInfo_Status; /** * @generated from field: string error = 6; */ error: string; /** * @generated from field: int64 last_retry_at = 7; */ lastRetryAt: bigint; /** * @generated from field: uint32 retries = 8; */ retries: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfo; static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfo; static fromJsonString(jsonString: string, options?: Partial): StreamInfo; static equals(a: StreamInfo | PlainMessage | undefined, b: StreamInfo | PlainMessage | undefined): boolean; } /** * @generated from enum livekit.StreamInfo.Status */ export declare enum StreamInfo_Status { /** * @generated from enum value: ACTIVE = 0; */ ACTIVE = 0, /** * @generated from enum value: FINISHED = 1; */ FINISHED = 1, /** * @generated from enum value: FAILED = 2; */ FAILED = 2, } /** * @generated from message livekit.FileInfo */ export declare class FileInfo extends Message { /** * @generated from field: string filename = 1; */ filename: string; /** * @generated from field: int64 started_at = 2; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 3; */ endedAt: bigint; /** * @generated from field: int64 duration = 6; */ duration: bigint; /** * @generated from field: int64 size = 4; */ size: bigint; /** * @generated from field: string location = 5; */ location: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.FileInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): FileInfo; static fromJson(jsonValue: JsonValue, options?: Partial): FileInfo; static fromJsonString(jsonString: string, options?: Partial): FileInfo; static equals(a: FileInfo | PlainMessage | undefined, b: FileInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.SegmentsInfo */ export declare class SegmentsInfo extends Message { /** * @generated from field: string playlist_name = 1; */ playlistName: string; /** * @generated from field: string live_playlist_name = 8; */ livePlaylistName: string; /** * @generated from field: int64 duration = 2; */ duration: bigint; /** * @generated from field: int64 size = 3; */ size: bigint; /** * @generated from field: string playlist_location = 4; */ playlistLocation: string; /** * @generated from field: string live_playlist_location = 9; */ livePlaylistLocation: string; /** * @generated from field: int64 segment_count = 5; */ segmentCount: bigint; /** * @generated from field: int64 started_at = 6; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 7; */ endedAt: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.SegmentsInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SegmentsInfo; static fromJson(jsonValue: JsonValue, options?: Partial): SegmentsInfo; static fromJsonString(jsonString: string, options?: Partial): SegmentsInfo; static equals(a: SegmentsInfo | PlainMessage | undefined, b: SegmentsInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ImagesInfo */ export declare class ImagesInfo extends Message { /** * @generated from field: string filename_prefix = 4; */ filenamePrefix: string; /** * @generated from field: int64 image_count = 1; */ imageCount: bigint; /** * @generated from field: int64 started_at = 2; */ startedAt: bigint; /** * @generated from field: int64 ended_at = 3; */ endedAt: bigint; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ImagesInfo"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ImagesInfo; static fromJson(jsonValue: JsonValue, options?: Partial): ImagesInfo; static fromJsonString(jsonString: string, options?: Partial): ImagesInfo; static equals(a: ImagesInfo | PlainMessage | undefined, b: ImagesInfo | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AutoParticipantEgress */ export declare class AutoParticipantEgress extends Message { /** * @generated from oneof livekit.AutoParticipantEgress.options */ options: { /** * (default H264_720P_30) * * @generated from field: livekit.EncodingOptionsPreset preset = 1; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * (optional) * * @generated from field: livekit.EncodingOptions advanced = 2; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4; */ segmentOutputs: SegmentedFileOutput[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AutoParticipantEgress"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AutoParticipantEgress; static fromJson(jsonValue: JsonValue, options?: Partial): AutoParticipantEgress; static fromJsonString(jsonString: string, options?: Partial): AutoParticipantEgress; static equals(a: AutoParticipantEgress | PlainMessage | undefined, b: AutoParticipantEgress | PlainMessage | undefined): boolean; } /** * @generated from message livekit.AutoTrackEgress */ export declare class AutoTrackEgress extends Message { /** * see docs for templating (default {track_id}-{time}) * * @generated from field: string filepath = 1; */ filepath: string; /** * disables upload of json manifest file (default false) * * @generated from field: bool disable_manifest = 5; */ disableManifest: boolean; /** * @generated from oneof livekit.AutoTrackEgress.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 2; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 3; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 4; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 6; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.AutoTrackEgress"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AutoTrackEgress; static fromJson(jsonValue: JsonValue, options?: Partial): AutoTrackEgress; static fromJsonString(jsonString: string, options?: Partial): AutoTrackEgress; static equals(a: AutoTrackEgress | PlainMessage | undefined, b: AutoTrackEgress | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ExportReplayRequest */ export declare class ExportReplayRequest extends Message { /** * @generated from field: string replay_id = 1; */ replayId: string; /** * @generated from field: int64 start_offset_ms = 2; */ startOffsetMs: bigint; /** * @generated from field: int64 end_offset_ms = 3; */ endOffsetMs: bigint; /** * @generated from oneof livekit.ExportReplayRequest.source */ source: { /** * @generated from field: livekit.TemplateSource template = 4; */ value: TemplateSource; case: "template"; } | { /** * @generated from field: livekit.WebSource web = 5; */ value: WebSource; case: "web"; } | { /** * @generated from field: livekit.MediaSource media = 6; */ value: MediaSource; case: "media"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.ExportReplayRequest.encoding */ encoding: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 7; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 8; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.Output outputs = 9; */ outputs: Output[]; /** * @generated from field: livekit.StorageConfig storage = 10; */ storage?: StorageConfig; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 11; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ExportReplayRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ExportReplayRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ExportReplayRequest; static fromJsonString(jsonString: string, options?: Partial): ExportReplayRequest; static equals(a: ExportReplayRequest | PlainMessage | undefined, b: ExportReplayRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.RoomCompositeEgressRequest */ export declare class RoomCompositeEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string layout = 2; */ layout: string; /** * @generated from field: bool audio_only = 3; */ audioOnly: boolean; /** * @generated from field: livekit.AudioMixing audio_mixing = 15; */ audioMixing: AudioMixing; /** * @generated from field: bool video_only = 4; */ videoOnly: boolean; /** * @generated from field: string custom_base_url = 5; */ customBaseUrl: string; /** * @generated from oneof livekit.RoomCompositeEgressRequest.output */ output: { /** * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true]; * @deprecated */ value: EncodedFileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true]; * @deprecated */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true]; * @deprecated */ value: SegmentedFileOutput; case: "segments"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.RoomCompositeEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 8; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 9; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 14; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 16; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.RoomCompositeEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RoomCompositeEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RoomCompositeEgressRequest; static fromJsonString(jsonString: string, options?: Partial): RoomCompositeEgressRequest; static equals(a: RoomCompositeEgressRequest | PlainMessage | undefined, b: RoomCompositeEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.WebEgressRequest */ export declare class WebEgressRequest extends Message { /** * @generated from field: string url = 1; */ url: string; /** * @generated from field: bool audio_only = 2; */ audioOnly: boolean; /** * @generated from field: bool video_only = 3; */ videoOnly: boolean; /** * @generated from field: bool await_start_signal = 12; */ awaitStartSignal: boolean; /** * @generated from oneof livekit.WebEgressRequest.output */ output: { /** * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; * @deprecated */ value: EncodedFileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; * @deprecated */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true]; * @deprecated */ value: SegmentedFileOutput; case: "segments"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.WebEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 7; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 8; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 10; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 13; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 14; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.WebEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): WebEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): WebEgressRequest; static fromJsonString(jsonString: string, options?: Partial): WebEgressRequest; static equals(a: WebEgressRequest | PlainMessage | undefined, b: WebEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.ParticipantEgressRequest */ export declare class ParticipantEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string identity = 2; */ identity: string; /** * @generated from field: bool screen_share = 3; */ screenShare: boolean; /** * @generated from oneof livekit.ParticipantEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 4; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 5; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 7; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 9; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 10; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.ParticipantEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ParticipantEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ParticipantEgressRequest; static fromJsonString(jsonString: string, options?: Partial): ParticipantEgressRequest; static equals(a: ParticipantEgressRequest | PlainMessage | undefined, b: ParticipantEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackCompositeEgressRequest */ export declare class TrackCompositeEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string audio_track_id = 2; */ audioTrackId: string; /** * @generated from field: string video_track_id = 3; */ videoTrackId: string; /** * @generated from oneof livekit.TrackCompositeEgressRequest.output */ output: { /** * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true]; * @deprecated */ value: EncodedFileOutput; case: "file"; } | { /** * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true]; * @deprecated */ value: StreamOutput; case: "stream"; } | { /** * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true]; * @deprecated */ value: SegmentedFileOutput; case: "segments"; } | { case: undefined; value?: undefined }; /** * @generated from oneof livekit.TrackCompositeEgressRequest.options */ options: { /** * @generated from field: livekit.EncodingOptionsPreset preset = 6; */ value: EncodingOptionsPreset; case: "preset"; } | { /** * @generated from field: livekit.EncodingOptions advanced = 7; */ value: EncodingOptions; case: "advanced"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11; */ fileOutputs: EncodedFileOutput[]; /** * @generated from field: repeated livekit.StreamOutput stream_outputs = 12; */ streamOutputs: StreamOutput[]; /** * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13; */ segmentOutputs: SegmentedFileOutput[]; /** * @generated from field: repeated livekit.ImageOutput image_outputs = 14; */ imageOutputs: ImageOutput[]; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 15; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackCompositeEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackCompositeEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TrackCompositeEgressRequest; static fromJsonString(jsonString: string, options?: Partial): TrackCompositeEgressRequest; static equals(a: TrackCompositeEgressRequest | PlainMessage | undefined, b: TrackCompositeEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.TrackEgressRequest */ export declare class TrackEgressRequest extends Message { /** * @generated from field: string room_name = 1; */ roomName: string; /** * @generated from field: string track_id = 2; */ trackId: string; /** * @generated from oneof livekit.TrackEgressRequest.output */ output: { /** * @generated from field: livekit.DirectFileOutput file = 3; */ value: DirectFileOutput; case: "file"; } | { /** * @generated from field: string websocket_url = 4; */ value: string; case: "websocketUrl"; } | { case: undefined; value?: undefined }; /** * @generated from field: repeated livekit.WebhookConfig webhooks = 5; */ webhooks: WebhookConfig[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.TrackEgressRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): TrackEgressRequest; static fromJson(jsonValue: JsonValue, options?: Partial): TrackEgressRequest; static fromJsonString(jsonString: string, options?: Partial): TrackEgressRequest; static equals(a: TrackEgressRequest | PlainMessage | undefined, b: TrackEgressRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.DirectFileOutput */ export declare class DirectFileOutput extends Message { /** * @generated from field: string filepath = 1; */ filepath: string; /** * @generated from field: bool disable_manifest = 5; */ disableManifest: boolean; /** * @generated from oneof livekit.DirectFileOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 2; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 3; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 4; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 6; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.DirectFileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): DirectFileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): DirectFileOutput; static fromJsonString(jsonString: string, options?: Partial): DirectFileOutput; static equals(a: DirectFileOutput | PlainMessage | undefined, b: DirectFileOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.EncodedFileOutput */ export declare class EncodedFileOutput extends Message { /** * @generated from field: livekit.EncodedFileType file_type = 1; */ fileType: EncodedFileType; /** * @generated from field: string filepath = 2; */ filepath: string; /** * @generated from field: bool disable_manifest = 6; */ disableManifest: boolean; /** * @generated from oneof livekit.EncodedFileOutput.output */ output: { /** * @generated from field: livekit.S3Upload s3 = 3; */ value: S3Upload; case: "s3"; } | { /** * @generated from field: livekit.GCPUpload gcp = 4; */ value: GCPUpload; case: "gcp"; } | { /** * @generated from field: livekit.AzureBlobUpload azure = 5; */ value: AzureBlobUpload; case: "azure"; } | { /** * @generated from field: livekit.AliOSSUpload aliOSS = 7; */ value: AliOSSUpload; case: "aliOSS"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.EncodedFileOutput"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): EncodedFileOutput; static fromJson(jsonValue: JsonValue, options?: Partial): EncodedFileOutput; static fromJsonString(jsonString: string, options?: Partial): EncodedFileOutput; static equals(a: EncodedFileOutput | PlainMessage | undefined, b: EncodedFileOutput | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateLayoutRequest */ export declare class UpdateLayoutRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: string layout = 2; */ layout: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateLayoutRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateLayoutRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateLayoutRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateLayoutRequest; static equals(a: UpdateLayoutRequest | PlainMessage | undefined, b: UpdateLayoutRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.UpdateStreamRequest */ export declare class UpdateStreamRequest extends Message { /** * @generated from field: string egress_id = 1; */ egressId: string; /** * @generated from field: repeated string add_output_urls = 2; */ addOutputUrls: string[]; /** * @generated from field: repeated string remove_output_urls = 3; */ removeOutputUrls: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.UpdateStreamRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): UpdateStreamRequest; static fromJson(jsonValue: JsonValue, options?: Partial): UpdateStreamRequest; static fromJsonString(jsonString: string, options?: Partial): UpdateStreamRequest; static equals(a: UpdateStreamRequest | PlainMessage | undefined, b: UpdateStreamRequest | PlainMessage | undefined): boolean; } /** * @generated from message livekit.StreamInfoList */ export declare class StreamInfoList extends Message { /** * @generated from field: repeated livekit.StreamInfo info = 1; */ info: StreamInfo[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "livekit.StreamInfoList"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): StreamInfoList; static fromJson(jsonValue: JsonValue, options?: Partial): StreamInfoList; static fromJsonString(jsonString: string, options?: Partial): StreamInfoList; static equals(a: StreamInfoList | PlainMessage | undefined, b: StreamInfoList | PlainMessage | undefined): boolean; }