@livekit/protocol 1.29.2 → 1.29.4

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