@cc-livekit/protocol 1.39.3

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