@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,573 @@
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 { proto3 } from "@bufbuild/protobuf";
21
+ import { AudioCodec, ImageCodec, VideoCodec } from "./livekit_models_pb.js";
22
+
23
+ /**
24
+ * @generated from enum livekit.EncodedFileType
25
+ */
26
+ export const EncodedFileType = proto3.makeEnum(
27
+ "livekit.EncodedFileType",
28
+ [
29
+ {no: 0, name: "DEFAULT_FILETYPE"},
30
+ {no: 1, name: "MP4"},
31
+ {no: 2, name: "OGG"},
32
+ ],
33
+ );
34
+
35
+ /**
36
+ * @generated from enum livekit.SegmentedFileProtocol
37
+ */
38
+ export const SegmentedFileProtocol = proto3.makeEnum(
39
+ "livekit.SegmentedFileProtocol",
40
+ [
41
+ {no: 0, name: "DEFAULT_SEGMENTED_FILE_PROTOCOL"},
42
+ {no: 1, name: "HLS_PROTOCOL"},
43
+ ],
44
+ );
45
+
46
+ /**
47
+ * @generated from enum livekit.SegmentedFileSuffix
48
+ */
49
+ export const SegmentedFileSuffix = proto3.makeEnum(
50
+ "livekit.SegmentedFileSuffix",
51
+ [
52
+ {no: 0, name: "INDEX"},
53
+ {no: 1, name: "TIMESTAMP"},
54
+ ],
55
+ );
56
+
57
+ /**
58
+ * @generated from enum livekit.ImageFileSuffix
59
+ */
60
+ export const ImageFileSuffix = proto3.makeEnum(
61
+ "livekit.ImageFileSuffix",
62
+ [
63
+ {no: 0, name: "IMAGE_SUFFIX_INDEX"},
64
+ {no: 1, name: "IMAGE_SUFFIX_TIMESTAMP"},
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * @generated from enum livekit.StreamProtocol
70
+ */
71
+ export const StreamProtocol = proto3.makeEnum(
72
+ "livekit.StreamProtocol",
73
+ [
74
+ {no: 0, name: "DEFAULT_PROTOCOL"},
75
+ {no: 1, name: "RTMP"},
76
+ ],
77
+ );
78
+
79
+ /**
80
+ * @generated from enum livekit.EncodingOptionsPreset
81
+ */
82
+ export const EncodingOptionsPreset = proto3.makeEnum(
83
+ "livekit.EncodingOptionsPreset",
84
+ [
85
+ {no: 0, name: "H264_720P_30"},
86
+ {no: 1, name: "H264_720P_60"},
87
+ {no: 2, name: "H264_1080P_30"},
88
+ {no: 3, name: "H264_1080P_60"},
89
+ {no: 4, name: "PORTRAIT_H264_720P_30"},
90
+ {no: 5, name: "PORTRAIT_H264_720P_60"},
91
+ {no: 6, name: "PORTRAIT_H264_1080P_30"},
92
+ {no: 7, name: "PORTRAIT_H264_1080P_60"},
93
+ ],
94
+ );
95
+
96
+ /**
97
+ * @generated from enum livekit.EgressStatus
98
+ */
99
+ export const EgressStatus = proto3.makeEnum(
100
+ "livekit.EgressStatus",
101
+ [
102
+ {no: 0, name: "EGRESS_STARTING"},
103
+ {no: 1, name: "EGRESS_ACTIVE"},
104
+ {no: 2, name: "EGRESS_ENDING"},
105
+ {no: 3, name: "EGRESS_COMPLETE"},
106
+ {no: 4, name: "EGRESS_FAILED"},
107
+ {no: 5, name: "EGRESS_ABORTED"},
108
+ {no: 6, name: "EGRESS_LIMIT_REACHED"},
109
+ ],
110
+ );
111
+
112
+ /**
113
+ * composite using a web browser
114
+ *
115
+ * @generated from message livekit.RoomCompositeEgressRequest
116
+ */
117
+ export const RoomCompositeEgressRequest = proto3.makeMessageType(
118
+ "livekit.RoomCompositeEgressRequest",
119
+ () => [
120
+ { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
121
+ { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
122
+ { no: 3, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
123
+ { no: 4, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
124
+ { no: 5, name: "custom_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
125
+ { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
126
+ { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
127
+ { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
128
+ { no: 8, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
129
+ { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
130
+ { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
131
+ { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
132
+ { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
133
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
134
+ ],
135
+ );
136
+
137
+ /**
138
+ * record any website
139
+ *
140
+ * @generated from message livekit.WebEgressRequest
141
+ */
142
+ export const WebEgressRequest = proto3.makeMessageType(
143
+ "livekit.WebEgressRequest",
144
+ () => [
145
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
146
+ { no: 2, name: "audio_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
147
+ { no: 3, name: "video_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
148
+ { no: 12, name: "await_start_signal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
149
+ { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
150
+ { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
151
+ { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
152
+ { no: 7, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
153
+ { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
154
+ { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
155
+ { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
156
+ { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
157
+ { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
158
+ ],
159
+ );
160
+
161
+ /**
162
+ * record audio and video from a single participant
163
+ *
164
+ * @generated from message livekit.ParticipantEgressRequest
165
+ */
166
+ export const ParticipantEgressRequest = proto3.makeMessageType(
167
+ "livekit.ParticipantEgressRequest",
168
+ () => [
169
+ { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
170
+ { no: 2, name: "identity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
171
+ { no: 3, name: "screen_share", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
172
+ { no: 4, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
173
+ { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
174
+ { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
175
+ { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
176
+ { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
177
+ { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
178
+ ],
179
+ );
180
+
181
+ /**
182
+ * containerize up to one audio and one video track
183
+ *
184
+ * @generated from message livekit.TrackCompositeEgressRequest
185
+ */
186
+ export const TrackCompositeEgressRequest = proto3.makeMessageType(
187
+ "livekit.TrackCompositeEgressRequest",
188
+ () => [
189
+ { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
+ { no: 2, name: "audio_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
191
+ { no: 3, name: "video_track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
192
+ { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
193
+ { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
194
+ { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
195
+ { no: 6, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
196
+ { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
197
+ { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
198
+ { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
199
+ { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
200
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
201
+ ],
202
+ );
203
+
204
+ /**
205
+ * record tracks individually, without transcoding
206
+ *
207
+ * @generated from message livekit.TrackEgressRequest
208
+ */
209
+ export const TrackEgressRequest = proto3.makeMessageType(
210
+ "livekit.TrackEgressRequest",
211
+ () => [
212
+ { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
213
+ { no: 2, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
214
+ { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
215
+ { no: 4, name: "websocket_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "output" },
216
+ ],
217
+ );
218
+
219
+ /**
220
+ * @generated from message livekit.EncodedFileOutput
221
+ */
222
+ export const EncodedFileOutput = proto3.makeMessageType(
223
+ "livekit.EncodedFileOutput",
224
+ () => [
225
+ { no: 1, name: "file_type", kind: "enum", T: proto3.getEnumType(EncodedFileType) },
226
+ { no: 2, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
227
+ { no: 6, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
228
+ { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
229
+ { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
230
+ { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
231
+ { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
232
+ ],
233
+ );
234
+
235
+ /**
236
+ * Used to generate HLS segments or other kind of segmented output
237
+ *
238
+ * @generated from message livekit.SegmentedFileOutput
239
+ */
240
+ export const SegmentedFileOutput = proto3.makeMessageType(
241
+ "livekit.SegmentedFileOutput",
242
+ () => [
243
+ { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(SegmentedFileProtocol) },
244
+ { no: 2, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
245
+ { no: 3, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
246
+ { no: 11, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
247
+ { no: 4, name: "segment_duration", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
248
+ { no: 10, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(SegmentedFileSuffix) },
249
+ { no: 8, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
250
+ { no: 5, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
251
+ { no: 6, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
252
+ { no: 7, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
253
+ { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
254
+ ],
255
+ );
256
+
257
+ /**
258
+ * @generated from message livekit.DirectFileOutput
259
+ */
260
+ export const DirectFileOutput = proto3.makeMessageType(
261
+ "livekit.DirectFileOutput",
262
+ () => [
263
+ { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
264
+ { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
265
+ { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
266
+ { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
267
+ { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
268
+ { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
269
+ ],
270
+ );
271
+
272
+ /**
273
+ * @generated from message livekit.ImageOutput
274
+ */
275
+ export const ImageOutput = proto3.makeMessageType(
276
+ "livekit.ImageOutput",
277
+ () => [
278
+ { no: 1, name: "capture_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
279
+ { no: 2, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
280
+ { no: 3, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
281
+ { no: 4, name: "filename_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
282
+ { no: 5, name: "filename_suffix", kind: "enum", T: proto3.getEnumType(ImageFileSuffix) },
283
+ { no: 6, name: "image_codec", kind: "enum", T: proto3.getEnumType(ImageCodec) },
284
+ { no: 7, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
285
+ { no: 8, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
286
+ { no: 9, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
287
+ { no: 10, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
288
+ { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" },
289
+ ],
290
+ );
291
+
292
+ /**
293
+ * @generated from message livekit.S3Upload
294
+ */
295
+ export const S3Upload = proto3.makeMessageType(
296
+ "livekit.S3Upload",
297
+ () => [
298
+ { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
299
+ { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
300
+ { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
301
+ { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
302
+ { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
303
+ { no: 6, name: "force_path_style", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
304
+ { no: 7, name: "metadata", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
305
+ { no: 8, name: "tagging", kind: "scalar", T: 9 /* ScalarType.STRING */ },
306
+ { no: 9, name: "content_disposition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
307
+ ],
308
+ );
309
+
310
+ /**
311
+ * @generated from message livekit.GCPUpload
312
+ */
313
+ export const GCPUpload = proto3.makeMessageType(
314
+ "livekit.GCPUpload",
315
+ () => [
316
+ { no: 1, name: "credentials", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
+ { no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
318
+ ],
319
+ );
320
+
321
+ /**
322
+ * @generated from message livekit.AzureBlobUpload
323
+ */
324
+ export const AzureBlobUpload = proto3.makeMessageType(
325
+ "livekit.AzureBlobUpload",
326
+ () => [
327
+ { no: 1, name: "account_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
328
+ { no: 2, name: "account_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
329
+ { no: 3, name: "container_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
330
+ ],
331
+ );
332
+
333
+ /**
334
+ * @generated from message livekit.AliOSSUpload
335
+ */
336
+ export const AliOSSUpload = proto3.makeMessageType(
337
+ "livekit.AliOSSUpload",
338
+ () => [
339
+ { no: 1, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
340
+ { no: 2, name: "secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
341
+ { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
+ { no: 4, name: "endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
+ { no: 5, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
344
+ ],
345
+ );
346
+
347
+ /**
348
+ * @generated from message livekit.StreamOutput
349
+ */
350
+ export const StreamOutput = proto3.makeMessageType(
351
+ "livekit.StreamOutput",
352
+ () => [
353
+ { no: 1, name: "protocol", kind: "enum", T: proto3.getEnumType(StreamProtocol) },
354
+ { no: 2, name: "urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
355
+ ],
356
+ );
357
+
358
+ /**
359
+ * @generated from message livekit.EncodingOptions
360
+ */
361
+ export const EncodingOptions = proto3.makeMessageType(
362
+ "livekit.EncodingOptions",
363
+ () => [
364
+ { no: 1, name: "width", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
365
+ { no: 2, name: "height", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
366
+ { no: 3, name: "depth", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
367
+ { no: 4, name: "framerate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
368
+ { no: 5, name: "audio_codec", kind: "enum", T: proto3.getEnumType(AudioCodec) },
369
+ { no: 6, name: "audio_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
370
+ { no: 11, name: "audio_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
371
+ { no: 7, name: "audio_frequency", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
372
+ { no: 8, name: "video_codec", kind: "enum", T: proto3.getEnumType(VideoCodec) },
373
+ { no: 9, name: "video_bitrate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
374
+ { no: 12, name: "video_quality", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
375
+ { no: 10, name: "key_frame_interval", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
376
+ ],
377
+ );
378
+
379
+ /**
380
+ * @generated from message livekit.UpdateLayoutRequest
381
+ */
382
+ export const UpdateLayoutRequest = proto3.makeMessageType(
383
+ "livekit.UpdateLayoutRequest",
384
+ () => [
385
+ { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
386
+ { no: 2, name: "layout", kind: "scalar", T: 9 /* ScalarType.STRING */ },
387
+ ],
388
+ );
389
+
390
+ /**
391
+ * @generated from message livekit.UpdateStreamRequest
392
+ */
393
+ export const UpdateStreamRequest = proto3.makeMessageType(
394
+ "livekit.UpdateStreamRequest",
395
+ () => [
396
+ { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
+ { no: 2, name: "add_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
398
+ { no: 3, name: "remove_output_urls", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
399
+ ],
400
+ );
401
+
402
+ /**
403
+ * @generated from message livekit.ListEgressRequest
404
+ */
405
+ export const ListEgressRequest = proto3.makeMessageType(
406
+ "livekit.ListEgressRequest",
407
+ () => [
408
+ { no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
409
+ { no: 2, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
410
+ { no: 3, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
411
+ ],
412
+ );
413
+
414
+ /**
415
+ * @generated from message livekit.ListEgressResponse
416
+ */
417
+ export const ListEgressResponse = proto3.makeMessageType(
418
+ "livekit.ListEgressResponse",
419
+ () => [
420
+ { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true },
421
+ ],
422
+ );
423
+
424
+ /**
425
+ * @generated from message livekit.StopEgressRequest
426
+ */
427
+ export const StopEgressRequest = proto3.makeMessageType(
428
+ "livekit.StopEgressRequest",
429
+ () => [
430
+ { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
431
+ ],
432
+ );
433
+
434
+ /**
435
+ * @generated from message livekit.EgressInfo
436
+ */
437
+ export const EgressInfo = proto3.makeMessageType(
438
+ "livekit.EgressInfo",
439
+ () => [
440
+ { no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
441
+ { no: 2, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
442
+ { no: 13, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
443
+ { no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) },
444
+ { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
445
+ { no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
446
+ { no: 18, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
447
+ { no: 21, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */ },
448
+ { no: 9, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
449
+ { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
450
+ { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
451
+ { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
452
+ { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" },
453
+ { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" },
454
+ { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" },
455
+ { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" },
456
+ { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" },
457
+ { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true },
458
+ { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true },
459
+ { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true },
460
+ { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true },
461
+ ],
462
+ );
463
+
464
+ /**
465
+ * @generated from message livekit.StreamInfoList
466
+ * @deprecated
467
+ */
468
+ export const StreamInfoList = proto3.makeMessageType(
469
+ "livekit.StreamInfoList",
470
+ () => [
471
+ { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true },
472
+ ],
473
+ );
474
+
475
+ /**
476
+ * @generated from message livekit.StreamInfo
477
+ */
478
+ export const StreamInfo = proto3.makeMessageType(
479
+ "livekit.StreamInfo",
480
+ () => [
481
+ { no: 1, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
482
+ { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
483
+ { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
484
+ { no: 4, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
485
+ { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(StreamInfo_Status) },
486
+ { no: 6, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
487
+ ],
488
+ );
489
+
490
+ /**
491
+ * @generated from enum livekit.StreamInfo.Status
492
+ */
493
+ export const StreamInfo_Status = proto3.makeEnum(
494
+ "livekit.StreamInfo.Status",
495
+ [
496
+ {no: 0, name: "ACTIVE"},
497
+ {no: 1, name: "FINISHED"},
498
+ {no: 2, name: "FAILED"},
499
+ ],
500
+ );
501
+
502
+ /**
503
+ * @generated from message livekit.FileInfo
504
+ */
505
+ export const FileInfo = proto3.makeMessageType(
506
+ "livekit.FileInfo",
507
+ () => [
508
+ { no: 1, name: "filename", kind: "scalar", T: 9 /* ScalarType.STRING */ },
509
+ { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
510
+ { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
511
+ { no: 6, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
512
+ { no: 4, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
513
+ { no: 5, name: "location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
514
+ ],
515
+ );
516
+
517
+ /**
518
+ * @generated from message livekit.SegmentsInfo
519
+ */
520
+ export const SegmentsInfo = proto3.makeMessageType(
521
+ "livekit.SegmentsInfo",
522
+ () => [
523
+ { no: 1, name: "playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
524
+ { no: 8, name: "live_playlist_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
525
+ { no: 2, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
526
+ { no: 3, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
527
+ { no: 4, name: "playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
528
+ { no: 9, name: "live_playlist_location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
529
+ { no: 5, name: "segment_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
530
+ { no: 6, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
531
+ { no: 7, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
532
+ ],
533
+ );
534
+
535
+ /**
536
+ * @generated from message livekit.ImagesInfo
537
+ */
538
+ export const ImagesInfo = proto3.makeMessageType(
539
+ "livekit.ImagesInfo",
540
+ () => [
541
+ { no: 1, name: "image_count", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
542
+ { no: 2, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
543
+ { no: 3, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
544
+ ],
545
+ );
546
+
547
+ /**
548
+ * @generated from message livekit.AutoParticipantEgress
549
+ */
550
+ export const AutoParticipantEgress = proto3.makeMessageType(
551
+ "livekit.AutoParticipantEgress",
552
+ () => [
553
+ { no: 1, name: "preset", kind: "enum", T: proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
554
+ { no: 2, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
555
+ { no: 3, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
556
+ { no: 4, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
557
+ ],
558
+ );
559
+
560
+ /**
561
+ * @generated from message livekit.AutoTrackEgress
562
+ */
563
+ export const AutoTrackEgress = proto3.makeMessageType(
564
+ "livekit.AutoTrackEgress",
565
+ () => [
566
+ { no: 1, name: "filepath", kind: "scalar", T: 9 /* ScalarType.STRING */ },
567
+ { no: 5, name: "disable_manifest", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
568
+ { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
569
+ { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
570
+ { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
571
+ ],
572
+ );
573
+