@livekit/protocol 1.45.1 → 1.45.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,85 +19,114 @@
19
19
 
20
20
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
21
  import { Message, proto3 } from "@bufbuild/protobuf";
22
- import type { AudioCodec, ImageCodec, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
22
+ import type { AudioCodec, ImageCodec, ParticipantInfo_Kind, VideoCodec, WebhookConfig } from "./livekit_models_pb.js";
23
23
 
24
24
  /**
25
- * @generated from enum livekit.EncodedFileType
25
+ * @generated from enum livekit.AudioChannel
26
26
  */
27
- export declare enum EncodedFileType {
27
+ export declare enum AudioChannel {
28
28
  /**
29
- * file type chosen based on codecs
29
+ * @generated from enum value: AUDIO_CHANNEL_BOTH = 0;
30
+ */
31
+ BOTH = 0,
32
+
33
+ /**
34
+ * @generated from enum value: AUDIO_CHANNEL_LEFT = 1;
35
+ */
36
+ LEFT = 1,
37
+
38
+ /**
39
+ * @generated from enum value: AUDIO_CHANNEL_RIGHT = 2;
40
+ */
41
+ RIGHT = 2,
42
+ }
43
+
44
+ /**
45
+ * @generated from enum livekit.EncodingOptionsPreset
46
+ */
47
+ export declare enum EncodingOptionsPreset {
48
+ /**
49
+ * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS
30
50
  *
31
- * @generated from enum value: DEFAULT_FILETYPE = 0;
51
+ * @generated from enum value: H264_720P_30 = 0;
32
52
  */
33
- DEFAULT_FILETYPE = 0,
53
+ H264_720P_30 = 0,
34
54
 
35
55
  /**
36
- * @generated from enum value: MP4 = 1;
56
+ * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS
57
+ *
58
+ * @generated from enum value: H264_720P_60 = 1;
37
59
  */
38
- MP4 = 1,
60
+ H264_720P_60 = 1,
39
61
 
40
62
  /**
41
- * @generated from enum value: OGG = 2;
63
+ * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS
64
+ *
65
+ * @generated from enum value: H264_1080P_30 = 2;
42
66
  */
43
- OGG = 2,
67
+ H264_1080P_30 = 2,
44
68
 
45
69
  /**
46
- * @generated from enum value: MP3 = 3;
70
+ * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS
71
+ *
72
+ * @generated from enum value: H264_1080P_60 = 3;
47
73
  */
48
- MP3 = 3,
49
- }
74
+ H264_1080P_60 = 3,
50
75
 
51
- /**
52
- * @generated from enum livekit.SegmentedFileProtocol
53
- */
54
- export declare enum SegmentedFileProtocol {
55
76
  /**
56
- * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;
77
+ * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS
78
+ *
79
+ * @generated from enum value: PORTRAIT_H264_720P_30 = 4;
57
80
  */
58
- DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,
81
+ PORTRAIT_H264_720P_30 = 4,
59
82
 
60
83
  /**
61
- * @generated from enum value: HLS_PROTOCOL = 1;
84
+ * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS
85
+ *
86
+ * @generated from enum value: PORTRAIT_H264_720P_60 = 5;
62
87
  */
63
- HLS_PROTOCOL = 1,
64
- }
88
+ PORTRAIT_H264_720P_60 = 5,
65
89
 
66
- /**
67
- * @generated from enum livekit.SegmentedFileSuffix
68
- */
69
- export declare enum SegmentedFileSuffix {
70
90
  /**
71
- * @generated from enum value: INDEX = 0;
91
+ * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS
92
+ *
93
+ * @generated from enum value: PORTRAIT_H264_1080P_30 = 6;
72
94
  */
73
- INDEX = 0,
95
+ PORTRAIT_H264_1080P_30 = 6,
74
96
 
75
97
  /**
76
- * @generated from enum value: TIMESTAMP = 1;
98
+ * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS
99
+ *
100
+ * @generated from enum value: PORTRAIT_H264_1080P_60 = 7;
77
101
  */
78
- TIMESTAMP = 1,
102
+ PORTRAIT_H264_1080P_60 = 7,
79
103
  }
80
104
 
81
105
  /**
82
- * @generated from enum livekit.ImageFileSuffix
106
+ * @generated from enum livekit.EncodedFileType
83
107
  */
84
- export declare enum ImageFileSuffix {
108
+ export declare enum EncodedFileType {
85
109
  /**
86
- * @generated from enum value: IMAGE_SUFFIX_INDEX = 0;
110
+ * file type chosen based on codecs
111
+ *
112
+ * @generated from enum value: DEFAULT_FILETYPE = 0;
87
113
  */
88
- IMAGE_SUFFIX_INDEX = 0,
114
+ DEFAULT_FILETYPE = 0,
89
115
 
90
116
  /**
91
- * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;
117
+ * @generated from enum value: MP4 = 1;
92
118
  */
93
- IMAGE_SUFFIX_TIMESTAMP = 1,
119
+ MP4 = 1,
94
120
 
95
121
  /**
96
- * Do not append any suffix and overwrite the existing image with the latest
97
- *
98
- * @generated from enum value: IMAGE_SUFFIX_NONE_OVERWRITE = 2;
122
+ * @generated from enum value: OGG = 2;
99
123
  */
100
- IMAGE_SUFFIX_NONE_OVERWRITE = 2,
124
+ OGG = 2,
125
+
126
+ /**
127
+ * @generated from enum value: MP3 = 3;
128
+ */
129
+ MP3 = 3,
101
130
  }
102
131
 
103
132
  /**
@@ -120,93 +149,78 @@ export declare enum StreamProtocol {
120
149
  * @generated from enum value: SRT = 2;
121
150
  */
122
151
  SRT = 2,
123
- }
124
152
 
125
- /**
126
- * @generated from enum livekit.AudioMixing
127
- */
128
- export declare enum AudioMixing {
129
153
  /**
130
- * all users are mixed together
131
- *
132
- * @generated from enum value: DEFAULT_MIXING = 0;
154
+ * @generated from enum value: WEBSOCKET = 3;
133
155
  */
134
- DEFAULT_MIXING = 0,
156
+ WEBSOCKET = 3,
157
+ }
135
158
 
159
+ /**
160
+ * @generated from enum livekit.SegmentedFileProtocol
161
+ */
162
+ export declare enum SegmentedFileProtocol {
136
163
  /**
137
- * agent audio in the left channel, all other audio in the right channel
138
- *
139
- * @generated from enum value: DUAL_CHANNEL_AGENT = 1;
164
+ * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;
140
165
  */
141
- DUAL_CHANNEL_AGENT = 1,
166
+ DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,
142
167
 
143
168
  /**
144
- * each new audio track alternates between left and right channels
145
- *
146
- * @generated from enum value: DUAL_CHANNEL_ALTERNATE = 2;
169
+ * @generated from enum value: HLS_PROTOCOL = 1;
147
170
  */
148
- DUAL_CHANNEL_ALTERNATE = 2,
171
+ HLS_PROTOCOL = 1,
149
172
  }
150
173
 
151
174
  /**
152
- * @generated from enum livekit.EncodingOptionsPreset
175
+ * @generated from enum livekit.SegmentedFileSuffix
153
176
  */
154
- export declare enum EncodingOptionsPreset {
155
- /**
156
- * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS
157
- *
158
- * @generated from enum value: H264_720P_30 = 0;
159
- */
160
- H264_720P_30 = 0,
161
-
177
+ export declare enum SegmentedFileSuffix {
162
178
  /**
163
- * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS
164
- *
165
- * @generated from enum value: H264_720P_60 = 1;
179
+ * @generated from enum value: INDEX = 0;
166
180
  */
167
- H264_720P_60 = 1,
181
+ INDEX = 0,
168
182
 
169
183
  /**
170
- * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS
171
- *
172
- * @generated from enum value: H264_1080P_30 = 2;
184
+ * @generated from enum value: TIMESTAMP = 1;
173
185
  */
174
- H264_1080P_30 = 2,
186
+ TIMESTAMP = 1,
187
+ }
175
188
 
189
+ /**
190
+ * @generated from enum livekit.ImageFileSuffix
191
+ */
192
+ export declare enum ImageFileSuffix {
176
193
  /**
177
- * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS
178
- *
179
- * @generated from enum value: H264_1080P_60 = 3;
194
+ * @generated from enum value: IMAGE_SUFFIX_INDEX = 0;
180
195
  */
181
- H264_1080P_60 = 3,
196
+ IMAGE_SUFFIX_INDEX = 0,
182
197
 
183
198
  /**
184
- * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS
185
- *
186
- * @generated from enum value: PORTRAIT_H264_720P_30 = 4;
199
+ * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;
187
200
  */
188
- PORTRAIT_H264_720P_30 = 4,
201
+ IMAGE_SUFFIX_TIMESTAMP = 1,
189
202
 
190
203
  /**
191
- * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS
204
+ * Do not append any suffix and overwrite the existing image with the latest
192
205
  *
193
- * @generated from enum value: PORTRAIT_H264_720P_60 = 5;
206
+ * @generated from enum value: IMAGE_SUFFIX_NONE_OVERWRITE = 2;
194
207
  */
195
- PORTRAIT_H264_720P_60 = 5,
208
+ IMAGE_SUFFIX_NONE_OVERWRITE = 2,
209
+ }
196
210
 
211
+ /**
212
+ * @generated from enum livekit.EgressSourceType
213
+ */
214
+ export declare enum EgressSourceType {
197
215
  /**
198
- * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS
199
- *
200
- * @generated from enum value: PORTRAIT_H264_1080P_30 = 6;
216
+ * @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0;
201
217
  */
202
- PORTRAIT_H264_1080P_30 = 6,
218
+ WEB = 0,
203
219
 
204
220
  /**
205
- * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS
206
- *
207
- * @generated from enum value: PORTRAIT_H264_1080P_60 = 7;
221
+ * @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1;
208
222
  */
209
- PORTRAIT_H264_1080P_60 = 7,
223
+ SDK = 1,
210
224
  }
211
225
 
212
226
  /**
@@ -250,165 +264,160 @@ export declare enum EgressStatus {
250
264
  }
251
265
 
252
266
  /**
253
- * @generated from enum livekit.EgressSourceType
267
+ * @generated from enum livekit.AudioMixing
254
268
  */
255
- export declare enum EgressSourceType {
269
+ export declare enum AudioMixing {
256
270
  /**
257
- * @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0;
271
+ * @generated from enum value: DEFAULT_MIXING = 0;
258
272
  */
259
- WEB = 0,
273
+ DEFAULT_MIXING = 0,
260
274
 
261
275
  /**
262
- * @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1;
276
+ * @generated from enum value: DUAL_CHANNEL_AGENT = 1;
263
277
  */
264
- SDK = 1,
278
+ DUAL_CHANNEL_AGENT = 1,
279
+
280
+ /**
281
+ * @generated from enum value: DUAL_CHANNEL_ALTERNATE = 2;
282
+ */
283
+ DUAL_CHANNEL_ALTERNATE = 2,
265
284
  }
266
285
 
267
286
  /**
268
- * composite using a web browser
269
- *
270
- * @generated from message livekit.RoomCompositeEgressRequest
287
+ * @generated from message livekit.StartEgressRequest
271
288
  */
272
- export declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgressRequest> {
289
+ export declare class StartEgressRequest extends Message<StartEgressRequest> {
273
290
  /**
274
- * required
275
- *
276
291
  * @generated from field: string room_name = 1;
277
292
  */
278
293
  roomName: string;
279
294
 
280
295
  /**
281
- * (optional)
282
- *
283
- * @generated from field: string layout = 2;
296
+ * @generated from oneof livekit.StartEgressRequest.source
284
297
  */
285
- layout: string;
298
+ source: {
299
+ /**
300
+ * @generated from field: livekit.TemplateSource template = 2;
301
+ */
302
+ value: TemplateSource;
303
+ case: "template";
304
+ } | {
305
+ /**
306
+ * @generated from field: livekit.WebSource web = 3;
307
+ */
308
+ value: WebSource;
309
+ case: "web";
310
+ } | {
311
+ /**
312
+ * @generated from field: livekit.MediaSource media = 4;
313
+ */
314
+ value: MediaSource;
315
+ case: "media";
316
+ } | { case: undefined; value?: undefined };
286
317
 
287
318
  /**
288
- * (default false)
319
+ * Optional — default H264_720P_30
289
320
  *
290
- * @generated from field: bool audio_only = 3;
321
+ * @generated from oneof livekit.StartEgressRequest.encoding
291
322
  */
292
- audioOnly: boolean;
323
+ encoding: {
324
+ /**
325
+ * @generated from field: livekit.EncodingOptionsPreset preset = 5;
326
+ */
327
+ value: EncodingOptionsPreset;
328
+ case: "preset";
329
+ } | {
330
+ /**
331
+ * @generated from field: livekit.EncodingOptions advanced = 6;
332
+ */
333
+ value: EncodingOptions;
334
+ case: "advanced";
335
+ } | { case: undefined; value?: undefined };
293
336
 
294
337
  /**
295
- * only applies to audio_only egress (default DEFAULT_MIXING)
338
+ * At least one required
296
339
  *
297
- * @generated from field: livekit.AudioMixing audio_mixing = 15;
340
+ * @generated from field: repeated livekit.Output outputs = 7;
298
341
  */
299
- audioMixing: AudioMixing;
342
+ outputs: Output[];
300
343
 
301
344
  /**
302
- * (default false)
345
+ * Request-level storage default
303
346
  *
304
- * @generated from field: bool video_only = 4;
347
+ * @generated from field: livekit.StorageConfig storage = 8;
305
348
  */
306
- videoOnly: boolean;
349
+ storage?: StorageConfig;
307
350
 
308
351
  /**
309
- * template base url (default https://recorder.livekit.io)
352
+ * Optional additional webhook config
310
353
  *
311
- * @generated from field: string custom_base_url = 5;
354
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 9;
312
355
  */
313
- customBaseUrl: string;
356
+ webhooks: WebhookConfig[];
314
357
 
358
+ constructor(data?: PartialMessage<StartEgressRequest>);
359
+
360
+ static readonly runtime: typeof proto3;
361
+ static readonly typeName = "livekit.StartEgressRequest";
362
+ static readonly fields: FieldList;
363
+
364
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartEgressRequest;
365
+
366
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartEgressRequest;
367
+
368
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartEgressRequest;
369
+
370
+ static equals(a: StartEgressRequest | PlainMessage<StartEgressRequest> | undefined, b: StartEgressRequest | PlainMessage<StartEgressRequest> | undefined): boolean;
371
+ }
372
+
373
+ /**
374
+ * Room composite recording via layout template.
375
+ * Service generates token, constructs recorder URL, awaits start signal.
376
+ *
377
+ * @generated from message livekit.TemplateSource
378
+ */
379
+ export declare class TemplateSource extends Message<TemplateSource> {
315
380
  /**
316
- * deprecated (use _output fields)
317
- *
318
- * @generated from oneof livekit.RoomCompositeEgressRequest.output
381
+ * @generated from field: string layout = 1;
319
382
  */
320
- output: {
321
- /**
322
- * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];
323
- * @deprecated
324
- */
325
- value: EncodedFileOutput;
326
- case: "file";
327
- } | {
328
- /**
329
- * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];
330
- * @deprecated
331
- */
332
- value: StreamOutput;
333
- case: "stream";
334
- } | {
335
- /**
336
- * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];
337
- * @deprecated
338
- */
339
- value: SegmentedFileOutput;
340
- case: "segments";
341
- } | { case: undefined; value?: undefined };
342
-
343
- /**
344
- * @generated from oneof livekit.RoomCompositeEgressRequest.options
345
- */
346
- options: {
347
- /**
348
- * (default H264_720P_30)
349
- *
350
- * @generated from field: livekit.EncodingOptionsPreset preset = 8;
351
- */
352
- value: EncodingOptionsPreset;
353
- case: "preset";
354
- } | {
355
- /**
356
- * (optional)
357
- *
358
- * @generated from field: livekit.EncodingOptions advanced = 9;
359
- */
360
- value: EncodingOptions;
361
- case: "advanced";
362
- } | { case: undefined; value?: undefined };
363
-
364
- /**
365
- * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
366
- */
367
- fileOutputs: EncodedFileOutput[];
368
-
369
- /**
370
- * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
371
- */
372
- streamOutputs: StreamOutput[];
383
+ layout: string;
373
384
 
374
385
  /**
375
- * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
386
+ * @generated from field: bool audio_only = 2;
376
387
  */
377
- segmentOutputs: SegmentedFileOutput[];
388
+ audioOnly: boolean;
378
389
 
379
390
  /**
380
- * @generated from field: repeated livekit.ImageOutput image_outputs = 14;
391
+ * @generated from field: bool video_only = 3;
381
392
  */
382
- imageOutputs: ImageOutput[];
393
+ videoOnly: boolean;
383
394
 
384
395
  /**
385
- * extra webhooks to call for this request
386
- *
387
- * @generated from field: repeated livekit.WebhookConfig webhooks = 16;
396
+ * @generated from field: string custom_base_url = 4;
388
397
  */
389
- webhooks: WebhookConfig[];
398
+ customBaseUrl: string;
390
399
 
391
- constructor(data?: PartialMessage<RoomCompositeEgressRequest>);
400
+ constructor(data?: PartialMessage<TemplateSource>);
392
401
 
393
402
  static readonly runtime: typeof proto3;
394
- static readonly typeName = "livekit.RoomCompositeEgressRequest";
403
+ static readonly typeName = "livekit.TemplateSource";
395
404
  static readonly fields: FieldList;
396
405
 
397
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomCompositeEgressRequest;
406
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TemplateSource;
398
407
 
399
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
408
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TemplateSource;
400
409
 
401
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
410
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TemplateSource;
402
411
 
403
- static equals(a: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined, b: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined): boolean;
412
+ static equals(a: TemplateSource | PlainMessage<TemplateSource> | undefined, b: TemplateSource | PlainMessage<TemplateSource> | undefined): boolean;
404
413
  }
405
414
 
406
415
  /**
407
- * record any website
416
+ * Record a custom URL via headless browser.
408
417
  *
409
- * @generated from message livekit.WebEgressRequest
418
+ * @generated from message livekit.WebSource
410
419
  */
411
- export declare class WebEgressRequest extends Message<WebEgressRequest> {
420
+ export declare class WebSource extends Message<WebSource> {
412
421
  /**
413
422
  * @generated from field: string url = 1;
414
423
  */
@@ -425,433 +434,481 @@ export declare class WebEgressRequest extends Message<WebEgressRequest> {
425
434
  videoOnly: boolean;
426
435
 
427
436
  /**
428
- * @generated from field: bool await_start_signal = 12;
437
+ * @generated from field: bool await_start_signal = 4;
429
438
  */
430
439
  awaitStartSignal: boolean;
431
440
 
432
- /**
433
- * deprecated (use _output fields)
434
- *
435
- * @generated from oneof livekit.WebEgressRequest.output
436
- */
437
- output: {
438
- /**
439
- * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
440
- * @deprecated
441
- */
442
- value: EncodedFileOutput;
443
- case: "file";
444
- } | {
445
- /**
446
- * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
447
- * @deprecated
448
- */
449
- value: StreamOutput;
450
- case: "stream";
451
- } | {
452
- /**
453
- * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];
454
- * @deprecated
455
- */
456
- value: SegmentedFileOutput;
457
- case: "segments";
458
- } | { case: undefined; value?: undefined };
441
+ constructor(data?: PartialMessage<WebSource>);
442
+
443
+ static readonly runtime: typeof proto3;
444
+ static readonly typeName = "livekit.WebSource";
445
+ static readonly fields: FieldList;
446
+
447
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebSource;
448
+
449
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebSource;
459
450
 
451
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebSource;
452
+
453
+ static equals(a: WebSource | PlainMessage<WebSource> | undefined, b: WebSource | PlainMessage<WebSource> | undefined): boolean;
454
+ }
455
+
456
+ /**
457
+ * Capture tracks directly from a room via SDK.
458
+ * Unifies deprecated Participant, TrackComposite, and Track egress.
459
+ *
460
+ * @generated from message livekit.MediaSource
461
+ */
462
+ export declare class MediaSource extends Message<MediaSource> {
460
463
  /**
461
- * @generated from oneof livekit.WebEgressRequest.options
464
+ * @generated from oneof livekit.MediaSource.video
462
465
  */
463
- options: {
466
+ video: {
464
467
  /**
465
- * @generated from field: livekit.EncodingOptionsPreset preset = 7;
468
+ * @generated from field: string video_track_id = 1;
466
469
  */
467
- value: EncodingOptionsPreset;
468
- case: "preset";
470
+ value: string;
471
+ case: "videoTrackId";
469
472
  } | {
470
473
  /**
471
- * @generated from field: livekit.EncodingOptions advanced = 8;
474
+ * @generated from field: livekit.ParticipantVideo participant_video = 2;
472
475
  */
473
- value: EncodingOptions;
474
- case: "advanced";
476
+ value: ParticipantVideo;
477
+ case: "participantVideo";
475
478
  } | { case: undefined; value?: undefined };
476
479
 
477
480
  /**
478
- * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;
481
+ * @generated from field: livekit.AudioConfig audio = 3;
479
482
  */
480
- fileOutputs: EncodedFileOutput[];
483
+ audio?: AudioConfig;
481
484
 
482
485
  /**
483
- * @generated from field: repeated livekit.StreamOutput stream_outputs = 10;
486
+ * @generated from field: livekit.DataConfig data = 4;
484
487
  */
485
- streamOutputs: StreamOutput[];
488
+ data?: DataConfig;
486
489
 
487
- /**
488
- * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;
489
- */
490
- segmentOutputs: SegmentedFileOutput[];
490
+ constructor(data?: PartialMessage<MediaSource>);
491
+
492
+ static readonly runtime: typeof proto3;
493
+ static readonly typeName = "livekit.MediaSource";
494
+ static readonly fields: FieldList;
495
+
496
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MediaSource;
497
+
498
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MediaSource;
491
499
 
500
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MediaSource;
501
+
502
+ static equals(a: MediaSource | PlainMessage<MediaSource> | undefined, b: MediaSource | PlainMessage<MediaSource> | undefined): boolean;
503
+ }
504
+
505
+ /**
506
+ * @generated from message livekit.ParticipantVideo
507
+ */
508
+ export declare class ParticipantVideo extends Message<ParticipantVideo> {
492
509
  /**
493
- * @generated from field: repeated livekit.ImageOutput image_outputs = 13;
510
+ * @generated from field: string identity = 1;
494
511
  */
495
- imageOutputs: ImageOutput[];
512
+ identity: string;
496
513
 
497
514
  /**
498
- * extra webhooks to call for this request
499
- *
500
- * @generated from field: repeated livekit.WebhookConfig webhooks = 14;
515
+ * @generated from field: bool prefer_screen_share = 2;
501
516
  */
502
- webhooks: WebhookConfig[];
517
+ preferScreenShare: boolean;
503
518
 
504
- constructor(data?: PartialMessage<WebEgressRequest>);
519
+ constructor(data?: PartialMessage<ParticipantVideo>);
505
520
 
506
521
  static readonly runtime: typeof proto3;
507
- static readonly typeName = "livekit.WebEgressRequest";
522
+ static readonly typeName = "livekit.ParticipantVideo";
508
523
  static readonly fields: FieldList;
509
524
 
510
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebEgressRequest;
525
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantVideo;
511
526
 
512
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebEgressRequest;
527
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantVideo;
513
528
 
514
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebEgressRequest;
529
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantVideo;
515
530
 
516
- static equals(a: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined, b: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined): boolean;
531
+ static equals(a: ParticipantVideo | PlainMessage<ParticipantVideo> | undefined, b: ParticipantVideo | PlainMessage<ParticipantVideo> | undefined): boolean;
517
532
  }
518
533
 
519
534
  /**
520
- * record audio and video from a single participant
535
+ * Unified audio selection and channel routing.
536
+ * Each route specifies both which audio to capture and which channel to output to.
521
537
  *
522
- * @generated from message livekit.ParticipantEgressRequest
538
+ * @generated from message livekit.AudioConfig
523
539
  */
524
- export declare class ParticipantEgressRequest extends Message<ParticipantEgressRequest> {
540
+ export declare class AudioConfig extends Message<AudioConfig> {
525
541
  /**
526
- * required
542
+ * If empty, all audio captured in both channels.
543
+ * If non-empty, only matching audio is captured and routed. Unmatched is excluded.
527
544
  *
528
- * @generated from field: string room_name = 1;
545
+ * @generated from field: repeated livekit.AudioRoute routes = 1;
529
546
  */
530
- roomName: string;
547
+ routes: AudioRoute[];
531
548
 
532
- /**
533
- * required
534
- *
535
- * @generated from field: string identity = 2;
536
- */
537
- identity: string;
549
+ constructor(data?: PartialMessage<AudioConfig>);
538
550
 
539
- /**
540
- * (default false)
541
- *
542
- * @generated from field: bool screen_share = 3;
543
- */
544
- screenShare: boolean;
551
+ static readonly runtime: typeof proto3;
552
+ static readonly typeName = "livekit.AudioConfig";
553
+ static readonly fields: FieldList;
554
+
555
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioConfig;
545
556
 
557
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioConfig;
558
+
559
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioConfig;
560
+
561
+ static equals(a: AudioConfig | PlainMessage<AudioConfig> | undefined, b: AudioConfig | PlainMessage<AudioConfig> | undefined): boolean;
562
+ }
563
+
564
+ /**
565
+ * @generated from message livekit.AudioRoute
566
+ */
567
+ export declare class AudioRoute extends Message<AudioRoute> {
546
568
  /**
547
- * @generated from oneof livekit.ParticipantEgressRequest.options
569
+ * @generated from oneof livekit.AudioRoute.match
548
570
  */
549
- options: {
571
+ match: {
550
572
  /**
551
- * (default H264_720P_30)
552
- *
553
- * @generated from field: livekit.EncodingOptionsPreset preset = 4;
573
+ * @generated from field: string track_id = 1;
554
574
  */
555
- value: EncodingOptionsPreset;
556
- case: "preset";
575
+ value: string;
576
+ case: "trackId";
557
577
  } | {
558
578
  /**
559
- * (optional)
560
- *
561
- * @generated from field: livekit.EncodingOptions advanced = 5;
579
+ * @generated from field: string participant_identity = 2;
562
580
  */
563
- value: EncodingOptions;
564
- case: "advanced";
581
+ value: string;
582
+ case: "participantIdentity";
583
+ } | {
584
+ /**
585
+ * @generated from field: livekit.ParticipantInfo.Kind participant_kind = 3;
586
+ */
587
+ value: ParticipantInfo_Kind;
588
+ case: "participantKind";
565
589
  } | { case: undefined; value?: undefined };
566
590
 
567
591
  /**
568
- * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;
592
+ * @generated from field: livekit.AudioChannel channel = 4;
569
593
  */
570
- fileOutputs: EncodedFileOutput[];
594
+ channel: AudioChannel;
571
595
 
572
- /**
573
- * @generated from field: repeated livekit.StreamOutput stream_outputs = 7;
574
- */
575
- streamOutputs: StreamOutput[];
596
+ constructor(data?: PartialMessage<AudioRoute>);
576
597
 
577
- /**
578
- * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;
579
- */
580
- segmentOutputs: SegmentedFileOutput[];
598
+ static readonly runtime: typeof proto3;
599
+ static readonly typeName = "livekit.AudioRoute";
600
+ static readonly fields: FieldList;
581
601
 
582
- /**
583
- * @generated from field: repeated livekit.ImageOutput image_outputs = 9;
584
- */
585
- imageOutputs: ImageOutput[];
602
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioRoute;
603
+
604
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioRoute;
586
605
 
606
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioRoute;
607
+
608
+ static equals(a: AudioRoute | PlainMessage<AudioRoute> | undefined, b: AudioRoute | PlainMessage<AudioRoute> | undefined): boolean;
609
+ }
610
+
611
+ /**
612
+ * @generated from message livekit.DataConfig
613
+ */
614
+ export declare class DataConfig extends Message<DataConfig> {
587
615
  /**
588
- * extra webhooks to call for this request
616
+ * If empty, all data tracks captured.
617
+ * If non-empty, only matching data tracks are captured.
589
618
  *
590
- * @generated from field: repeated livekit.WebhookConfig webhooks = 10;
619
+ * @generated from field: repeated livekit.DataSelector selectors = 1;
591
620
  */
592
- webhooks: WebhookConfig[];
621
+ selectors: DataSelector[];
593
622
 
594
- constructor(data?: PartialMessage<ParticipantEgressRequest>);
623
+ constructor(data?: PartialMessage<DataConfig>);
595
624
 
596
625
  static readonly runtime: typeof proto3;
597
- static readonly typeName = "livekit.ParticipantEgressRequest";
626
+ static readonly typeName = "livekit.DataConfig";
598
627
  static readonly fields: FieldList;
599
628
 
600
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantEgressRequest;
629
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataConfig;
601
630
 
602
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
631
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataConfig;
603
632
 
604
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
633
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataConfig;
605
634
 
606
- static equals(a: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined, b: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined): boolean;
635
+ static equals(a: DataConfig | PlainMessage<DataConfig> | undefined, b: DataConfig | PlainMessage<DataConfig> | undefined): boolean;
607
636
  }
608
637
 
609
638
  /**
610
- * containerize up to one audio and one video track
611
- *
612
- * @generated from message livekit.TrackCompositeEgressRequest
639
+ * @generated from message livekit.DataSelector
613
640
  */
614
- export declare class TrackCompositeEgressRequest extends Message<TrackCompositeEgressRequest> {
641
+ export declare class DataSelector extends Message<DataSelector> {
615
642
  /**
616
- * required
617
- *
618
- * @generated from field: string room_name = 1;
619
- */
620
- roomName: string;
621
-
622
- /**
623
- * (optional)
624
- *
625
- * @generated from field: string audio_track_id = 2;
626
- */
627
- audioTrackId: string;
628
-
629
- /**
630
- * (optional)
631
- *
632
- * @generated from field: string video_track_id = 3;
633
- */
634
- videoTrackId: string;
635
-
636
- /**
637
- * deprecated (use _output fields)
638
- *
639
- * @generated from oneof livekit.TrackCompositeEgressRequest.output
643
+ * @generated from oneof livekit.DataSelector.match
640
644
  */
641
- output: {
645
+ match: {
642
646
  /**
643
- * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
644
- * @deprecated
647
+ * @generated from field: string track_id = 1;
645
648
  */
646
- value: EncodedFileOutput;
647
- case: "file";
649
+ value: string;
650
+ case: "trackId";
648
651
  } | {
649
652
  /**
650
- * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
651
- * @deprecated
653
+ * @generated from field: string participant_identity = 2;
652
654
  */
653
- value: StreamOutput;
654
- case: "stream";
655
+ value: string;
656
+ case: "participantIdentity";
655
657
  } | {
656
658
  /**
657
- * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];
658
- * @deprecated
659
+ * @generated from field: string topic = 3;
659
660
  */
660
- value: SegmentedFileOutput;
661
- case: "segments";
661
+ value: string;
662
+ case: "topic";
662
663
  } | { case: undefined; value?: undefined };
663
664
 
665
+ constructor(data?: PartialMessage<DataSelector>);
666
+
667
+ static readonly runtime: typeof proto3;
668
+ static readonly typeName = "livekit.DataSelector";
669
+ static readonly fields: FieldList;
670
+
671
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataSelector;
672
+
673
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataSelector;
674
+
675
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataSelector;
676
+
677
+ static equals(a: DataSelector | PlainMessage<DataSelector> | undefined, b: DataSelector | PlainMessage<DataSelector> | undefined): boolean;
678
+ }
679
+
680
+ /**
681
+ * @generated from message livekit.EncodingOptions
682
+ */
683
+ export declare class EncodingOptions extends Message<EncodingOptions> {
664
684
  /**
665
- * @generated from oneof livekit.TrackCompositeEgressRequest.options
685
+ * (default 1920)
686
+ *
687
+ * @generated from field: int32 width = 1;
666
688
  */
667
- options: {
668
- /**
669
- * (default H264_720P_30)
670
- *
671
- * @generated from field: livekit.EncodingOptionsPreset preset = 6;
672
- */
673
- value: EncodingOptionsPreset;
674
- case: "preset";
675
- } | {
676
- /**
677
- * (optional)
678
- *
679
- * @generated from field: livekit.EncodingOptions advanced = 7;
680
- */
681
- value: EncodingOptions;
682
- case: "advanced";
683
- } | { case: undefined; value?: undefined };
689
+ width: number;
684
690
 
685
691
  /**
686
- * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
692
+ * (default 1080)
693
+ *
694
+ * @generated from field: int32 height = 2;
687
695
  */
688
- fileOutputs: EncodedFileOutput[];
696
+ height: number;
689
697
 
690
698
  /**
691
- * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
699
+ * (default 24)
700
+ *
701
+ * @generated from field: int32 depth = 3;
692
702
  */
693
- streamOutputs: StreamOutput[];
703
+ depth: number;
694
704
 
695
705
  /**
696
- * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
706
+ * (default 30)
707
+ *
708
+ * @generated from field: int32 framerate = 4;
697
709
  */
698
- segmentOutputs: SegmentedFileOutput[];
710
+ framerate: number;
699
711
 
700
712
  /**
701
- * @generated from field: repeated livekit.ImageOutput image_outputs = 14;
713
+ * (default OPUS)
714
+ *
715
+ * @generated from field: livekit.AudioCodec audio_codec = 5;
702
716
  */
703
- imageOutputs: ImageOutput[];
717
+ audioCodec: AudioCodec;
704
718
 
705
719
  /**
706
- * extra webhooks to call for this request
720
+ * (default 128)
707
721
  *
708
- * @generated from field: repeated livekit.WebhookConfig webhooks = 15;
722
+ * @generated from field: int32 audio_bitrate = 6;
709
723
  */
710
- webhooks: WebhookConfig[];
711
-
712
- constructor(data?: PartialMessage<TrackCompositeEgressRequest>);
713
-
714
- static readonly runtime: typeof proto3;
715
- static readonly typeName = "livekit.TrackCompositeEgressRequest";
716
- static readonly fields: FieldList;
717
-
718
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackCompositeEgressRequest;
724
+ audioBitrate: number;
719
725
 
720
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
726
+ /**
727
+ * (default 44100)
728
+ *
729
+ * @generated from field: int32 audio_frequency = 7;
730
+ */
731
+ audioFrequency: number;
721
732
 
722
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
733
+ /**
734
+ * (default H264_MAIN)
735
+ *
736
+ * @generated from field: livekit.VideoCodec video_codec = 8;
737
+ */
738
+ videoCodec: VideoCodec;
723
739
 
724
- static equals(a: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined, b: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined): boolean;
725
- }
740
+ /**
741
+ * (default 4500)
742
+ *
743
+ * @generated from field: int32 video_bitrate = 9;
744
+ */
745
+ videoBitrate: number;
726
746
 
727
- /**
728
- * record tracks individually, without transcoding
729
- *
730
- * @generated from message livekit.TrackEgressRequest
731
- */
732
- export declare class TrackEgressRequest extends Message<TrackEgressRequest> {
733
747
  /**
734
- * required
748
+ * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
735
749
  *
736
- * @generated from field: string room_name = 1;
750
+ * @generated from field: double key_frame_interval = 10;
737
751
  */
738
- roomName: string;
752
+ keyFrameInterval: number;
739
753
 
740
754
  /**
741
- * required
755
+ * --- Deprecated ---
742
756
  *
743
- * @generated from field: string track_id = 2;
757
+ * quality setting on audio encoder
758
+ *
759
+ * @generated from field: int32 audio_quality = 11 [deprecated = true];
760
+ * @deprecated
744
761
  */
745
- trackId: string;
762
+ audioQuality: number;
746
763
 
747
764
  /**
748
- * required
765
+ * quality setting on video encoder
749
766
  *
750
- * @generated from oneof livekit.TrackEgressRequest.output
767
+ * @generated from field: int32 video_quality = 12 [deprecated = true];
768
+ * @deprecated
751
769
  */
752
- output: {
770
+ videoQuality: number;
771
+
772
+ constructor(data?: PartialMessage<EncodingOptions>);
773
+
774
+ static readonly runtime: typeof proto3;
775
+ static readonly typeName = "livekit.EncodingOptions";
776
+ static readonly fields: FieldList;
777
+
778
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodingOptions;
779
+
780
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodingOptions;
781
+
782
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodingOptions;
783
+
784
+ static equals(a: EncodingOptions | PlainMessage<EncodingOptions> | undefined, b: EncodingOptions | PlainMessage<EncodingOptions> | undefined): boolean;
785
+ }
786
+
787
+ /**
788
+ * @generated from message livekit.Output
789
+ */
790
+ export declare class Output extends Message<Output> {
791
+ /**
792
+ * @generated from oneof livekit.Output.config
793
+ */
794
+ config: {
753
795
  /**
754
- * @generated from field: livekit.DirectFileOutput file = 3;
796
+ * @generated from field: livekit.FileOutput file = 1;
755
797
  */
756
- value: DirectFileOutput;
798
+ value: FileOutput;
757
799
  case: "file";
758
800
  } | {
759
801
  /**
760
- * @generated from field: string websocket_url = 4;
802
+ * @generated from field: livekit.StreamOutput stream = 2;
761
803
  */
762
- value: string;
763
- case: "websocketUrl";
804
+ value: StreamOutput;
805
+ case: "stream";
806
+ } | {
807
+ /**
808
+ * @generated from field: livekit.SegmentedFileOutput segments = 3;
809
+ */
810
+ value: SegmentedFileOutput;
811
+ case: "segments";
812
+ } | {
813
+ /**
814
+ * 5 reserved for mcap;
815
+ *
816
+ * @generated from field: livekit.ImageOutput images = 4;
817
+ */
818
+ value: ImageOutput;
819
+ case: "images";
764
820
  } | { case: undefined; value?: undefined };
765
821
 
766
822
  /**
767
- * extra webhooks to call for this request
823
+ * Per-output storage override (falls back to request, then server)
768
824
  *
769
- * @generated from field: repeated livekit.WebhookConfig webhooks = 5;
825
+ * @generated from field: livekit.StorageConfig storage = 6;
770
826
  */
771
- webhooks: WebhookConfig[];
827
+ storage?: StorageConfig;
772
828
 
773
- constructor(data?: PartialMessage<TrackEgressRequest>);
829
+ constructor(data?: PartialMessage<Output>);
774
830
 
775
831
  static readonly runtime: typeof proto3;
776
- static readonly typeName = "livekit.TrackEgressRequest";
832
+ static readonly typeName = "livekit.Output";
777
833
  static readonly fields: FieldList;
778
834
 
779
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackEgressRequest;
835
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Output;
780
836
 
781
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackEgressRequest;
837
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Output;
782
838
 
783
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackEgressRequest;
839
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Output;
784
840
 
785
- static equals(a: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined, b: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined): boolean;
841
+ static equals(a: Output | PlainMessage<Output> | undefined, b: Output | PlainMessage<Output> | undefined): boolean;
786
842
  }
787
843
 
788
844
  /**
789
- * @generated from message livekit.EncodedFileOutput
845
+ * Unified file output — replaces v1 EncodedFileOutput and DirectFileOutput.
846
+ * Whether transcoded depends on encoding options on the request.
847
+ *
848
+ * @generated from message livekit.FileOutput
790
849
  */
791
- export declare class EncodedFileOutput extends Message<EncodedFileOutput> {
850
+ export declare class FileOutput extends Message<FileOutput> {
792
851
  /**
793
- * (optional)
794
- *
795
852
  * @generated from field: livekit.EncodedFileType file_type = 1;
796
853
  */
797
854
  fileType: EncodedFileType;
798
855
 
799
856
  /**
800
- * see egress docs for templating (default {room_name}-{time})
801
- *
802
857
  * @generated from field: string filepath = 2;
803
858
  */
804
859
  filepath: string;
805
860
 
806
861
  /**
807
- * disable upload of manifest file (default false)
808
- *
809
- * @generated from field: bool disable_manifest = 6;
862
+ * @generated from field: bool disable_manifest = 3;
810
863
  */
811
864
  disableManifest: boolean;
812
865
 
866
+ constructor(data?: PartialMessage<FileOutput>);
867
+
868
+ static readonly runtime: typeof proto3;
869
+ static readonly typeName = "livekit.FileOutput";
870
+ static readonly fields: FieldList;
871
+
872
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileOutput;
873
+
874
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileOutput;
875
+
876
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileOutput;
877
+
878
+ static equals(a: FileOutput | PlainMessage<FileOutput> | undefined, b: FileOutput | PlainMessage<FileOutput> | undefined): boolean;
879
+ }
880
+
881
+ /**
882
+ * @generated from message livekit.StreamOutput
883
+ */
884
+ export declare class StreamOutput extends Message<StreamOutput> {
813
885
  /**
814
- * @generated from oneof livekit.EncodedFileOutput.output
886
+ * required
887
+ *
888
+ * @generated from field: livekit.StreamProtocol protocol = 1;
815
889
  */
816
- output: {
817
- /**
818
- * @generated from field: livekit.S3Upload s3 = 3;
819
- */
820
- value: S3Upload;
821
- case: "s3";
822
- } | {
823
- /**
824
- * @generated from field: livekit.GCPUpload gcp = 4;
825
- */
826
- value: GCPUpload;
827
- case: "gcp";
828
- } | {
829
- /**
830
- * @generated from field: livekit.AzureBlobUpload azure = 5;
831
- */
832
- value: AzureBlobUpload;
833
- case: "azure";
834
- } | {
835
- /**
836
- * @generated from field: livekit.AliOSSUpload aliOSS = 7;
837
- */
838
- value: AliOSSUpload;
839
- case: "aliOSS";
840
- } | { case: undefined; value?: undefined };
890
+ protocol: StreamProtocol;
841
891
 
842
- constructor(data?: PartialMessage<EncodedFileOutput>);
892
+ /**
893
+ * required
894
+ *
895
+ * @generated from field: repeated string urls = 2;
896
+ */
897
+ urls: string[];
898
+
899
+ constructor(data?: PartialMessage<StreamOutput>);
843
900
 
844
901
  static readonly runtime: typeof proto3;
845
- static readonly typeName = "livekit.EncodedFileOutput";
902
+ static readonly typeName = "livekit.StreamOutput";
846
903
  static readonly fields: FieldList;
847
904
 
848
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodedFileOutput;
905
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamOutput;
849
906
 
850
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodedFileOutput;
907
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamOutput;
851
908
 
852
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodedFileOutput;
909
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamOutput;
853
910
 
854
- static equals(a: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined, b: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined): boolean;
911
+ static equals(a: StreamOutput | PlainMessage<StreamOutput> | undefined, b: StreamOutput | PlainMessage<StreamOutput> | undefined): boolean;
855
912
  }
856
913
 
857
914
  /**
@@ -910,8 +967,6 @@ export declare class SegmentedFileOutput extends Message<SegmentedFileOutput> {
910
967
  disableManifest: boolean;
911
968
 
912
969
  /**
913
- * required
914
- *
915
970
  * @generated from oneof livekit.SegmentedFileOutput.output
916
971
  */
917
972
  output: {
@@ -956,84 +1011,24 @@ export declare class SegmentedFileOutput extends Message<SegmentedFileOutput> {
956
1011
  }
957
1012
 
958
1013
  /**
959
- * @generated from message livekit.DirectFileOutput
1014
+ * Capture images at a specified interval
1015
+ *
1016
+ * @generated from message livekit.ImageOutput
960
1017
  */
961
- export declare class DirectFileOutput extends Message<DirectFileOutput> {
1018
+ export declare class ImageOutput extends Message<ImageOutput> {
962
1019
  /**
963
- * see egress docs for templating (default {track_id}-{time})
1020
+ * in seconds (required)
964
1021
  *
965
- * @generated from field: string filepath = 1;
1022
+ * @generated from field: uint32 capture_interval = 1;
966
1023
  */
967
- filepath: string;
1024
+ captureInterval: number;
968
1025
 
969
1026
  /**
970
- * disable upload of manifest file (default false)
1027
+ * (optional, defaults to track width)
971
1028
  *
972
- * @generated from field: bool disable_manifest = 5;
1029
+ * @generated from field: int32 width = 2;
973
1030
  */
974
- disableManifest: boolean;
975
-
976
- /**
977
- * @generated from oneof livekit.DirectFileOutput.output
978
- */
979
- output: {
980
- /**
981
- * @generated from field: livekit.S3Upload s3 = 2;
982
- */
983
- value: S3Upload;
984
- case: "s3";
985
- } | {
986
- /**
987
- * @generated from field: livekit.GCPUpload gcp = 3;
988
- */
989
- value: GCPUpload;
990
- case: "gcp";
991
- } | {
992
- /**
993
- * @generated from field: livekit.AzureBlobUpload azure = 4;
994
- */
995
- value: AzureBlobUpload;
996
- case: "azure";
997
- } | {
998
- /**
999
- * @generated from field: livekit.AliOSSUpload aliOSS = 6;
1000
- */
1001
- value: AliOSSUpload;
1002
- case: "aliOSS";
1003
- } | { case: undefined; value?: undefined };
1004
-
1005
- constructor(data?: PartialMessage<DirectFileOutput>);
1006
-
1007
- static readonly runtime: typeof proto3;
1008
- static readonly typeName = "livekit.DirectFileOutput";
1009
- static readonly fields: FieldList;
1010
-
1011
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectFileOutput;
1012
-
1013
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectFileOutput;
1014
-
1015
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectFileOutput;
1016
-
1017
- static equals(a: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined, b: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined): boolean;
1018
- }
1019
-
1020
- /**
1021
- * @generated from message livekit.ImageOutput
1022
- */
1023
- export declare class ImageOutput extends Message<ImageOutput> {
1024
- /**
1025
- * in seconds (required)
1026
- *
1027
- * @generated from field: uint32 capture_interval = 1;
1028
- */
1029
- captureInterval: number;
1030
-
1031
- /**
1032
- * (optional, defaults to track width)
1033
- *
1034
- * @generated from field: int32 width = 2;
1035
- */
1036
- width: number;
1031
+ width: number;
1037
1032
 
1038
1033
  /**
1039
1034
  * (optional, defaults to track height)
@@ -1071,8 +1066,6 @@ export declare class ImageOutput extends Message<ImageOutput> {
1071
1066
  disableManifest: boolean;
1072
1067
 
1073
1068
  /**
1074
- * required
1075
- *
1076
1069
  * @generated from oneof livekit.ImageOutput.output
1077
1070
  */
1078
1071
  output: {
@@ -1116,6 +1109,54 @@ export declare class ImageOutput extends Message<ImageOutput> {
1116
1109
  static equals(a: ImageOutput | PlainMessage<ImageOutput> | undefined, b: ImageOutput | PlainMessage<ImageOutput> | undefined): boolean;
1117
1110
  }
1118
1111
 
1112
+ /**
1113
+ * @generated from message livekit.StorageConfig
1114
+ */
1115
+ export declare class StorageConfig extends Message<StorageConfig> {
1116
+ /**
1117
+ * @generated from oneof livekit.StorageConfig.provider
1118
+ */
1119
+ provider: {
1120
+ /**
1121
+ * @generated from field: livekit.S3Upload s3 = 1;
1122
+ */
1123
+ value: S3Upload;
1124
+ case: "s3";
1125
+ } | {
1126
+ /**
1127
+ * @generated from field: livekit.GCPUpload gcp = 2;
1128
+ */
1129
+ value: GCPUpload;
1130
+ case: "gcp";
1131
+ } | {
1132
+ /**
1133
+ * @generated from field: livekit.AzureBlobUpload azure = 3;
1134
+ */
1135
+ value: AzureBlobUpload;
1136
+ case: "azure";
1137
+ } | {
1138
+ /**
1139
+ * @generated from field: livekit.AliOSSUpload aliOSS = 4;
1140
+ */
1141
+ value: AliOSSUpload;
1142
+ case: "aliOSS";
1143
+ } | { case: undefined; value?: undefined };
1144
+
1145
+ constructor(data?: PartialMessage<StorageConfig>);
1146
+
1147
+ static readonly runtime: typeof proto3;
1148
+ static readonly typeName = "livekit.StorageConfig";
1149
+ static readonly fields: FieldList;
1150
+
1151
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StorageConfig;
1152
+
1153
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StorageConfig;
1154
+
1155
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StorageConfig;
1156
+
1157
+ static equals(a: StorageConfig | PlainMessage<StorageConfig> | undefined, b: StorageConfig | PlainMessage<StorageConfig> | undefined): boolean;
1158
+ }
1159
+
1119
1160
  /**
1120
1161
  * @generated from message livekit.S3Upload
1121
1162
  */
@@ -1355,315 +1396,160 @@ export declare class ProxyConfig extends Message<ProxyConfig> {
1355
1396
  }
1356
1397
 
1357
1398
  /**
1358
- * @generated from message livekit.StreamOutput
1399
+ * @generated from message livekit.ListEgressRequest
1359
1400
  */
1360
- export declare class StreamOutput extends Message<StreamOutput> {
1401
+ export declare class ListEgressRequest extends Message<ListEgressRequest> {
1361
1402
  /**
1362
- * required
1403
+ * (optional, filter by room name)
1363
1404
  *
1364
- * @generated from field: livekit.StreamProtocol protocol = 1;
1405
+ * @generated from field: string room_name = 1;
1365
1406
  */
1366
- protocol: StreamProtocol;
1407
+ roomName: string;
1367
1408
 
1368
1409
  /**
1369
- * required
1410
+ * (optional, filter by egress ID)
1370
1411
  *
1371
- * @generated from field: repeated string urls = 2;
1412
+ * @generated from field: string egress_id = 2;
1372
1413
  */
1373
- urls: string[];
1414
+ egressId: string;
1374
1415
 
1375
- constructor(data?: PartialMessage<StreamOutput>);
1416
+ /**
1417
+ * (optional, list active egress only)
1418
+ *
1419
+ * @generated from field: bool active = 3;
1420
+ */
1421
+ active: boolean;
1422
+
1423
+ constructor(data?: PartialMessage<ListEgressRequest>);
1376
1424
 
1377
1425
  static readonly runtime: typeof proto3;
1378
- static readonly typeName = "livekit.StreamOutput";
1426
+ static readonly typeName = "livekit.ListEgressRequest";
1379
1427
  static readonly fields: FieldList;
1380
1428
 
1381
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamOutput;
1429
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressRequest;
1382
1430
 
1383
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamOutput;
1431
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressRequest;
1384
1432
 
1385
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamOutput;
1433
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressRequest;
1386
1434
 
1387
- static equals(a: StreamOutput | PlainMessage<StreamOutput> | undefined, b: StreamOutput | PlainMessage<StreamOutput> | undefined): boolean;
1435
+ static equals(a: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined, b: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined): boolean;
1388
1436
  }
1389
1437
 
1390
1438
  /**
1391
- * @generated from message livekit.EncodingOptions
1439
+ * @generated from message livekit.ListEgressResponse
1392
1440
  */
1393
- export declare class EncodingOptions extends Message<EncodingOptions> {
1441
+ export declare class ListEgressResponse extends Message<ListEgressResponse> {
1394
1442
  /**
1395
- * (default 1920)
1396
- *
1397
- * @generated from field: int32 width = 1;
1443
+ * @generated from field: repeated livekit.EgressInfo items = 1;
1398
1444
  */
1399
- width: number;
1445
+ items: EgressInfo[];
1400
1446
 
1401
- /**
1402
- * (default 1080)
1403
- *
1404
- * @generated from field: int32 height = 2;
1405
- */
1406
- height: number;
1447
+ constructor(data?: PartialMessage<ListEgressResponse>);
1407
1448
 
1408
- /**
1409
- * (default 24)
1410
- *
1411
- * @generated from field: int32 depth = 3;
1412
- */
1413
- depth: number;
1449
+ static readonly runtime: typeof proto3;
1450
+ static readonly typeName = "livekit.ListEgressResponse";
1451
+ static readonly fields: FieldList;
1414
1452
 
1415
- /**
1416
- * (default 30)
1417
- *
1418
- * @generated from field: int32 framerate = 4;
1419
- */
1420
- framerate: number;
1453
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressResponse;
1421
1454
 
1422
- /**
1423
- * (default OPUS)
1424
- *
1425
- * @generated from field: livekit.AudioCodec audio_codec = 5;
1426
- */
1427
- audioCodec: AudioCodec;
1455
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressResponse;
1428
1456
 
1429
- /**
1430
- * (default 128)
1431
- *
1432
- * @generated from field: int32 audio_bitrate = 6;
1433
- */
1434
- audioBitrate: number;
1457
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressResponse;
1435
1458
 
1436
- /**
1437
- * quality setting on audio encoder
1438
- *
1439
- * @generated from field: int32 audio_quality = 11;
1440
- */
1441
- audioQuality: number;
1459
+ static equals(a: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined, b: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined): boolean;
1460
+ }
1442
1461
 
1462
+ /**
1463
+ * @generated from message livekit.UpdateEgressRequest
1464
+ */
1465
+ export declare class UpdateEgressRequest extends Message<UpdateEgressRequest> {
1443
1466
  /**
1444
- * (default 44100)
1445
- *
1446
- * @generated from field: int32 audio_frequency = 7;
1467
+ * @generated from field: string egress_id = 1;
1447
1468
  */
1448
- audioFrequency: number;
1469
+ egressId: string;
1449
1470
 
1450
1471
  /**
1451
- * (default H264_MAIN)
1452
- *
1453
- * @generated from field: livekit.VideoCodec video_codec = 8;
1472
+ * @generated from field: string url = 2;
1454
1473
  */
1455
- videoCodec: VideoCodec;
1474
+ url: string;
1456
1475
 
1457
1476
  /**
1458
- * (default 4500)
1459
- *
1460
- * @generated from field: int32 video_bitrate = 9;
1477
+ * @generated from field: string layout = 3;
1461
1478
  */
1462
- videoBitrate: number;
1479
+ layout: string;
1463
1480
 
1464
1481
  /**
1465
- * quality setting on video encoder
1466
- *
1467
- * @generated from field: int32 video_quality = 12;
1482
+ * @generated from field: repeated string add_stream_urls = 4;
1468
1483
  */
1469
- videoQuality: number;
1484
+ addStreamUrls: string[];
1470
1485
 
1471
1486
  /**
1472
- * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
1473
- *
1474
- * @generated from field: double key_frame_interval = 10;
1487
+ * @generated from field: repeated string remove_stream_urls = 5;
1475
1488
  */
1476
- keyFrameInterval: number;
1489
+ removeStreamUrls: string[];
1477
1490
 
1478
- constructor(data?: PartialMessage<EncodingOptions>);
1491
+ constructor(data?: PartialMessage<UpdateEgressRequest>);
1479
1492
 
1480
1493
  static readonly runtime: typeof proto3;
1481
- static readonly typeName = "livekit.EncodingOptions";
1494
+ static readonly typeName = "livekit.UpdateEgressRequest";
1482
1495
  static readonly fields: FieldList;
1483
1496
 
1484
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodingOptions;
1497
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateEgressRequest;
1485
1498
 
1486
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodingOptions;
1499
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateEgressRequest;
1487
1500
 
1488
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodingOptions;
1501
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateEgressRequest;
1489
1502
 
1490
- static equals(a: EncodingOptions | PlainMessage<EncodingOptions> | undefined, b: EncodingOptions | PlainMessage<EncodingOptions> | undefined): boolean;
1503
+ static equals(a: UpdateEgressRequest | PlainMessage<UpdateEgressRequest> | undefined, b: UpdateEgressRequest | PlainMessage<UpdateEgressRequest> | undefined): boolean;
1491
1504
  }
1492
1505
 
1493
1506
  /**
1494
- * @generated from message livekit.UpdateLayoutRequest
1507
+ * @generated from message livekit.StopEgressRequest
1495
1508
  */
1496
- export declare class UpdateLayoutRequest extends Message<UpdateLayoutRequest> {
1509
+ export declare class StopEgressRequest extends Message<StopEgressRequest> {
1497
1510
  /**
1498
1511
  * @generated from field: string egress_id = 1;
1499
1512
  */
1500
1513
  egressId: string;
1501
1514
 
1502
- /**
1503
- * @generated from field: string layout = 2;
1504
- */
1505
- layout: string;
1506
-
1507
- constructor(data?: PartialMessage<UpdateLayoutRequest>);
1515
+ constructor(data?: PartialMessage<StopEgressRequest>);
1508
1516
 
1509
1517
  static readonly runtime: typeof proto3;
1510
- static readonly typeName = "livekit.UpdateLayoutRequest";
1518
+ static readonly typeName = "livekit.StopEgressRequest";
1511
1519
  static readonly fields: FieldList;
1512
1520
 
1513
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLayoutRequest;
1521
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopEgressRequest;
1514
1522
 
1515
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
1523
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopEgressRequest;
1516
1524
 
1517
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
1525
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopEgressRequest;
1518
1526
 
1519
- static equals(a: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined, b: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined): boolean;
1527
+ static equals(a: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined, b: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined): boolean;
1520
1528
  }
1521
1529
 
1522
1530
  /**
1523
- * @generated from message livekit.UpdateStreamRequest
1531
+ * @generated from message livekit.EgressInfo
1524
1532
  */
1525
- export declare class UpdateStreamRequest extends Message<UpdateStreamRequest> {
1533
+ export declare class EgressInfo extends Message<EgressInfo> {
1526
1534
  /**
1527
1535
  * @generated from field: string egress_id = 1;
1528
1536
  */
1529
1537
  egressId: string;
1530
1538
 
1531
1539
  /**
1532
- * @generated from field: repeated string add_output_urls = 2;
1540
+ * @generated from field: string room_id = 2;
1533
1541
  */
1534
- addOutputUrls: string[];
1542
+ roomId: string;
1535
1543
 
1536
1544
  /**
1537
- * @generated from field: repeated string remove_output_urls = 3;
1545
+ * @generated from field: string room_name = 13;
1538
1546
  */
1539
- removeOutputUrls: string[];
1547
+ roomName: string;
1540
1548
 
1541
- constructor(data?: PartialMessage<UpdateStreamRequest>);
1542
-
1543
- static readonly runtime: typeof proto3;
1544
- static readonly typeName = "livekit.UpdateStreamRequest";
1545
- static readonly fields: FieldList;
1546
-
1547
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateStreamRequest;
1548
-
1549
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
1550
-
1551
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
1552
-
1553
- static equals(a: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined, b: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined): boolean;
1554
- }
1555
-
1556
- /**
1557
- * @generated from message livekit.ListEgressRequest
1558
- */
1559
- export declare class ListEgressRequest extends Message<ListEgressRequest> {
1560
- /**
1561
- * (optional, filter by room name)
1562
- *
1563
- * @generated from field: string room_name = 1;
1564
- */
1565
- roomName: string;
1566
-
1567
- /**
1568
- * (optional, filter by egress ID)
1569
- *
1570
- * @generated from field: string egress_id = 2;
1571
- */
1572
- egressId: string;
1573
-
1574
- /**
1575
- * (optional, list active egress only)
1576
- *
1577
- * @generated from field: bool active = 3;
1578
- */
1579
- active: boolean;
1580
-
1581
- constructor(data?: PartialMessage<ListEgressRequest>);
1582
-
1583
- static readonly runtime: typeof proto3;
1584
- static readonly typeName = "livekit.ListEgressRequest";
1585
- static readonly fields: FieldList;
1586
-
1587
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressRequest;
1588
-
1589
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressRequest;
1590
-
1591
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressRequest;
1592
-
1593
- static equals(a: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined, b: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined): boolean;
1594
- }
1595
-
1596
- /**
1597
- * @generated from message livekit.ListEgressResponse
1598
- */
1599
- export declare class ListEgressResponse extends Message<ListEgressResponse> {
1600
- /**
1601
- * @generated from field: repeated livekit.EgressInfo items = 1;
1602
- */
1603
- items: EgressInfo[];
1604
-
1605
- constructor(data?: PartialMessage<ListEgressResponse>);
1606
-
1607
- static readonly runtime: typeof proto3;
1608
- static readonly typeName = "livekit.ListEgressResponse";
1609
- static readonly fields: FieldList;
1610
-
1611
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressResponse;
1612
-
1613
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressResponse;
1614
-
1615
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressResponse;
1616
-
1617
- static equals(a: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined, b: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined): boolean;
1618
- }
1619
-
1620
- /**
1621
- * @generated from message livekit.StopEgressRequest
1622
- */
1623
- export declare class StopEgressRequest extends Message<StopEgressRequest> {
1624
- /**
1625
- * @generated from field: string egress_id = 1;
1626
- */
1627
- egressId: string;
1628
-
1629
- constructor(data?: PartialMessage<StopEgressRequest>);
1630
-
1631
- static readonly runtime: typeof proto3;
1632
- static readonly typeName = "livekit.StopEgressRequest";
1633
- static readonly fields: FieldList;
1634
-
1635
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopEgressRequest;
1636
-
1637
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopEgressRequest;
1638
-
1639
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopEgressRequest;
1640
-
1641
- static equals(a: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined, b: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined): boolean;
1642
- }
1643
-
1644
- /**
1645
- * @generated from message livekit.EgressInfo
1646
- */
1647
- export declare class EgressInfo extends Message<EgressInfo> {
1648
- /**
1649
- * @generated from field: string egress_id = 1;
1650
- */
1651
- egressId: string;
1652
-
1653
- /**
1654
- * @generated from field: string room_id = 2;
1655
- */
1656
- roomId: string;
1657
-
1658
- /**
1659
- * @generated from field: string room_name = 13;
1660
- */
1661
- roomName: string;
1662
-
1663
- /**
1664
- * @generated from field: livekit.EgressSourceType source_type = 26;
1665
- */
1666
- sourceType: EgressSourceType;
1549
+ /**
1550
+ * @generated from field: livekit.EgressSourceType source_type = 26;
1551
+ */
1552
+ sourceType: EgressSourceType;
1667
1553
 
1668
1554
  /**
1669
1555
  * @generated from field: livekit.EgressStatus status = 3;
@@ -1685,25 +1571,18 @@ export declare class EgressInfo extends Message<EgressInfo> {
1685
1571
  */
1686
1572
  updatedAt: bigint;
1687
1573
 
1688
- /**
1689
- * @generated from field: string details = 21;
1690
- */
1691
- details: string;
1692
-
1693
- /**
1694
- * @generated from field: string error = 9;
1695
- */
1696
- error: string;
1697
-
1698
- /**
1699
- * @generated from field: int32 error_code = 22;
1700
- */
1701
- errorCode: number;
1702
-
1703
1574
  /**
1704
1575
  * @generated from oneof livekit.EgressInfo.request
1705
1576
  */
1706
1577
  request: {
1578
+ /**
1579
+ * StartEgressRequest egress = 29;
1580
+ *
1581
+ * @generated from field: livekit.ExportReplayRequest replay = 30;
1582
+ */
1583
+ value: ExportReplayRequest;
1584
+ case: "replay";
1585
+ } | {
1707
1586
  /**
1708
1587
  * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;
1709
1588
  */
@@ -1735,34 +1614,6 @@ export declare class EgressInfo extends Message<EgressInfo> {
1735
1614
  case: "track";
1736
1615
  } | { case: undefined; value?: undefined };
1737
1616
 
1738
- /**
1739
- * deprecated (use _result fields)
1740
- *
1741
- * @generated from oneof livekit.EgressInfo.result
1742
- */
1743
- result: {
1744
- /**
1745
- * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];
1746
- * @deprecated
1747
- */
1748
- value: StreamInfoList;
1749
- case: "stream";
1750
- } | {
1751
- /**
1752
- * @generated from field: livekit.FileInfo file = 8 [deprecated = true];
1753
- * @deprecated
1754
- */
1755
- value: FileInfo;
1756
- case: "file";
1757
- } | {
1758
- /**
1759
- * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];
1760
- * @deprecated
1761
- */
1762
- value: SegmentsInfo;
1763
- case: "segments";
1764
- } | { case: undefined; value?: undefined };
1765
-
1766
1617
  /**
1767
1618
  * @generated from field: repeated livekit.StreamInfo stream_results = 15;
1768
1619
  */
@@ -1783,6 +1634,21 @@ export declare class EgressInfo extends Message<EgressInfo> {
1783
1634
  */
1784
1635
  imageResults: ImagesInfo[];
1785
1636
 
1637
+ /**
1638
+ * @generated from field: string error = 9;
1639
+ */
1640
+ error: string;
1641
+
1642
+ /**
1643
+ * @generated from field: int32 error_code = 22;
1644
+ */
1645
+ errorCode: number;
1646
+
1647
+ /**
1648
+ * @generated from field: string details = 21;
1649
+ */
1650
+ details: string;
1651
+
1786
1652
  /**
1787
1653
  * @generated from field: string manifest_location = 23;
1788
1654
  */
@@ -1794,12 +1660,38 @@ export declare class EgressInfo extends Message<EgressInfo> {
1794
1660
  backupStorageUsed: boolean;
1795
1661
 
1796
1662
  /**
1797
- * next ID: 28
1798
- *
1799
1663
  * @generated from field: int32 retry_count = 27;
1800
1664
  */
1801
1665
  retryCount: number;
1802
1666
 
1667
+ /**
1668
+ * --- Deprecated ---
1669
+ *
1670
+ * @generated from oneof livekit.EgressInfo.result
1671
+ */
1672
+ result: {
1673
+ /**
1674
+ * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];
1675
+ * @deprecated
1676
+ */
1677
+ value: StreamInfoList;
1678
+ case: "stream";
1679
+ } | {
1680
+ /**
1681
+ * @generated from field: livekit.FileInfo file = 8 [deprecated = true];
1682
+ * @deprecated
1683
+ */
1684
+ value: FileInfo;
1685
+ case: "file";
1686
+ } | {
1687
+ /**
1688
+ * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];
1689
+ * @deprecated
1690
+ */
1691
+ value: SegmentsInfo;
1692
+ case: "segments";
1693
+ } | { case: undefined; value?: undefined };
1694
+
1803
1695
  constructor(data?: PartialMessage<EgressInfo>);
1804
1696
 
1805
1697
  static readonly runtime: typeof proto3;
@@ -1815,31 +1707,6 @@ export declare class EgressInfo extends Message<EgressInfo> {
1815
1707
  static equals(a: EgressInfo | PlainMessage<EgressInfo> | undefined, b: EgressInfo | PlainMessage<EgressInfo> | undefined): boolean;
1816
1708
  }
1817
1709
 
1818
- /**
1819
- * @generated from message livekit.StreamInfoList
1820
- * @deprecated
1821
- */
1822
- export declare class StreamInfoList extends Message<StreamInfoList> {
1823
- /**
1824
- * @generated from field: repeated livekit.StreamInfo info = 1;
1825
- */
1826
- info: StreamInfo[];
1827
-
1828
- constructor(data?: PartialMessage<StreamInfoList>);
1829
-
1830
- static readonly runtime: typeof proto3;
1831
- static readonly typeName = "livekit.StreamInfoList";
1832
- static readonly fields: FieldList;
1833
-
1834
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfoList;
1835
-
1836
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfoList;
1837
-
1838
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfoList;
1839
-
1840
- static equals(a: StreamInfoList | PlainMessage<StreamInfoList> | undefined, b: StreamInfoList | PlainMessage<StreamInfoList> | undefined): boolean;
1841
- }
1842
-
1843
1710
  /**
1844
1711
  * @generated from message livekit.StreamInfo
1845
1712
  */
@@ -2183,3 +2050,753 @@ export declare class AutoTrackEgress extends Message<AutoTrackEgress> {
2183
2050
  static equals(a: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined, b: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined): boolean;
2184
2051
  }
2185
2052
 
2053
+ /**
2054
+ * @generated from message livekit.ExportReplayRequest
2055
+ */
2056
+ export declare class ExportReplayRequest extends Message<ExportReplayRequest> {
2057
+ /**
2058
+ * @generated from field: string replay_id = 1;
2059
+ */
2060
+ replayId: string;
2061
+
2062
+ /**
2063
+ * @generated from field: int64 start_offset_ms = 2;
2064
+ */
2065
+ startOffsetMs: bigint;
2066
+
2067
+ /**
2068
+ * @generated from field: int64 end_offset_ms = 3;
2069
+ */
2070
+ endOffsetMs: bigint;
2071
+
2072
+ /**
2073
+ * @generated from oneof livekit.ExportReplayRequest.source
2074
+ */
2075
+ source: {
2076
+ /**
2077
+ * @generated from field: livekit.TemplateSource template = 4;
2078
+ */
2079
+ value: TemplateSource;
2080
+ case: "template";
2081
+ } | {
2082
+ /**
2083
+ * @generated from field: livekit.WebSource web = 5;
2084
+ */
2085
+ value: WebSource;
2086
+ case: "web";
2087
+ } | {
2088
+ /**
2089
+ * @generated from field: livekit.MediaSource media = 6;
2090
+ */
2091
+ value: MediaSource;
2092
+ case: "media";
2093
+ } | { case: undefined; value?: undefined };
2094
+
2095
+ /**
2096
+ * @generated from oneof livekit.ExportReplayRequest.encoding
2097
+ */
2098
+ encoding: {
2099
+ /**
2100
+ * @generated from field: livekit.EncodingOptionsPreset preset = 7;
2101
+ */
2102
+ value: EncodingOptionsPreset;
2103
+ case: "preset";
2104
+ } | {
2105
+ /**
2106
+ * @generated from field: livekit.EncodingOptions advanced = 8;
2107
+ */
2108
+ value: EncodingOptions;
2109
+ case: "advanced";
2110
+ } | { case: undefined; value?: undefined };
2111
+
2112
+ /**
2113
+ * @generated from field: repeated livekit.Output outputs = 9;
2114
+ */
2115
+ outputs: Output[];
2116
+
2117
+ /**
2118
+ * @generated from field: livekit.StorageConfig storage = 10;
2119
+ */
2120
+ storage?: StorageConfig;
2121
+
2122
+ /**
2123
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 11;
2124
+ */
2125
+ webhooks: WebhookConfig[];
2126
+
2127
+ constructor(data?: PartialMessage<ExportReplayRequest>);
2128
+
2129
+ static readonly runtime: typeof proto3;
2130
+ static readonly typeName = "livekit.ExportReplayRequest";
2131
+ static readonly fields: FieldList;
2132
+
2133
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExportReplayRequest;
2134
+
2135
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExportReplayRequest;
2136
+
2137
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExportReplayRequest;
2138
+
2139
+ static equals(a: ExportReplayRequest | PlainMessage<ExportReplayRequest> | undefined, b: ExportReplayRequest | PlainMessage<ExportReplayRequest> | undefined): boolean;
2140
+ }
2141
+
2142
+ /**
2143
+ * @generated from message livekit.RoomCompositeEgressRequest
2144
+ */
2145
+ export declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgressRequest> {
2146
+ /**
2147
+ * @generated from field: string room_name = 1;
2148
+ */
2149
+ roomName: string;
2150
+
2151
+ /**
2152
+ * @generated from field: string layout = 2;
2153
+ */
2154
+ layout: string;
2155
+
2156
+ /**
2157
+ * @generated from field: bool audio_only = 3;
2158
+ */
2159
+ audioOnly: boolean;
2160
+
2161
+ /**
2162
+ * @generated from field: livekit.AudioMixing audio_mixing = 15;
2163
+ */
2164
+ audioMixing: AudioMixing;
2165
+
2166
+ /**
2167
+ * @generated from field: bool video_only = 4;
2168
+ */
2169
+ videoOnly: boolean;
2170
+
2171
+ /**
2172
+ * @generated from field: string custom_base_url = 5;
2173
+ */
2174
+ customBaseUrl: string;
2175
+
2176
+ /**
2177
+ * @generated from oneof livekit.RoomCompositeEgressRequest.output
2178
+ */
2179
+ output: {
2180
+ /**
2181
+ * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];
2182
+ * @deprecated
2183
+ */
2184
+ value: EncodedFileOutput;
2185
+ case: "file";
2186
+ } | {
2187
+ /**
2188
+ * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];
2189
+ * @deprecated
2190
+ */
2191
+ value: StreamOutput;
2192
+ case: "stream";
2193
+ } | {
2194
+ /**
2195
+ * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];
2196
+ * @deprecated
2197
+ */
2198
+ value: SegmentedFileOutput;
2199
+ case: "segments";
2200
+ } | { case: undefined; value?: undefined };
2201
+
2202
+ /**
2203
+ * @generated from oneof livekit.RoomCompositeEgressRequest.options
2204
+ */
2205
+ options: {
2206
+ /**
2207
+ * @generated from field: livekit.EncodingOptionsPreset preset = 8;
2208
+ */
2209
+ value: EncodingOptionsPreset;
2210
+ case: "preset";
2211
+ } | {
2212
+ /**
2213
+ * @generated from field: livekit.EncodingOptions advanced = 9;
2214
+ */
2215
+ value: EncodingOptions;
2216
+ case: "advanced";
2217
+ } | { case: undefined; value?: undefined };
2218
+
2219
+ /**
2220
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
2221
+ */
2222
+ fileOutputs: EncodedFileOutput[];
2223
+
2224
+ /**
2225
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
2226
+ */
2227
+ streamOutputs: StreamOutput[];
2228
+
2229
+ /**
2230
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
2231
+ */
2232
+ segmentOutputs: SegmentedFileOutput[];
2233
+
2234
+ /**
2235
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 14;
2236
+ */
2237
+ imageOutputs: ImageOutput[];
2238
+
2239
+ /**
2240
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 16;
2241
+ */
2242
+ webhooks: WebhookConfig[];
2243
+
2244
+ constructor(data?: PartialMessage<RoomCompositeEgressRequest>);
2245
+
2246
+ static readonly runtime: typeof proto3;
2247
+ static readonly typeName = "livekit.RoomCompositeEgressRequest";
2248
+ static readonly fields: FieldList;
2249
+
2250
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomCompositeEgressRequest;
2251
+
2252
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
2253
+
2254
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
2255
+
2256
+ static equals(a: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined, b: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined): boolean;
2257
+ }
2258
+
2259
+ /**
2260
+ * @generated from message livekit.WebEgressRequest
2261
+ */
2262
+ export declare class WebEgressRequest extends Message<WebEgressRequest> {
2263
+ /**
2264
+ * @generated from field: string url = 1;
2265
+ */
2266
+ url: string;
2267
+
2268
+ /**
2269
+ * @generated from field: bool audio_only = 2;
2270
+ */
2271
+ audioOnly: boolean;
2272
+
2273
+ /**
2274
+ * @generated from field: bool video_only = 3;
2275
+ */
2276
+ videoOnly: boolean;
2277
+
2278
+ /**
2279
+ * @generated from field: bool await_start_signal = 12;
2280
+ */
2281
+ awaitStartSignal: boolean;
2282
+
2283
+ /**
2284
+ * @generated from oneof livekit.WebEgressRequest.output
2285
+ */
2286
+ output: {
2287
+ /**
2288
+ * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
2289
+ * @deprecated
2290
+ */
2291
+ value: EncodedFileOutput;
2292
+ case: "file";
2293
+ } | {
2294
+ /**
2295
+ * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
2296
+ * @deprecated
2297
+ */
2298
+ value: StreamOutput;
2299
+ case: "stream";
2300
+ } | {
2301
+ /**
2302
+ * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];
2303
+ * @deprecated
2304
+ */
2305
+ value: SegmentedFileOutput;
2306
+ case: "segments";
2307
+ } | { case: undefined; value?: undefined };
2308
+
2309
+ /**
2310
+ * @generated from oneof livekit.WebEgressRequest.options
2311
+ */
2312
+ options: {
2313
+ /**
2314
+ * @generated from field: livekit.EncodingOptionsPreset preset = 7;
2315
+ */
2316
+ value: EncodingOptionsPreset;
2317
+ case: "preset";
2318
+ } | {
2319
+ /**
2320
+ * @generated from field: livekit.EncodingOptions advanced = 8;
2321
+ */
2322
+ value: EncodingOptions;
2323
+ case: "advanced";
2324
+ } | { case: undefined; value?: undefined };
2325
+
2326
+ /**
2327
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;
2328
+ */
2329
+ fileOutputs: EncodedFileOutput[];
2330
+
2331
+ /**
2332
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 10;
2333
+ */
2334
+ streamOutputs: StreamOutput[];
2335
+
2336
+ /**
2337
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;
2338
+ */
2339
+ segmentOutputs: SegmentedFileOutput[];
2340
+
2341
+ /**
2342
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 13;
2343
+ */
2344
+ imageOutputs: ImageOutput[];
2345
+
2346
+ /**
2347
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 14;
2348
+ */
2349
+ webhooks: WebhookConfig[];
2350
+
2351
+ constructor(data?: PartialMessage<WebEgressRequest>);
2352
+
2353
+ static readonly runtime: typeof proto3;
2354
+ static readonly typeName = "livekit.WebEgressRequest";
2355
+ static readonly fields: FieldList;
2356
+
2357
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebEgressRequest;
2358
+
2359
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebEgressRequest;
2360
+
2361
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebEgressRequest;
2362
+
2363
+ static equals(a: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined, b: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined): boolean;
2364
+ }
2365
+
2366
+ /**
2367
+ * @generated from message livekit.ParticipantEgressRequest
2368
+ */
2369
+ export declare class ParticipantEgressRequest extends Message<ParticipantEgressRequest> {
2370
+ /**
2371
+ * @generated from field: string room_name = 1;
2372
+ */
2373
+ roomName: string;
2374
+
2375
+ /**
2376
+ * @generated from field: string identity = 2;
2377
+ */
2378
+ identity: string;
2379
+
2380
+ /**
2381
+ * @generated from field: bool screen_share = 3;
2382
+ */
2383
+ screenShare: boolean;
2384
+
2385
+ /**
2386
+ * @generated from oneof livekit.ParticipantEgressRequest.options
2387
+ */
2388
+ options: {
2389
+ /**
2390
+ * @generated from field: livekit.EncodingOptionsPreset preset = 4;
2391
+ */
2392
+ value: EncodingOptionsPreset;
2393
+ case: "preset";
2394
+ } | {
2395
+ /**
2396
+ * @generated from field: livekit.EncodingOptions advanced = 5;
2397
+ */
2398
+ value: EncodingOptions;
2399
+ case: "advanced";
2400
+ } | { case: undefined; value?: undefined };
2401
+
2402
+ /**
2403
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;
2404
+ */
2405
+ fileOutputs: EncodedFileOutput[];
2406
+
2407
+ /**
2408
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 7;
2409
+ */
2410
+ streamOutputs: StreamOutput[];
2411
+
2412
+ /**
2413
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;
2414
+ */
2415
+ segmentOutputs: SegmentedFileOutput[];
2416
+
2417
+ /**
2418
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 9;
2419
+ */
2420
+ imageOutputs: ImageOutput[];
2421
+
2422
+ /**
2423
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 10;
2424
+ */
2425
+ webhooks: WebhookConfig[];
2426
+
2427
+ constructor(data?: PartialMessage<ParticipantEgressRequest>);
2428
+
2429
+ static readonly runtime: typeof proto3;
2430
+ static readonly typeName = "livekit.ParticipantEgressRequest";
2431
+ static readonly fields: FieldList;
2432
+
2433
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantEgressRequest;
2434
+
2435
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
2436
+
2437
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
2438
+
2439
+ static equals(a: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined, b: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined): boolean;
2440
+ }
2441
+
2442
+ /**
2443
+ * @generated from message livekit.TrackCompositeEgressRequest
2444
+ */
2445
+ export declare class TrackCompositeEgressRequest extends Message<TrackCompositeEgressRequest> {
2446
+ /**
2447
+ * @generated from field: string room_name = 1;
2448
+ */
2449
+ roomName: string;
2450
+
2451
+ /**
2452
+ * @generated from field: string audio_track_id = 2;
2453
+ */
2454
+ audioTrackId: string;
2455
+
2456
+ /**
2457
+ * @generated from field: string video_track_id = 3;
2458
+ */
2459
+ videoTrackId: string;
2460
+
2461
+ /**
2462
+ * @generated from oneof livekit.TrackCompositeEgressRequest.output
2463
+ */
2464
+ output: {
2465
+ /**
2466
+ * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
2467
+ * @deprecated
2468
+ */
2469
+ value: EncodedFileOutput;
2470
+ case: "file";
2471
+ } | {
2472
+ /**
2473
+ * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
2474
+ * @deprecated
2475
+ */
2476
+ value: StreamOutput;
2477
+ case: "stream";
2478
+ } | {
2479
+ /**
2480
+ * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];
2481
+ * @deprecated
2482
+ */
2483
+ value: SegmentedFileOutput;
2484
+ case: "segments";
2485
+ } | { case: undefined; value?: undefined };
2486
+
2487
+ /**
2488
+ * @generated from oneof livekit.TrackCompositeEgressRequest.options
2489
+ */
2490
+ options: {
2491
+ /**
2492
+ * @generated from field: livekit.EncodingOptionsPreset preset = 6;
2493
+ */
2494
+ value: EncodingOptionsPreset;
2495
+ case: "preset";
2496
+ } | {
2497
+ /**
2498
+ * @generated from field: livekit.EncodingOptions advanced = 7;
2499
+ */
2500
+ value: EncodingOptions;
2501
+ case: "advanced";
2502
+ } | { case: undefined; value?: undefined };
2503
+
2504
+ /**
2505
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
2506
+ */
2507
+ fileOutputs: EncodedFileOutput[];
2508
+
2509
+ /**
2510
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
2511
+ */
2512
+ streamOutputs: StreamOutput[];
2513
+
2514
+ /**
2515
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
2516
+ */
2517
+ segmentOutputs: SegmentedFileOutput[];
2518
+
2519
+ /**
2520
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 14;
2521
+ */
2522
+ imageOutputs: ImageOutput[];
2523
+
2524
+ /**
2525
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 15;
2526
+ */
2527
+ webhooks: WebhookConfig[];
2528
+
2529
+ constructor(data?: PartialMessage<TrackCompositeEgressRequest>);
2530
+
2531
+ static readonly runtime: typeof proto3;
2532
+ static readonly typeName = "livekit.TrackCompositeEgressRequest";
2533
+ static readonly fields: FieldList;
2534
+
2535
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackCompositeEgressRequest;
2536
+
2537
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
2538
+
2539
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
2540
+
2541
+ static equals(a: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined, b: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined): boolean;
2542
+ }
2543
+
2544
+ /**
2545
+ * @generated from message livekit.TrackEgressRequest
2546
+ */
2547
+ export declare class TrackEgressRequest extends Message<TrackEgressRequest> {
2548
+ /**
2549
+ * @generated from field: string room_name = 1;
2550
+ */
2551
+ roomName: string;
2552
+
2553
+ /**
2554
+ * @generated from field: string track_id = 2;
2555
+ */
2556
+ trackId: string;
2557
+
2558
+ /**
2559
+ * @generated from oneof livekit.TrackEgressRequest.output
2560
+ */
2561
+ output: {
2562
+ /**
2563
+ * @generated from field: livekit.DirectFileOutput file = 3;
2564
+ */
2565
+ value: DirectFileOutput;
2566
+ case: "file";
2567
+ } | {
2568
+ /**
2569
+ * @generated from field: string websocket_url = 4;
2570
+ */
2571
+ value: string;
2572
+ case: "websocketUrl";
2573
+ } | { case: undefined; value?: undefined };
2574
+
2575
+ /**
2576
+ * @generated from field: repeated livekit.WebhookConfig webhooks = 5;
2577
+ */
2578
+ webhooks: WebhookConfig[];
2579
+
2580
+ constructor(data?: PartialMessage<TrackEgressRequest>);
2581
+
2582
+ static readonly runtime: typeof proto3;
2583
+ static readonly typeName = "livekit.TrackEgressRequest";
2584
+ static readonly fields: FieldList;
2585
+
2586
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackEgressRequest;
2587
+
2588
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackEgressRequest;
2589
+
2590
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackEgressRequest;
2591
+
2592
+ static equals(a: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined, b: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined): boolean;
2593
+ }
2594
+
2595
+ /**
2596
+ * @generated from message livekit.DirectFileOutput
2597
+ */
2598
+ export declare class DirectFileOutput extends Message<DirectFileOutput> {
2599
+ /**
2600
+ * @generated from field: string filepath = 1;
2601
+ */
2602
+ filepath: string;
2603
+
2604
+ /**
2605
+ * @generated from field: bool disable_manifest = 5;
2606
+ */
2607
+ disableManifest: boolean;
2608
+
2609
+ /**
2610
+ * @generated from oneof livekit.DirectFileOutput.output
2611
+ */
2612
+ output: {
2613
+ /**
2614
+ * @generated from field: livekit.S3Upload s3 = 2;
2615
+ */
2616
+ value: S3Upload;
2617
+ case: "s3";
2618
+ } | {
2619
+ /**
2620
+ * @generated from field: livekit.GCPUpload gcp = 3;
2621
+ */
2622
+ value: GCPUpload;
2623
+ case: "gcp";
2624
+ } | {
2625
+ /**
2626
+ * @generated from field: livekit.AzureBlobUpload azure = 4;
2627
+ */
2628
+ value: AzureBlobUpload;
2629
+ case: "azure";
2630
+ } | {
2631
+ /**
2632
+ * @generated from field: livekit.AliOSSUpload aliOSS = 6;
2633
+ */
2634
+ value: AliOSSUpload;
2635
+ case: "aliOSS";
2636
+ } | { case: undefined; value?: undefined };
2637
+
2638
+ constructor(data?: PartialMessage<DirectFileOutput>);
2639
+
2640
+ static readonly runtime: typeof proto3;
2641
+ static readonly typeName = "livekit.DirectFileOutput";
2642
+ static readonly fields: FieldList;
2643
+
2644
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectFileOutput;
2645
+
2646
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectFileOutput;
2647
+
2648
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectFileOutput;
2649
+
2650
+ static equals(a: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined, b: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined): boolean;
2651
+ }
2652
+
2653
+ /**
2654
+ * @generated from message livekit.EncodedFileOutput
2655
+ */
2656
+ export declare class EncodedFileOutput extends Message<EncodedFileOutput> {
2657
+ /**
2658
+ * @generated from field: livekit.EncodedFileType file_type = 1;
2659
+ */
2660
+ fileType: EncodedFileType;
2661
+
2662
+ /**
2663
+ * @generated from field: string filepath = 2;
2664
+ */
2665
+ filepath: string;
2666
+
2667
+ /**
2668
+ * @generated from field: bool disable_manifest = 6;
2669
+ */
2670
+ disableManifest: boolean;
2671
+
2672
+ /**
2673
+ * @generated from oneof livekit.EncodedFileOutput.output
2674
+ */
2675
+ output: {
2676
+ /**
2677
+ * @generated from field: livekit.S3Upload s3 = 3;
2678
+ */
2679
+ value: S3Upload;
2680
+ case: "s3";
2681
+ } | {
2682
+ /**
2683
+ * @generated from field: livekit.GCPUpload gcp = 4;
2684
+ */
2685
+ value: GCPUpload;
2686
+ case: "gcp";
2687
+ } | {
2688
+ /**
2689
+ * @generated from field: livekit.AzureBlobUpload azure = 5;
2690
+ */
2691
+ value: AzureBlobUpload;
2692
+ case: "azure";
2693
+ } | {
2694
+ /**
2695
+ * @generated from field: livekit.AliOSSUpload aliOSS = 7;
2696
+ */
2697
+ value: AliOSSUpload;
2698
+ case: "aliOSS";
2699
+ } | { case: undefined; value?: undefined };
2700
+
2701
+ constructor(data?: PartialMessage<EncodedFileOutput>);
2702
+
2703
+ static readonly runtime: typeof proto3;
2704
+ static readonly typeName = "livekit.EncodedFileOutput";
2705
+ static readonly fields: FieldList;
2706
+
2707
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodedFileOutput;
2708
+
2709
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodedFileOutput;
2710
+
2711
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodedFileOutput;
2712
+
2713
+ static equals(a: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined, b: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined): boolean;
2714
+ }
2715
+
2716
+ /**
2717
+ * @generated from message livekit.UpdateLayoutRequest
2718
+ */
2719
+ export declare class UpdateLayoutRequest extends Message<UpdateLayoutRequest> {
2720
+ /**
2721
+ * @generated from field: string egress_id = 1;
2722
+ */
2723
+ egressId: string;
2724
+
2725
+ /**
2726
+ * @generated from field: string layout = 2;
2727
+ */
2728
+ layout: string;
2729
+
2730
+ constructor(data?: PartialMessage<UpdateLayoutRequest>);
2731
+
2732
+ static readonly runtime: typeof proto3;
2733
+ static readonly typeName = "livekit.UpdateLayoutRequest";
2734
+ static readonly fields: FieldList;
2735
+
2736
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLayoutRequest;
2737
+
2738
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
2739
+
2740
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
2741
+
2742
+ static equals(a: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined, b: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined): boolean;
2743
+ }
2744
+
2745
+ /**
2746
+ * @generated from message livekit.UpdateStreamRequest
2747
+ */
2748
+ export declare class UpdateStreamRequest extends Message<UpdateStreamRequest> {
2749
+ /**
2750
+ * @generated from field: string egress_id = 1;
2751
+ */
2752
+ egressId: string;
2753
+
2754
+ /**
2755
+ * @generated from field: repeated string add_output_urls = 2;
2756
+ */
2757
+ addOutputUrls: string[];
2758
+
2759
+ /**
2760
+ * @generated from field: repeated string remove_output_urls = 3;
2761
+ */
2762
+ removeOutputUrls: string[];
2763
+
2764
+ constructor(data?: PartialMessage<UpdateStreamRequest>);
2765
+
2766
+ static readonly runtime: typeof proto3;
2767
+ static readonly typeName = "livekit.UpdateStreamRequest";
2768
+ static readonly fields: FieldList;
2769
+
2770
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateStreamRequest;
2771
+
2772
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
2773
+
2774
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
2775
+
2776
+ static equals(a: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined, b: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined): boolean;
2777
+ }
2778
+
2779
+ /**
2780
+ * @generated from message livekit.StreamInfoList
2781
+ */
2782
+ export declare class StreamInfoList extends Message<StreamInfoList> {
2783
+ /**
2784
+ * @generated from field: repeated livekit.StreamInfo info = 1;
2785
+ */
2786
+ info: StreamInfo[];
2787
+
2788
+ constructor(data?: PartialMessage<StreamInfoList>);
2789
+
2790
+ static readonly runtime: typeof proto3;
2791
+ static readonly typeName = "livekit.StreamInfoList";
2792
+ static readonly fields: FieldList;
2793
+
2794
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfoList;
2795
+
2796
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfoList;
2797
+
2798
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfoList;
2799
+
2800
+ static equals(a: StreamInfoList | PlainMessage<StreamInfoList> | undefined, b: StreamInfoList | PlainMessage<StreamInfoList> | undefined): boolean;
2801
+ }
2802
+