@livekit/protocol 1.10.1

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.
@@ -0,0 +1,1974 @@
1
+ // Copyright 2023 LiveKit, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.7.2 with parameter "target=js+dts"
16
+ // @generated from file livekit_egress.proto (package livekit, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js";
23
+
24
+ /**
25
+ * @generated from enum livekit.EncodedFileType
26
+ */
27
+ export declare enum EncodedFileType {
28
+ /**
29
+ * file type chosen based on codecs
30
+ *
31
+ * @generated from enum value: DEFAULT_FILETYPE = 0;
32
+ */
33
+ DEFAULT_FILETYPE = 0,
34
+
35
+ /**
36
+ * @generated from enum value: MP4 = 1;
37
+ */
38
+ MP4 = 1,
39
+
40
+ /**
41
+ * @generated from enum value: OGG = 2;
42
+ */
43
+ OGG = 2,
44
+ }
45
+
46
+ /**
47
+ * @generated from enum livekit.SegmentedFileProtocol
48
+ */
49
+ export declare enum SegmentedFileProtocol {
50
+ /**
51
+ * @generated from enum value: DEFAULT_SEGMENTED_FILE_PROTOCOL = 0;
52
+ */
53
+ DEFAULT_SEGMENTED_FILE_PROTOCOL = 0,
54
+
55
+ /**
56
+ * @generated from enum value: HLS_PROTOCOL = 1;
57
+ */
58
+ HLS_PROTOCOL = 1,
59
+ }
60
+
61
+ /**
62
+ * @generated from enum livekit.SegmentedFileSuffix
63
+ */
64
+ export declare enum SegmentedFileSuffix {
65
+ /**
66
+ * @generated from enum value: INDEX = 0;
67
+ */
68
+ INDEX = 0,
69
+
70
+ /**
71
+ * @generated from enum value: TIMESTAMP = 1;
72
+ */
73
+ TIMESTAMP = 1,
74
+ }
75
+
76
+ /**
77
+ * @generated from enum livekit.ImageFileSuffix
78
+ */
79
+ export declare enum ImageFileSuffix {
80
+ /**
81
+ * @generated from enum value: IMAGE_SUFFIX_INDEX = 0;
82
+ */
83
+ IMAGE_SUFFIX_INDEX = 0,
84
+
85
+ /**
86
+ * @generated from enum value: IMAGE_SUFFIX_TIMESTAMP = 1;
87
+ */
88
+ IMAGE_SUFFIX_TIMESTAMP = 1,
89
+ }
90
+
91
+ /**
92
+ * @generated from enum livekit.StreamProtocol
93
+ */
94
+ export declare enum StreamProtocol {
95
+ /**
96
+ * protocol chosen based on urls
97
+ *
98
+ * @generated from enum value: DEFAULT_PROTOCOL = 0;
99
+ */
100
+ DEFAULT_PROTOCOL = 0,
101
+
102
+ /**
103
+ * @generated from enum value: RTMP = 1;
104
+ */
105
+ RTMP = 1,
106
+ }
107
+
108
+ /**
109
+ * @generated from enum livekit.EncodingOptionsPreset
110
+ */
111
+ export declare enum EncodingOptionsPreset {
112
+ /**
113
+ * 1280x720, 30fps, 3000kpbs, H.264_MAIN / OPUS
114
+ *
115
+ * @generated from enum value: H264_720P_30 = 0;
116
+ */
117
+ H264_720P_30 = 0,
118
+
119
+ /**
120
+ * 1280x720, 60fps, 4500kbps, H.264_MAIN / OPUS
121
+ *
122
+ * @generated from enum value: H264_720P_60 = 1;
123
+ */
124
+ H264_720P_60 = 1,
125
+
126
+ /**
127
+ * 1920x1080, 30fps, 4500kbps, H.264_MAIN / OPUS
128
+ *
129
+ * @generated from enum value: H264_1080P_30 = 2;
130
+ */
131
+ H264_1080P_30 = 2,
132
+
133
+ /**
134
+ * 1920x1080, 60fps, 6000kbps, H.264_MAIN / OPUS
135
+ *
136
+ * @generated from enum value: H264_1080P_60 = 3;
137
+ */
138
+ H264_1080P_60 = 3,
139
+
140
+ /**
141
+ * 720x1280, 30fps, 3000kpbs, H.264_MAIN / OPUS
142
+ *
143
+ * @generated from enum value: PORTRAIT_H264_720P_30 = 4;
144
+ */
145
+ PORTRAIT_H264_720P_30 = 4,
146
+
147
+ /**
148
+ * 720x1280, 60fps, 4500kbps, H.264_MAIN / OPUS
149
+ *
150
+ * @generated from enum value: PORTRAIT_H264_720P_60 = 5;
151
+ */
152
+ PORTRAIT_H264_720P_60 = 5,
153
+
154
+ /**
155
+ * 1080x1920, 30fps, 4500kbps, H.264_MAIN / OPUS
156
+ *
157
+ * @generated from enum value: PORTRAIT_H264_1080P_30 = 6;
158
+ */
159
+ PORTRAIT_H264_1080P_30 = 6,
160
+
161
+ /**
162
+ * 1080x1920, 60fps, 6000kbps, H.264_MAIN / OPUS
163
+ *
164
+ * @generated from enum value: PORTRAIT_H264_1080P_60 = 7;
165
+ */
166
+ PORTRAIT_H264_1080P_60 = 7,
167
+ }
168
+
169
+ /**
170
+ * @generated from enum livekit.EgressStatus
171
+ */
172
+ export declare enum EgressStatus {
173
+ /**
174
+ * @generated from enum value: EGRESS_STARTING = 0;
175
+ */
176
+ EGRESS_STARTING = 0,
177
+
178
+ /**
179
+ * @generated from enum value: EGRESS_ACTIVE = 1;
180
+ */
181
+ EGRESS_ACTIVE = 1,
182
+
183
+ /**
184
+ * @generated from enum value: EGRESS_ENDING = 2;
185
+ */
186
+ EGRESS_ENDING = 2,
187
+
188
+ /**
189
+ * @generated from enum value: EGRESS_COMPLETE = 3;
190
+ */
191
+ EGRESS_COMPLETE = 3,
192
+
193
+ /**
194
+ * @generated from enum value: EGRESS_FAILED = 4;
195
+ */
196
+ EGRESS_FAILED = 4,
197
+
198
+ /**
199
+ * @generated from enum value: EGRESS_ABORTED = 5;
200
+ */
201
+ EGRESS_ABORTED = 5,
202
+
203
+ /**
204
+ * @generated from enum value: EGRESS_LIMIT_REACHED = 6;
205
+ */
206
+ EGRESS_LIMIT_REACHED = 6,
207
+ }
208
+
209
+ /**
210
+ * composite using a web browser
211
+ *
212
+ * @generated from message livekit.RoomCompositeEgressRequest
213
+ */
214
+ export declare class RoomCompositeEgressRequest extends Message<RoomCompositeEgressRequest> {
215
+ /**
216
+ * required
217
+ *
218
+ * @generated from field: string room_name = 1;
219
+ */
220
+ roomName: string;
221
+
222
+ /**
223
+ * (optional)
224
+ *
225
+ * @generated from field: string layout = 2;
226
+ */
227
+ layout: string;
228
+
229
+ /**
230
+ * (default false)
231
+ *
232
+ * @generated from field: bool audio_only = 3;
233
+ */
234
+ audioOnly: boolean;
235
+
236
+ /**
237
+ * (default false)
238
+ *
239
+ * @generated from field: bool video_only = 4;
240
+ */
241
+ videoOnly: boolean;
242
+
243
+ /**
244
+ * template base url (default https://recorder.livekit.io)
245
+ *
246
+ * @generated from field: string custom_base_url = 5;
247
+ */
248
+ customBaseUrl: string;
249
+
250
+ /**
251
+ * deprecated (use _output fields)
252
+ *
253
+ * @generated from oneof livekit.RoomCompositeEgressRequest.output
254
+ */
255
+ output: {
256
+ /**
257
+ * @generated from field: livekit.EncodedFileOutput file = 6 [deprecated = true];
258
+ * @deprecated
259
+ */
260
+ value: EncodedFileOutput;
261
+ case: "file";
262
+ } | {
263
+ /**
264
+ * @generated from field: livekit.StreamOutput stream = 7 [deprecated = true];
265
+ * @deprecated
266
+ */
267
+ value: StreamOutput;
268
+ case: "stream";
269
+ } | {
270
+ /**
271
+ * @generated from field: livekit.SegmentedFileOutput segments = 10 [deprecated = true];
272
+ * @deprecated
273
+ */
274
+ value: SegmentedFileOutput;
275
+ case: "segments";
276
+ } | { case: undefined; value?: undefined };
277
+
278
+ /**
279
+ * @generated from oneof livekit.RoomCompositeEgressRequest.options
280
+ */
281
+ options: {
282
+ /**
283
+ * (default H264_720P_30)
284
+ *
285
+ * @generated from field: livekit.EncodingOptionsPreset preset = 8;
286
+ */
287
+ value: EncodingOptionsPreset;
288
+ case: "preset";
289
+ } | {
290
+ /**
291
+ * (optional)
292
+ *
293
+ * @generated from field: livekit.EncodingOptions advanced = 9;
294
+ */
295
+ value: EncodingOptions;
296
+ case: "advanced";
297
+ } | { case: undefined; value?: undefined };
298
+
299
+ /**
300
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
301
+ */
302
+ fileOutputs: EncodedFileOutput[];
303
+
304
+ /**
305
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
306
+ */
307
+ streamOutputs: StreamOutput[];
308
+
309
+ /**
310
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
311
+ */
312
+ segmentOutputs: SegmentedFileOutput[];
313
+
314
+ /**
315
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 14;
316
+ */
317
+ imageOutputs: ImageOutput[];
318
+
319
+ constructor(data?: PartialMessage<RoomCompositeEgressRequest>);
320
+
321
+ static readonly runtime: typeof proto3;
322
+ static readonly typeName = "livekit.RoomCompositeEgressRequest";
323
+ static readonly fields: FieldList;
324
+
325
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RoomCompositeEgressRequest;
326
+
327
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
328
+
329
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RoomCompositeEgressRequest;
330
+
331
+ static equals(a: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined, b: RoomCompositeEgressRequest | PlainMessage<RoomCompositeEgressRequest> | undefined): boolean;
332
+ }
333
+
334
+ /**
335
+ * record any website
336
+ *
337
+ * @generated from message livekit.WebEgressRequest
338
+ */
339
+ export declare class WebEgressRequest extends Message<WebEgressRequest> {
340
+ /**
341
+ * @generated from field: string url = 1;
342
+ */
343
+ url: string;
344
+
345
+ /**
346
+ * @generated from field: bool audio_only = 2;
347
+ */
348
+ audioOnly: boolean;
349
+
350
+ /**
351
+ * @generated from field: bool video_only = 3;
352
+ */
353
+ videoOnly: boolean;
354
+
355
+ /**
356
+ * @generated from field: bool await_start_signal = 12;
357
+ */
358
+ awaitStartSignal: boolean;
359
+
360
+ /**
361
+ * deprecated (use _output fields)
362
+ *
363
+ * @generated from oneof livekit.WebEgressRequest.output
364
+ */
365
+ output: {
366
+ /**
367
+ * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
368
+ * @deprecated
369
+ */
370
+ value: EncodedFileOutput;
371
+ case: "file";
372
+ } | {
373
+ /**
374
+ * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
375
+ * @deprecated
376
+ */
377
+ value: StreamOutput;
378
+ case: "stream";
379
+ } | {
380
+ /**
381
+ * @generated from field: livekit.SegmentedFileOutput segments = 6 [deprecated = true];
382
+ * @deprecated
383
+ */
384
+ value: SegmentedFileOutput;
385
+ case: "segments";
386
+ } | { case: undefined; value?: undefined };
387
+
388
+ /**
389
+ * @generated from oneof livekit.WebEgressRequest.options
390
+ */
391
+ options: {
392
+ /**
393
+ * @generated from field: livekit.EncodingOptionsPreset preset = 7;
394
+ */
395
+ value: EncodingOptionsPreset;
396
+ case: "preset";
397
+ } | {
398
+ /**
399
+ * @generated from field: livekit.EncodingOptions advanced = 8;
400
+ */
401
+ value: EncodingOptions;
402
+ case: "advanced";
403
+ } | { case: undefined; value?: undefined };
404
+
405
+ /**
406
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 9;
407
+ */
408
+ fileOutputs: EncodedFileOutput[];
409
+
410
+ /**
411
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 10;
412
+ */
413
+ streamOutputs: StreamOutput[];
414
+
415
+ /**
416
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 11;
417
+ */
418
+ segmentOutputs: SegmentedFileOutput[];
419
+
420
+ /**
421
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 13;
422
+ */
423
+ imageOutputs: ImageOutput[];
424
+
425
+ constructor(data?: PartialMessage<WebEgressRequest>);
426
+
427
+ static readonly runtime: typeof proto3;
428
+ static readonly typeName = "livekit.WebEgressRequest";
429
+ static readonly fields: FieldList;
430
+
431
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebEgressRequest;
432
+
433
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebEgressRequest;
434
+
435
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebEgressRequest;
436
+
437
+ static equals(a: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined, b: WebEgressRequest | PlainMessage<WebEgressRequest> | undefined): boolean;
438
+ }
439
+
440
+ /**
441
+ * record audio and video from a single participant
442
+ *
443
+ * @generated from message livekit.ParticipantEgressRequest
444
+ */
445
+ export declare class ParticipantEgressRequest extends Message<ParticipantEgressRequest> {
446
+ /**
447
+ * required
448
+ *
449
+ * @generated from field: string room_name = 1;
450
+ */
451
+ roomName: string;
452
+
453
+ /**
454
+ * required
455
+ *
456
+ * @generated from field: string identity = 2;
457
+ */
458
+ identity: string;
459
+
460
+ /**
461
+ * (default false)
462
+ *
463
+ * @generated from field: bool screen_share = 3;
464
+ */
465
+ screenShare: boolean;
466
+
467
+ /**
468
+ * @generated from oneof livekit.ParticipantEgressRequest.options
469
+ */
470
+ options: {
471
+ /**
472
+ * (default H264_720P_30)
473
+ *
474
+ * @generated from field: livekit.EncodingOptionsPreset preset = 4;
475
+ */
476
+ value: EncodingOptionsPreset;
477
+ case: "preset";
478
+ } | {
479
+ /**
480
+ * (optional)
481
+ *
482
+ * @generated from field: livekit.EncodingOptions advanced = 5;
483
+ */
484
+ value: EncodingOptions;
485
+ case: "advanced";
486
+ } | { case: undefined; value?: undefined };
487
+
488
+ /**
489
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 6;
490
+ */
491
+ fileOutputs: EncodedFileOutput[];
492
+
493
+ /**
494
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 7;
495
+ */
496
+ streamOutputs: StreamOutput[];
497
+
498
+ /**
499
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 8;
500
+ */
501
+ segmentOutputs: SegmentedFileOutput[];
502
+
503
+ /**
504
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 9;
505
+ */
506
+ imageOutputs: ImageOutput[];
507
+
508
+ constructor(data?: PartialMessage<ParticipantEgressRequest>);
509
+
510
+ static readonly runtime: typeof proto3;
511
+ static readonly typeName = "livekit.ParticipantEgressRequest";
512
+ static readonly fields: FieldList;
513
+
514
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParticipantEgressRequest;
515
+
516
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
517
+
518
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParticipantEgressRequest;
519
+
520
+ static equals(a: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined, b: ParticipantEgressRequest | PlainMessage<ParticipantEgressRequest> | undefined): boolean;
521
+ }
522
+
523
+ /**
524
+ * containerize up to one audio and one video track
525
+ *
526
+ * @generated from message livekit.TrackCompositeEgressRequest
527
+ */
528
+ export declare class TrackCompositeEgressRequest extends Message<TrackCompositeEgressRequest> {
529
+ /**
530
+ * required
531
+ *
532
+ * @generated from field: string room_name = 1;
533
+ */
534
+ roomName: string;
535
+
536
+ /**
537
+ * (optional)
538
+ *
539
+ * @generated from field: string audio_track_id = 2;
540
+ */
541
+ audioTrackId: string;
542
+
543
+ /**
544
+ * (optional)
545
+ *
546
+ * @generated from field: string video_track_id = 3;
547
+ */
548
+ videoTrackId: string;
549
+
550
+ /**
551
+ * deprecated (use _output fields)
552
+ *
553
+ * @generated from oneof livekit.TrackCompositeEgressRequest.output
554
+ */
555
+ output: {
556
+ /**
557
+ * @generated from field: livekit.EncodedFileOutput file = 4 [deprecated = true];
558
+ * @deprecated
559
+ */
560
+ value: EncodedFileOutput;
561
+ case: "file";
562
+ } | {
563
+ /**
564
+ * @generated from field: livekit.StreamOutput stream = 5 [deprecated = true];
565
+ * @deprecated
566
+ */
567
+ value: StreamOutput;
568
+ case: "stream";
569
+ } | {
570
+ /**
571
+ * @generated from field: livekit.SegmentedFileOutput segments = 8 [deprecated = true];
572
+ * @deprecated
573
+ */
574
+ value: SegmentedFileOutput;
575
+ case: "segments";
576
+ } | { case: undefined; value?: undefined };
577
+
578
+ /**
579
+ * @generated from oneof livekit.TrackCompositeEgressRequest.options
580
+ */
581
+ options: {
582
+ /**
583
+ * (default H264_720P_30)
584
+ *
585
+ * @generated from field: livekit.EncodingOptionsPreset preset = 6;
586
+ */
587
+ value: EncodingOptionsPreset;
588
+ case: "preset";
589
+ } | {
590
+ /**
591
+ * (optional)
592
+ *
593
+ * @generated from field: livekit.EncodingOptions advanced = 7;
594
+ */
595
+ value: EncodingOptions;
596
+ case: "advanced";
597
+ } | { case: undefined; value?: undefined };
598
+
599
+ /**
600
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 11;
601
+ */
602
+ fileOutputs: EncodedFileOutput[];
603
+
604
+ /**
605
+ * @generated from field: repeated livekit.StreamOutput stream_outputs = 12;
606
+ */
607
+ streamOutputs: StreamOutput[];
608
+
609
+ /**
610
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 13;
611
+ */
612
+ segmentOutputs: SegmentedFileOutput[];
613
+
614
+ /**
615
+ * @generated from field: repeated livekit.ImageOutput image_outputs = 14;
616
+ */
617
+ imageOutputs: ImageOutput[];
618
+
619
+ constructor(data?: PartialMessage<TrackCompositeEgressRequest>);
620
+
621
+ static readonly runtime: typeof proto3;
622
+ static readonly typeName = "livekit.TrackCompositeEgressRequest";
623
+ static readonly fields: FieldList;
624
+
625
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackCompositeEgressRequest;
626
+
627
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
628
+
629
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackCompositeEgressRequest;
630
+
631
+ static equals(a: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined, b: TrackCompositeEgressRequest | PlainMessage<TrackCompositeEgressRequest> | undefined): boolean;
632
+ }
633
+
634
+ /**
635
+ * record tracks individually, without transcoding
636
+ *
637
+ * @generated from message livekit.TrackEgressRequest
638
+ */
639
+ export declare class TrackEgressRequest extends Message<TrackEgressRequest> {
640
+ /**
641
+ * required
642
+ *
643
+ * @generated from field: string room_name = 1;
644
+ */
645
+ roomName: string;
646
+
647
+ /**
648
+ * required
649
+ *
650
+ * @generated from field: string track_id = 2;
651
+ */
652
+ trackId: string;
653
+
654
+ /**
655
+ * required
656
+ *
657
+ * @generated from oneof livekit.TrackEgressRequest.output
658
+ */
659
+ output: {
660
+ /**
661
+ * @generated from field: livekit.DirectFileOutput file = 3;
662
+ */
663
+ value: DirectFileOutput;
664
+ case: "file";
665
+ } | {
666
+ /**
667
+ * @generated from field: string websocket_url = 4;
668
+ */
669
+ value: string;
670
+ case: "websocketUrl";
671
+ } | { case: undefined; value?: undefined };
672
+
673
+ constructor(data?: PartialMessage<TrackEgressRequest>);
674
+
675
+ static readonly runtime: typeof proto3;
676
+ static readonly typeName = "livekit.TrackEgressRequest";
677
+ static readonly fields: FieldList;
678
+
679
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrackEgressRequest;
680
+
681
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrackEgressRequest;
682
+
683
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrackEgressRequest;
684
+
685
+ static equals(a: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined, b: TrackEgressRequest | PlainMessage<TrackEgressRequest> | undefined): boolean;
686
+ }
687
+
688
+ /**
689
+ * @generated from message livekit.EncodedFileOutput
690
+ */
691
+ export declare class EncodedFileOutput extends Message<EncodedFileOutput> {
692
+ /**
693
+ * (optional)
694
+ *
695
+ * @generated from field: livekit.EncodedFileType file_type = 1;
696
+ */
697
+ fileType: EncodedFileType;
698
+
699
+ /**
700
+ * see egress docs for templating (default {room_name}-{time})
701
+ *
702
+ * @generated from field: string filepath = 2;
703
+ */
704
+ filepath: string;
705
+
706
+ /**
707
+ * disable upload of manifest file (default false)
708
+ *
709
+ * @generated from field: bool disable_manifest = 6;
710
+ */
711
+ disableManifest: boolean;
712
+
713
+ /**
714
+ * @generated from oneof livekit.EncodedFileOutput.output
715
+ */
716
+ output: {
717
+ /**
718
+ * @generated from field: livekit.S3Upload s3 = 3;
719
+ */
720
+ value: S3Upload;
721
+ case: "s3";
722
+ } | {
723
+ /**
724
+ * @generated from field: livekit.GCPUpload gcp = 4;
725
+ */
726
+ value: GCPUpload;
727
+ case: "gcp";
728
+ } | {
729
+ /**
730
+ * @generated from field: livekit.AzureBlobUpload azure = 5;
731
+ */
732
+ value: AzureBlobUpload;
733
+ case: "azure";
734
+ } | {
735
+ /**
736
+ * @generated from field: livekit.AliOSSUpload aliOSS = 7;
737
+ */
738
+ value: AliOSSUpload;
739
+ case: "aliOSS";
740
+ } | { case: undefined; value?: undefined };
741
+
742
+ constructor(data?: PartialMessage<EncodedFileOutput>);
743
+
744
+ static readonly runtime: typeof proto3;
745
+ static readonly typeName = "livekit.EncodedFileOutput";
746
+ static readonly fields: FieldList;
747
+
748
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodedFileOutput;
749
+
750
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodedFileOutput;
751
+
752
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodedFileOutput;
753
+
754
+ static equals(a: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined, b: EncodedFileOutput | PlainMessage<EncodedFileOutput> | undefined): boolean;
755
+ }
756
+
757
+ /**
758
+ * Used to generate HLS segments or other kind of segmented output
759
+ *
760
+ * @generated from message livekit.SegmentedFileOutput
761
+ */
762
+ export declare class SegmentedFileOutput extends Message<SegmentedFileOutput> {
763
+ /**
764
+ * (optional)
765
+ *
766
+ * @generated from field: livekit.SegmentedFileProtocol protocol = 1;
767
+ */
768
+ protocol: SegmentedFileProtocol;
769
+
770
+ /**
771
+ * (optional)
772
+ *
773
+ * @generated from field: string filename_prefix = 2;
774
+ */
775
+ filenamePrefix: string;
776
+
777
+ /**
778
+ * (optional)
779
+ *
780
+ * @generated from field: string playlist_name = 3;
781
+ */
782
+ playlistName: string;
783
+
784
+ /**
785
+ * (optional, disabled if not provided). Path of a live playlist
786
+ *
787
+ * @generated from field: string live_playlist_name = 11;
788
+ */
789
+ livePlaylistName: string;
790
+
791
+ /**
792
+ * in seconds (optional)
793
+ *
794
+ * @generated from field: uint32 segment_duration = 4;
795
+ */
796
+ segmentDuration: number;
797
+
798
+ /**
799
+ * (optional, default INDEX)
800
+ *
801
+ * @generated from field: livekit.SegmentedFileSuffix filename_suffix = 10;
802
+ */
803
+ filenameSuffix: SegmentedFileSuffix;
804
+
805
+ /**
806
+ * disable upload of manifest file (default false)
807
+ *
808
+ * @generated from field: bool disable_manifest = 8;
809
+ */
810
+ disableManifest: boolean;
811
+
812
+ /**
813
+ * required
814
+ *
815
+ * @generated from oneof livekit.SegmentedFileOutput.output
816
+ */
817
+ output: {
818
+ /**
819
+ * @generated from field: livekit.S3Upload s3 = 5;
820
+ */
821
+ value: S3Upload;
822
+ case: "s3";
823
+ } | {
824
+ /**
825
+ * @generated from field: livekit.GCPUpload gcp = 6;
826
+ */
827
+ value: GCPUpload;
828
+ case: "gcp";
829
+ } | {
830
+ /**
831
+ * @generated from field: livekit.AzureBlobUpload azure = 7;
832
+ */
833
+ value: AzureBlobUpload;
834
+ case: "azure";
835
+ } | {
836
+ /**
837
+ * @generated from field: livekit.AliOSSUpload aliOSS = 9;
838
+ */
839
+ value: AliOSSUpload;
840
+ case: "aliOSS";
841
+ } | { case: undefined; value?: undefined };
842
+
843
+ constructor(data?: PartialMessage<SegmentedFileOutput>);
844
+
845
+ static readonly runtime: typeof proto3;
846
+ static readonly typeName = "livekit.SegmentedFileOutput";
847
+ static readonly fields: FieldList;
848
+
849
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentedFileOutput;
850
+
851
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentedFileOutput;
852
+
853
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentedFileOutput;
854
+
855
+ static equals(a: SegmentedFileOutput | PlainMessage<SegmentedFileOutput> | undefined, b: SegmentedFileOutput | PlainMessage<SegmentedFileOutput> | undefined): boolean;
856
+ }
857
+
858
+ /**
859
+ * @generated from message livekit.DirectFileOutput
860
+ */
861
+ export declare class DirectFileOutput extends Message<DirectFileOutput> {
862
+ /**
863
+ * see egress docs for templating (default {track_id}-{time})
864
+ *
865
+ * @generated from field: string filepath = 1;
866
+ */
867
+ filepath: string;
868
+
869
+ /**
870
+ * disable upload of manifest file (default false)
871
+ *
872
+ * @generated from field: bool disable_manifest = 5;
873
+ */
874
+ disableManifest: boolean;
875
+
876
+ /**
877
+ * @generated from oneof livekit.DirectFileOutput.output
878
+ */
879
+ output: {
880
+ /**
881
+ * @generated from field: livekit.S3Upload s3 = 2;
882
+ */
883
+ value: S3Upload;
884
+ case: "s3";
885
+ } | {
886
+ /**
887
+ * @generated from field: livekit.GCPUpload gcp = 3;
888
+ */
889
+ value: GCPUpload;
890
+ case: "gcp";
891
+ } | {
892
+ /**
893
+ * @generated from field: livekit.AzureBlobUpload azure = 4;
894
+ */
895
+ value: AzureBlobUpload;
896
+ case: "azure";
897
+ } | {
898
+ /**
899
+ * @generated from field: livekit.AliOSSUpload aliOSS = 6;
900
+ */
901
+ value: AliOSSUpload;
902
+ case: "aliOSS";
903
+ } | { case: undefined; value?: undefined };
904
+
905
+ constructor(data?: PartialMessage<DirectFileOutput>);
906
+
907
+ static readonly runtime: typeof proto3;
908
+ static readonly typeName = "livekit.DirectFileOutput";
909
+ static readonly fields: FieldList;
910
+
911
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DirectFileOutput;
912
+
913
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DirectFileOutput;
914
+
915
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectFileOutput;
916
+
917
+ static equals(a: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined, b: DirectFileOutput | PlainMessage<DirectFileOutput> | undefined): boolean;
918
+ }
919
+
920
+ /**
921
+ * @generated from message livekit.ImageOutput
922
+ */
923
+ export declare class ImageOutput extends Message<ImageOutput> {
924
+ /**
925
+ * in seconds (required)
926
+ *
927
+ * @generated from field: uint32 capture_interval = 1;
928
+ */
929
+ captureInterval: number;
930
+
931
+ /**
932
+ * (optional, defaults to track width)
933
+ *
934
+ * @generated from field: int32 width = 2;
935
+ */
936
+ width: number;
937
+
938
+ /**
939
+ * (optional, defaults to track height)
940
+ *
941
+ * @generated from field: int32 height = 3;
942
+ */
943
+ height: number;
944
+
945
+ /**
946
+ * (optional)
947
+ *
948
+ * @generated from field: string filename_prefix = 4;
949
+ */
950
+ filenamePrefix: string;
951
+
952
+ /**
953
+ * (optional, default INDEX)
954
+ *
955
+ * @generated from field: livekit.ImageFileSuffix filename_suffix = 5;
956
+ */
957
+ filenameSuffix: ImageFileSuffix;
958
+
959
+ /**
960
+ * (optional)
961
+ *
962
+ * @generated from field: livekit.ImageCodec image_codec = 6;
963
+ */
964
+ imageCodec: ImageCodec;
965
+
966
+ /**
967
+ * disable upload of manifest file (default false)
968
+ *
969
+ * @generated from field: bool disable_manifest = 7;
970
+ */
971
+ disableManifest: boolean;
972
+
973
+ /**
974
+ * required
975
+ *
976
+ * @generated from oneof livekit.ImageOutput.output
977
+ */
978
+ output: {
979
+ /**
980
+ * @generated from field: livekit.S3Upload s3 = 8;
981
+ */
982
+ value: S3Upload;
983
+ case: "s3";
984
+ } | {
985
+ /**
986
+ * @generated from field: livekit.GCPUpload gcp = 9;
987
+ */
988
+ value: GCPUpload;
989
+ case: "gcp";
990
+ } | {
991
+ /**
992
+ * @generated from field: livekit.AzureBlobUpload azure = 10;
993
+ */
994
+ value: AzureBlobUpload;
995
+ case: "azure";
996
+ } | {
997
+ /**
998
+ * @generated from field: livekit.AliOSSUpload aliOSS = 11;
999
+ */
1000
+ value: AliOSSUpload;
1001
+ case: "aliOSS";
1002
+ } | { case: undefined; value?: undefined };
1003
+
1004
+ constructor(data?: PartialMessage<ImageOutput>);
1005
+
1006
+ static readonly runtime: typeof proto3;
1007
+ static readonly typeName = "livekit.ImageOutput";
1008
+ static readonly fields: FieldList;
1009
+
1010
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImageOutput;
1011
+
1012
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImageOutput;
1013
+
1014
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImageOutput;
1015
+
1016
+ static equals(a: ImageOutput | PlainMessage<ImageOutput> | undefined, b: ImageOutput | PlainMessage<ImageOutput> | undefined): boolean;
1017
+ }
1018
+
1019
+ /**
1020
+ * @generated from message livekit.S3Upload
1021
+ */
1022
+ export declare class S3Upload extends Message<S3Upload> {
1023
+ /**
1024
+ * @generated from field: string access_key = 1;
1025
+ */
1026
+ accessKey: string;
1027
+
1028
+ /**
1029
+ * @generated from field: string secret = 2;
1030
+ */
1031
+ secret: string;
1032
+
1033
+ /**
1034
+ * @generated from field: string region = 3;
1035
+ */
1036
+ region: string;
1037
+
1038
+ /**
1039
+ * @generated from field: string endpoint = 4;
1040
+ */
1041
+ endpoint: string;
1042
+
1043
+ /**
1044
+ * @generated from field: string bucket = 5;
1045
+ */
1046
+ bucket: string;
1047
+
1048
+ /**
1049
+ * @generated from field: bool force_path_style = 6;
1050
+ */
1051
+ forcePathStyle: boolean;
1052
+
1053
+ /**
1054
+ * @generated from field: map<string, string> metadata = 7;
1055
+ */
1056
+ metadata: { [key: string]: string };
1057
+
1058
+ /**
1059
+ * @generated from field: string tagging = 8;
1060
+ */
1061
+ tagging: string;
1062
+
1063
+ /**
1064
+ * Content-Disposition header
1065
+ *
1066
+ * @generated from field: string content_disposition = 9;
1067
+ */
1068
+ contentDisposition: string;
1069
+
1070
+ constructor(data?: PartialMessage<S3Upload>);
1071
+
1072
+ static readonly runtime: typeof proto3;
1073
+ static readonly typeName = "livekit.S3Upload";
1074
+ static readonly fields: FieldList;
1075
+
1076
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): S3Upload;
1077
+
1078
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): S3Upload;
1079
+
1080
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): S3Upload;
1081
+
1082
+ static equals(a: S3Upload | PlainMessage<S3Upload> | undefined, b: S3Upload | PlainMessage<S3Upload> | undefined): boolean;
1083
+ }
1084
+
1085
+ /**
1086
+ * @generated from message livekit.GCPUpload
1087
+ */
1088
+ export declare class GCPUpload extends Message<GCPUpload> {
1089
+ /**
1090
+ * service account credentials serialized in JSON "credentials.json"
1091
+ *
1092
+ * @generated from field: string credentials = 1;
1093
+ */
1094
+ credentials: string;
1095
+
1096
+ /**
1097
+ * @generated from field: string bucket = 2;
1098
+ */
1099
+ bucket: string;
1100
+
1101
+ constructor(data?: PartialMessage<GCPUpload>);
1102
+
1103
+ static readonly runtime: typeof proto3;
1104
+ static readonly typeName = "livekit.GCPUpload";
1105
+ static readonly fields: FieldList;
1106
+
1107
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GCPUpload;
1108
+
1109
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GCPUpload;
1110
+
1111
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GCPUpload;
1112
+
1113
+ static equals(a: GCPUpload | PlainMessage<GCPUpload> | undefined, b: GCPUpload | PlainMessage<GCPUpload> | undefined): boolean;
1114
+ }
1115
+
1116
+ /**
1117
+ * @generated from message livekit.AzureBlobUpload
1118
+ */
1119
+ export declare class AzureBlobUpload extends Message<AzureBlobUpload> {
1120
+ /**
1121
+ * @generated from field: string account_name = 1;
1122
+ */
1123
+ accountName: string;
1124
+
1125
+ /**
1126
+ * @generated from field: string account_key = 2;
1127
+ */
1128
+ accountKey: string;
1129
+
1130
+ /**
1131
+ * @generated from field: string container_name = 3;
1132
+ */
1133
+ containerName: string;
1134
+
1135
+ constructor(data?: PartialMessage<AzureBlobUpload>);
1136
+
1137
+ static readonly runtime: typeof proto3;
1138
+ static readonly typeName = "livekit.AzureBlobUpload";
1139
+ static readonly fields: FieldList;
1140
+
1141
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AzureBlobUpload;
1142
+
1143
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AzureBlobUpload;
1144
+
1145
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AzureBlobUpload;
1146
+
1147
+ static equals(a: AzureBlobUpload | PlainMessage<AzureBlobUpload> | undefined, b: AzureBlobUpload | PlainMessage<AzureBlobUpload> | undefined): boolean;
1148
+ }
1149
+
1150
+ /**
1151
+ * @generated from message livekit.AliOSSUpload
1152
+ */
1153
+ export declare class AliOSSUpload extends Message<AliOSSUpload> {
1154
+ /**
1155
+ * @generated from field: string access_key = 1;
1156
+ */
1157
+ accessKey: string;
1158
+
1159
+ /**
1160
+ * @generated from field: string secret = 2;
1161
+ */
1162
+ secret: string;
1163
+
1164
+ /**
1165
+ * @generated from field: string region = 3;
1166
+ */
1167
+ region: string;
1168
+
1169
+ /**
1170
+ * @generated from field: string endpoint = 4;
1171
+ */
1172
+ endpoint: string;
1173
+
1174
+ /**
1175
+ * @generated from field: string bucket = 5;
1176
+ */
1177
+ bucket: string;
1178
+
1179
+ constructor(data?: PartialMessage<AliOSSUpload>);
1180
+
1181
+ static readonly runtime: typeof proto3;
1182
+ static readonly typeName = "livekit.AliOSSUpload";
1183
+ static readonly fields: FieldList;
1184
+
1185
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AliOSSUpload;
1186
+
1187
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AliOSSUpload;
1188
+
1189
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AliOSSUpload;
1190
+
1191
+ static equals(a: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined, b: AliOSSUpload | PlainMessage<AliOSSUpload> | undefined): boolean;
1192
+ }
1193
+
1194
+ /**
1195
+ * @generated from message livekit.StreamOutput
1196
+ */
1197
+ export declare class StreamOutput extends Message<StreamOutput> {
1198
+ /**
1199
+ * required
1200
+ *
1201
+ * @generated from field: livekit.StreamProtocol protocol = 1;
1202
+ */
1203
+ protocol: StreamProtocol;
1204
+
1205
+ /**
1206
+ * required
1207
+ *
1208
+ * @generated from field: repeated string urls = 2;
1209
+ */
1210
+ urls: string[];
1211
+
1212
+ constructor(data?: PartialMessage<StreamOutput>);
1213
+
1214
+ static readonly runtime: typeof proto3;
1215
+ static readonly typeName = "livekit.StreamOutput";
1216
+ static readonly fields: FieldList;
1217
+
1218
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamOutput;
1219
+
1220
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamOutput;
1221
+
1222
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamOutput;
1223
+
1224
+ static equals(a: StreamOutput | PlainMessage<StreamOutput> | undefined, b: StreamOutput | PlainMessage<StreamOutput> | undefined): boolean;
1225
+ }
1226
+
1227
+ /**
1228
+ * @generated from message livekit.EncodingOptions
1229
+ */
1230
+ export declare class EncodingOptions extends Message<EncodingOptions> {
1231
+ /**
1232
+ * (default 1920)
1233
+ *
1234
+ * @generated from field: int32 width = 1;
1235
+ */
1236
+ width: number;
1237
+
1238
+ /**
1239
+ * (default 1080)
1240
+ *
1241
+ * @generated from field: int32 height = 2;
1242
+ */
1243
+ height: number;
1244
+
1245
+ /**
1246
+ * (default 24)
1247
+ *
1248
+ * @generated from field: int32 depth = 3;
1249
+ */
1250
+ depth: number;
1251
+
1252
+ /**
1253
+ * (default 30)
1254
+ *
1255
+ * @generated from field: int32 framerate = 4;
1256
+ */
1257
+ framerate: number;
1258
+
1259
+ /**
1260
+ * (default OPUS)
1261
+ *
1262
+ * @generated from field: livekit.AudioCodec audio_codec = 5;
1263
+ */
1264
+ audioCodec: AudioCodec;
1265
+
1266
+ /**
1267
+ * (default 128)
1268
+ *
1269
+ * @generated from field: int32 audio_bitrate = 6;
1270
+ */
1271
+ audioBitrate: number;
1272
+
1273
+ /**
1274
+ * quality setting on audio encoder
1275
+ *
1276
+ * @generated from field: int32 audio_quality = 11;
1277
+ */
1278
+ audioQuality: number;
1279
+
1280
+ /**
1281
+ * (default 44100)
1282
+ *
1283
+ * @generated from field: int32 audio_frequency = 7;
1284
+ */
1285
+ audioFrequency: number;
1286
+
1287
+ /**
1288
+ * (default H264_MAIN)
1289
+ *
1290
+ * @generated from field: livekit.VideoCodec video_codec = 8;
1291
+ */
1292
+ videoCodec: VideoCodec;
1293
+
1294
+ /**
1295
+ * (default 4500)
1296
+ *
1297
+ * @generated from field: int32 video_bitrate = 9;
1298
+ */
1299
+ videoBitrate: number;
1300
+
1301
+ /**
1302
+ * quality setting on video encoder
1303
+ *
1304
+ * @generated from field: int32 video_quality = 12;
1305
+ */
1306
+ videoQuality: number;
1307
+
1308
+ /**
1309
+ * in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files)
1310
+ *
1311
+ * @generated from field: double key_frame_interval = 10;
1312
+ */
1313
+ keyFrameInterval: number;
1314
+
1315
+ constructor(data?: PartialMessage<EncodingOptions>);
1316
+
1317
+ static readonly runtime: typeof proto3;
1318
+ static readonly typeName = "livekit.EncodingOptions";
1319
+ static readonly fields: FieldList;
1320
+
1321
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EncodingOptions;
1322
+
1323
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EncodingOptions;
1324
+
1325
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EncodingOptions;
1326
+
1327
+ static equals(a: EncodingOptions | PlainMessage<EncodingOptions> | undefined, b: EncodingOptions | PlainMessage<EncodingOptions> | undefined): boolean;
1328
+ }
1329
+
1330
+ /**
1331
+ * @generated from message livekit.UpdateLayoutRequest
1332
+ */
1333
+ export declare class UpdateLayoutRequest extends Message<UpdateLayoutRequest> {
1334
+ /**
1335
+ * @generated from field: string egress_id = 1;
1336
+ */
1337
+ egressId: string;
1338
+
1339
+ /**
1340
+ * @generated from field: string layout = 2;
1341
+ */
1342
+ layout: string;
1343
+
1344
+ constructor(data?: PartialMessage<UpdateLayoutRequest>);
1345
+
1346
+ static readonly runtime: typeof proto3;
1347
+ static readonly typeName = "livekit.UpdateLayoutRequest";
1348
+ static readonly fields: FieldList;
1349
+
1350
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLayoutRequest;
1351
+
1352
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
1353
+
1354
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLayoutRequest;
1355
+
1356
+ static equals(a: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined, b: UpdateLayoutRequest | PlainMessage<UpdateLayoutRequest> | undefined): boolean;
1357
+ }
1358
+
1359
+ /**
1360
+ * @generated from message livekit.UpdateStreamRequest
1361
+ */
1362
+ export declare class UpdateStreamRequest extends Message<UpdateStreamRequest> {
1363
+ /**
1364
+ * @generated from field: string egress_id = 1;
1365
+ */
1366
+ egressId: string;
1367
+
1368
+ /**
1369
+ * @generated from field: repeated string add_output_urls = 2;
1370
+ */
1371
+ addOutputUrls: string[];
1372
+
1373
+ /**
1374
+ * @generated from field: repeated string remove_output_urls = 3;
1375
+ */
1376
+ removeOutputUrls: string[];
1377
+
1378
+ constructor(data?: PartialMessage<UpdateStreamRequest>);
1379
+
1380
+ static readonly runtime: typeof proto3;
1381
+ static readonly typeName = "livekit.UpdateStreamRequest";
1382
+ static readonly fields: FieldList;
1383
+
1384
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateStreamRequest;
1385
+
1386
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
1387
+
1388
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateStreamRequest;
1389
+
1390
+ static equals(a: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined, b: UpdateStreamRequest | PlainMessage<UpdateStreamRequest> | undefined): boolean;
1391
+ }
1392
+
1393
+ /**
1394
+ * @generated from message livekit.ListEgressRequest
1395
+ */
1396
+ export declare class ListEgressRequest extends Message<ListEgressRequest> {
1397
+ /**
1398
+ * (optional, filter by room name)
1399
+ *
1400
+ * @generated from field: string room_name = 1;
1401
+ */
1402
+ roomName: string;
1403
+
1404
+ /**
1405
+ * (optional, filter by egress ID)
1406
+ *
1407
+ * @generated from field: string egress_id = 2;
1408
+ */
1409
+ egressId: string;
1410
+
1411
+ /**
1412
+ * (optional, list active egress only)
1413
+ *
1414
+ * @generated from field: bool active = 3;
1415
+ */
1416
+ active: boolean;
1417
+
1418
+ constructor(data?: PartialMessage<ListEgressRequest>);
1419
+
1420
+ static readonly runtime: typeof proto3;
1421
+ static readonly typeName = "livekit.ListEgressRequest";
1422
+ static readonly fields: FieldList;
1423
+
1424
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressRequest;
1425
+
1426
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressRequest;
1427
+
1428
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressRequest;
1429
+
1430
+ static equals(a: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined, b: ListEgressRequest | PlainMessage<ListEgressRequest> | undefined): boolean;
1431
+ }
1432
+
1433
+ /**
1434
+ * @generated from message livekit.ListEgressResponse
1435
+ */
1436
+ export declare class ListEgressResponse extends Message<ListEgressResponse> {
1437
+ /**
1438
+ * @generated from field: repeated livekit.EgressInfo items = 1;
1439
+ */
1440
+ items: EgressInfo[];
1441
+
1442
+ constructor(data?: PartialMessage<ListEgressResponse>);
1443
+
1444
+ static readonly runtime: typeof proto3;
1445
+ static readonly typeName = "livekit.ListEgressResponse";
1446
+ static readonly fields: FieldList;
1447
+
1448
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListEgressResponse;
1449
+
1450
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListEgressResponse;
1451
+
1452
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListEgressResponse;
1453
+
1454
+ static equals(a: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined, b: ListEgressResponse | PlainMessage<ListEgressResponse> | undefined): boolean;
1455
+ }
1456
+
1457
+ /**
1458
+ * @generated from message livekit.StopEgressRequest
1459
+ */
1460
+ export declare class StopEgressRequest extends Message<StopEgressRequest> {
1461
+ /**
1462
+ * @generated from field: string egress_id = 1;
1463
+ */
1464
+ egressId: string;
1465
+
1466
+ constructor(data?: PartialMessage<StopEgressRequest>);
1467
+
1468
+ static readonly runtime: typeof proto3;
1469
+ static readonly typeName = "livekit.StopEgressRequest";
1470
+ static readonly fields: FieldList;
1471
+
1472
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopEgressRequest;
1473
+
1474
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopEgressRequest;
1475
+
1476
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopEgressRequest;
1477
+
1478
+ static equals(a: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined, b: StopEgressRequest | PlainMessage<StopEgressRequest> | undefined): boolean;
1479
+ }
1480
+
1481
+ /**
1482
+ * @generated from message livekit.EgressInfo
1483
+ */
1484
+ export declare class EgressInfo extends Message<EgressInfo> {
1485
+ /**
1486
+ * @generated from field: string egress_id = 1;
1487
+ */
1488
+ egressId: string;
1489
+
1490
+ /**
1491
+ * @generated from field: string room_id = 2;
1492
+ */
1493
+ roomId: string;
1494
+
1495
+ /**
1496
+ * @generated from field: string room_name = 13;
1497
+ */
1498
+ roomName: string;
1499
+
1500
+ /**
1501
+ * @generated from field: livekit.EgressStatus status = 3;
1502
+ */
1503
+ status: EgressStatus;
1504
+
1505
+ /**
1506
+ * @generated from field: int64 started_at = 10;
1507
+ */
1508
+ startedAt: bigint;
1509
+
1510
+ /**
1511
+ * @generated from field: int64 ended_at = 11;
1512
+ */
1513
+ endedAt: bigint;
1514
+
1515
+ /**
1516
+ * @generated from field: int64 updated_at = 18;
1517
+ */
1518
+ updatedAt: bigint;
1519
+
1520
+ /**
1521
+ * @generated from field: string details = 21;
1522
+ */
1523
+ details: string;
1524
+
1525
+ /**
1526
+ * @generated from field: string error = 9;
1527
+ */
1528
+ error: string;
1529
+
1530
+ /**
1531
+ * @generated from oneof livekit.EgressInfo.request
1532
+ */
1533
+ request: {
1534
+ /**
1535
+ * @generated from field: livekit.RoomCompositeEgressRequest room_composite = 4;
1536
+ */
1537
+ value: RoomCompositeEgressRequest;
1538
+ case: "roomComposite";
1539
+ } | {
1540
+ /**
1541
+ * @generated from field: livekit.WebEgressRequest web = 14;
1542
+ */
1543
+ value: WebEgressRequest;
1544
+ case: "web";
1545
+ } | {
1546
+ /**
1547
+ * @generated from field: livekit.ParticipantEgressRequest participant = 19;
1548
+ */
1549
+ value: ParticipantEgressRequest;
1550
+ case: "participant";
1551
+ } | {
1552
+ /**
1553
+ * @generated from field: livekit.TrackCompositeEgressRequest track_composite = 5;
1554
+ */
1555
+ value: TrackCompositeEgressRequest;
1556
+ case: "trackComposite";
1557
+ } | {
1558
+ /**
1559
+ * @generated from field: livekit.TrackEgressRequest track = 6;
1560
+ */
1561
+ value: TrackEgressRequest;
1562
+ case: "track";
1563
+ } | { case: undefined; value?: undefined };
1564
+
1565
+ /**
1566
+ * deprecated (use _result fields)
1567
+ *
1568
+ * @generated from oneof livekit.EgressInfo.result
1569
+ */
1570
+ result: {
1571
+ /**
1572
+ * @generated from field: livekit.StreamInfoList stream = 7 [deprecated = true];
1573
+ * @deprecated
1574
+ */
1575
+ value: StreamInfoList;
1576
+ case: "stream";
1577
+ } | {
1578
+ /**
1579
+ * @generated from field: livekit.FileInfo file = 8 [deprecated = true];
1580
+ * @deprecated
1581
+ */
1582
+ value: FileInfo;
1583
+ case: "file";
1584
+ } | {
1585
+ /**
1586
+ * @generated from field: livekit.SegmentsInfo segments = 12 [deprecated = true];
1587
+ * @deprecated
1588
+ */
1589
+ value: SegmentsInfo;
1590
+ case: "segments";
1591
+ } | { case: undefined; value?: undefined };
1592
+
1593
+ /**
1594
+ * @generated from field: repeated livekit.StreamInfo stream_results = 15;
1595
+ */
1596
+ streamResults: StreamInfo[];
1597
+
1598
+ /**
1599
+ * @generated from field: repeated livekit.FileInfo file_results = 16;
1600
+ */
1601
+ fileResults: FileInfo[];
1602
+
1603
+ /**
1604
+ * @generated from field: repeated livekit.SegmentsInfo segment_results = 17;
1605
+ */
1606
+ segmentResults: SegmentsInfo[];
1607
+
1608
+ /**
1609
+ * @generated from field: repeated livekit.ImagesInfo image_results = 20;
1610
+ */
1611
+ imageResults: ImagesInfo[];
1612
+
1613
+ constructor(data?: PartialMessage<EgressInfo>);
1614
+
1615
+ static readonly runtime: typeof proto3;
1616
+ static readonly typeName = "livekit.EgressInfo";
1617
+ static readonly fields: FieldList;
1618
+
1619
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EgressInfo;
1620
+
1621
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EgressInfo;
1622
+
1623
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EgressInfo;
1624
+
1625
+ static equals(a: EgressInfo | PlainMessage<EgressInfo> | undefined, b: EgressInfo | PlainMessage<EgressInfo> | undefined): boolean;
1626
+ }
1627
+
1628
+ /**
1629
+ * @generated from message livekit.StreamInfoList
1630
+ * @deprecated
1631
+ */
1632
+ export declare class StreamInfoList extends Message<StreamInfoList> {
1633
+ /**
1634
+ * @generated from field: repeated livekit.StreamInfo info = 1;
1635
+ */
1636
+ info: StreamInfo[];
1637
+
1638
+ constructor(data?: PartialMessage<StreamInfoList>);
1639
+
1640
+ static readonly runtime: typeof proto3;
1641
+ static readonly typeName = "livekit.StreamInfoList";
1642
+ static readonly fields: FieldList;
1643
+
1644
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfoList;
1645
+
1646
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfoList;
1647
+
1648
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfoList;
1649
+
1650
+ static equals(a: StreamInfoList | PlainMessage<StreamInfoList> | undefined, b: StreamInfoList | PlainMessage<StreamInfoList> | undefined): boolean;
1651
+ }
1652
+
1653
+ /**
1654
+ * @generated from message livekit.StreamInfo
1655
+ */
1656
+ export declare class StreamInfo extends Message<StreamInfo> {
1657
+ /**
1658
+ * @generated from field: string url = 1;
1659
+ */
1660
+ url: string;
1661
+
1662
+ /**
1663
+ * @generated from field: int64 started_at = 2;
1664
+ */
1665
+ startedAt: bigint;
1666
+
1667
+ /**
1668
+ * @generated from field: int64 ended_at = 3;
1669
+ */
1670
+ endedAt: bigint;
1671
+
1672
+ /**
1673
+ * @generated from field: int64 duration = 4;
1674
+ */
1675
+ duration: bigint;
1676
+
1677
+ /**
1678
+ * @generated from field: livekit.StreamInfo.Status status = 5;
1679
+ */
1680
+ status: StreamInfo_Status;
1681
+
1682
+ /**
1683
+ * @generated from field: string error = 6;
1684
+ */
1685
+ error: string;
1686
+
1687
+ constructor(data?: PartialMessage<StreamInfo>);
1688
+
1689
+ static readonly runtime: typeof proto3;
1690
+ static readonly typeName = "livekit.StreamInfo";
1691
+ static readonly fields: FieldList;
1692
+
1693
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamInfo;
1694
+
1695
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamInfo;
1696
+
1697
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamInfo;
1698
+
1699
+ static equals(a: StreamInfo | PlainMessage<StreamInfo> | undefined, b: StreamInfo | PlainMessage<StreamInfo> | undefined): boolean;
1700
+ }
1701
+
1702
+ /**
1703
+ * @generated from enum livekit.StreamInfo.Status
1704
+ */
1705
+ export declare enum StreamInfo_Status {
1706
+ /**
1707
+ * @generated from enum value: ACTIVE = 0;
1708
+ */
1709
+ ACTIVE = 0,
1710
+
1711
+ /**
1712
+ * @generated from enum value: FINISHED = 1;
1713
+ */
1714
+ FINISHED = 1,
1715
+
1716
+ /**
1717
+ * @generated from enum value: FAILED = 2;
1718
+ */
1719
+ FAILED = 2,
1720
+ }
1721
+
1722
+ /**
1723
+ * @generated from message livekit.FileInfo
1724
+ */
1725
+ export declare class FileInfo extends Message<FileInfo> {
1726
+ /**
1727
+ * @generated from field: string filename = 1;
1728
+ */
1729
+ filename: string;
1730
+
1731
+ /**
1732
+ * @generated from field: int64 started_at = 2;
1733
+ */
1734
+ startedAt: bigint;
1735
+
1736
+ /**
1737
+ * @generated from field: int64 ended_at = 3;
1738
+ */
1739
+ endedAt: bigint;
1740
+
1741
+ /**
1742
+ * @generated from field: int64 duration = 6;
1743
+ */
1744
+ duration: bigint;
1745
+
1746
+ /**
1747
+ * @generated from field: int64 size = 4;
1748
+ */
1749
+ size: bigint;
1750
+
1751
+ /**
1752
+ * @generated from field: string location = 5;
1753
+ */
1754
+ location: string;
1755
+
1756
+ constructor(data?: PartialMessage<FileInfo>);
1757
+
1758
+ static readonly runtime: typeof proto3;
1759
+ static readonly typeName = "livekit.FileInfo";
1760
+ static readonly fields: FieldList;
1761
+
1762
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileInfo;
1763
+
1764
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileInfo;
1765
+
1766
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileInfo;
1767
+
1768
+ static equals(a: FileInfo | PlainMessage<FileInfo> | undefined, b: FileInfo | PlainMessage<FileInfo> | undefined): boolean;
1769
+ }
1770
+
1771
+ /**
1772
+ * @generated from message livekit.SegmentsInfo
1773
+ */
1774
+ export declare class SegmentsInfo extends Message<SegmentsInfo> {
1775
+ /**
1776
+ * @generated from field: string playlist_name = 1;
1777
+ */
1778
+ playlistName: string;
1779
+
1780
+ /**
1781
+ * @generated from field: string live_playlist_name = 8;
1782
+ */
1783
+ livePlaylistName: string;
1784
+
1785
+ /**
1786
+ * @generated from field: int64 duration = 2;
1787
+ */
1788
+ duration: bigint;
1789
+
1790
+ /**
1791
+ * @generated from field: int64 size = 3;
1792
+ */
1793
+ size: bigint;
1794
+
1795
+ /**
1796
+ * @generated from field: string playlist_location = 4;
1797
+ */
1798
+ playlistLocation: string;
1799
+
1800
+ /**
1801
+ * @generated from field: string live_playlist_location = 9;
1802
+ */
1803
+ livePlaylistLocation: string;
1804
+
1805
+ /**
1806
+ * @generated from field: int64 segment_count = 5;
1807
+ */
1808
+ segmentCount: bigint;
1809
+
1810
+ /**
1811
+ * @generated from field: int64 started_at = 6;
1812
+ */
1813
+ startedAt: bigint;
1814
+
1815
+ /**
1816
+ * @generated from field: int64 ended_at = 7;
1817
+ */
1818
+ endedAt: bigint;
1819
+
1820
+ constructor(data?: PartialMessage<SegmentsInfo>);
1821
+
1822
+ static readonly runtime: typeof proto3;
1823
+ static readonly typeName = "livekit.SegmentsInfo";
1824
+ static readonly fields: FieldList;
1825
+
1826
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SegmentsInfo;
1827
+
1828
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SegmentsInfo;
1829
+
1830
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SegmentsInfo;
1831
+
1832
+ static equals(a: SegmentsInfo | PlainMessage<SegmentsInfo> | undefined, b: SegmentsInfo | PlainMessage<SegmentsInfo> | undefined): boolean;
1833
+ }
1834
+
1835
+ /**
1836
+ * @generated from message livekit.ImagesInfo
1837
+ */
1838
+ export declare class ImagesInfo extends Message<ImagesInfo> {
1839
+ /**
1840
+ * @generated from field: int64 image_count = 1;
1841
+ */
1842
+ imageCount: bigint;
1843
+
1844
+ /**
1845
+ * @generated from field: int64 started_at = 2;
1846
+ */
1847
+ startedAt: bigint;
1848
+
1849
+ /**
1850
+ * @generated from field: int64 ended_at = 3;
1851
+ */
1852
+ endedAt: bigint;
1853
+
1854
+ constructor(data?: PartialMessage<ImagesInfo>);
1855
+
1856
+ static readonly runtime: typeof proto3;
1857
+ static readonly typeName = "livekit.ImagesInfo";
1858
+ static readonly fields: FieldList;
1859
+
1860
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImagesInfo;
1861
+
1862
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImagesInfo;
1863
+
1864
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImagesInfo;
1865
+
1866
+ static equals(a: ImagesInfo | PlainMessage<ImagesInfo> | undefined, b: ImagesInfo | PlainMessage<ImagesInfo> | undefined): boolean;
1867
+ }
1868
+
1869
+ /**
1870
+ * @generated from message livekit.AutoParticipantEgress
1871
+ */
1872
+ export declare class AutoParticipantEgress extends Message<AutoParticipantEgress> {
1873
+ /**
1874
+ * @generated from oneof livekit.AutoParticipantEgress.options
1875
+ */
1876
+ options: {
1877
+ /**
1878
+ * (default H264_720P_30)
1879
+ *
1880
+ * @generated from field: livekit.EncodingOptionsPreset preset = 1;
1881
+ */
1882
+ value: EncodingOptionsPreset;
1883
+ case: "preset";
1884
+ } | {
1885
+ /**
1886
+ * (optional)
1887
+ *
1888
+ * @generated from field: livekit.EncodingOptions advanced = 2;
1889
+ */
1890
+ value: EncodingOptions;
1891
+ case: "advanced";
1892
+ } | { case: undefined; value?: undefined };
1893
+
1894
+ /**
1895
+ * @generated from field: repeated livekit.EncodedFileOutput file_outputs = 3;
1896
+ */
1897
+ fileOutputs: EncodedFileOutput[];
1898
+
1899
+ /**
1900
+ * @generated from field: repeated livekit.SegmentedFileOutput segment_outputs = 4;
1901
+ */
1902
+ segmentOutputs: SegmentedFileOutput[];
1903
+
1904
+ constructor(data?: PartialMessage<AutoParticipantEgress>);
1905
+
1906
+ static readonly runtime: typeof proto3;
1907
+ static readonly typeName = "livekit.AutoParticipantEgress";
1908
+ static readonly fields: FieldList;
1909
+
1910
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AutoParticipantEgress;
1911
+
1912
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AutoParticipantEgress;
1913
+
1914
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AutoParticipantEgress;
1915
+
1916
+ static equals(a: AutoParticipantEgress | PlainMessage<AutoParticipantEgress> | undefined, b: AutoParticipantEgress | PlainMessage<AutoParticipantEgress> | undefined): boolean;
1917
+ }
1918
+
1919
+ /**
1920
+ * @generated from message livekit.AutoTrackEgress
1921
+ */
1922
+ export declare class AutoTrackEgress extends Message<AutoTrackEgress> {
1923
+ /**
1924
+ * see docs for templating (default {track_id}-{time})
1925
+ *
1926
+ * @generated from field: string filepath = 1;
1927
+ */
1928
+ filepath: string;
1929
+
1930
+ /**
1931
+ * disables upload of json manifest file (default false)
1932
+ *
1933
+ * @generated from field: bool disable_manifest = 5;
1934
+ */
1935
+ disableManifest: boolean;
1936
+
1937
+ /**
1938
+ * @generated from oneof livekit.AutoTrackEgress.output
1939
+ */
1940
+ output: {
1941
+ /**
1942
+ * @generated from field: livekit.S3Upload s3 = 2;
1943
+ */
1944
+ value: S3Upload;
1945
+ case: "s3";
1946
+ } | {
1947
+ /**
1948
+ * @generated from field: livekit.GCPUpload gcp = 3;
1949
+ */
1950
+ value: GCPUpload;
1951
+ case: "gcp";
1952
+ } | {
1953
+ /**
1954
+ * @generated from field: livekit.AzureBlobUpload azure = 4;
1955
+ */
1956
+ value: AzureBlobUpload;
1957
+ case: "azure";
1958
+ } | { case: undefined; value?: undefined };
1959
+
1960
+ constructor(data?: PartialMessage<AutoTrackEgress>);
1961
+
1962
+ static readonly runtime: typeof proto3;
1963
+ static readonly typeName = "livekit.AutoTrackEgress";
1964
+ static readonly fields: FieldList;
1965
+
1966
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AutoTrackEgress;
1967
+
1968
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AutoTrackEgress;
1969
+
1970
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AutoTrackEgress;
1971
+
1972
+ static equals(a: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined, b: AutoTrackEgress | PlainMessage<AutoTrackEgress> | undefined): boolean;
1973
+ }
1974
+