@livekit/protocol 1.45.1 → 1.45.2

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.
package/dist/index.cjs CHANGED
@@ -989,7 +989,15 @@ const MetricsRecordingHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
989
989
  kind: "scalar",
990
990
  T: 9
991
991
  /* ScalarType.STRING */
992
- } }
992
+ } },
993
+ {
994
+ no: 6,
995
+ name: "room_name",
996
+ kind: "scalar",
997
+ T: 9
998
+ /* ScalarType.STRING */
999
+ },
1000
+ { no: 7, name: "room_start_time", kind: "message", T: protobuf.Timestamp }
993
1001
  ]
994
1002
  );
995
1003
 
@@ -1133,7 +1141,8 @@ const AudioTrackFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
1133
1141
  const PacketTrailerFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
1134
1142
  "livekit.PacketTrailerFeature",
1135
1143
  [
1136
- { no: 0, name: "PTF_USER_TIMESTAMP" }
1144
+ { no: 0, name: "PTF_USER_TIMESTAMP" },
1145
+ { no: 1, name: "PTF_FRAME_ID" }
1137
1146
  ]
1138
1147
  );
1139
1148
  const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3454,6 +3463,13 @@ const JobTermination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3454
3463
  ]
3455
3464
  );
3456
3465
 
3466
+ const JobRestartPolicy = /* @__PURE__ */ protobuf.proto3.makeEnum(
3467
+ "livekit.JobRestartPolicy",
3468
+ [
3469
+ { no: 0, name: "JRP_ON_FAILURE" },
3470
+ { no: 1, name: "JRP_NEVER" }
3471
+ ]
3472
+ );
3457
3473
  const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3458
3474
  "livekit.CreateAgentDispatchRequest",
3459
3475
  () => [
@@ -3477,7 +3493,8 @@ const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
3477
3493
  kind: "scalar",
3478
3494
  T: 9
3479
3495
  /* ScalarType.STRING */
3480
- }
3496
+ },
3497
+ { no: 4, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
3481
3498
  ]
3482
3499
  );
3483
3500
  const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3496,7 +3513,8 @@ const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3496
3513
  kind: "scalar",
3497
3514
  T: 9
3498
3515
  /* ScalarType.STRING */
3499
- }
3516
+ },
3517
+ { no: 3, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
3500
3518
  ]
3501
3519
  );
3502
3520
  const DeleteAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3574,7 +3592,8 @@ const AgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3574
3592
  T: 9
3575
3593
  /* ScalarType.STRING */
3576
3594
  },
3577
- { no: 5, name: "state", kind: "message", T: AgentDispatchState }
3595
+ { no: 5, name: "state", kind: "message", T: AgentDispatchState },
3596
+ { no: 6, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
3578
3597
  ]
3579
3598
  );
3580
3599
  const AgentDispatchState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5108,6 +5127,27 @@ const WhatsAppCall = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5108
5127
  ]
5109
5128
  );
5110
5129
 
5130
+ const AudioChannel = /* @__PURE__ */ protobuf.proto3.makeEnum(
5131
+ "livekit.AudioChannel",
5132
+ [
5133
+ { no: 0, name: "AUDIO_CHANNEL_BOTH", localName: "BOTH" },
5134
+ { no: 1, name: "AUDIO_CHANNEL_LEFT", localName: "LEFT" },
5135
+ { no: 2, name: "AUDIO_CHANNEL_RIGHT", localName: "RIGHT" }
5136
+ ]
5137
+ );
5138
+ const EncodingOptionsPreset = /* @__PURE__ */ protobuf.proto3.makeEnum(
5139
+ "livekit.EncodingOptionsPreset",
5140
+ [
5141
+ { no: 0, name: "H264_720P_30" },
5142
+ { no: 1, name: "H264_720P_60" },
5143
+ { no: 2, name: "H264_1080P_30" },
5144
+ { no: 3, name: "H264_1080P_60" },
5145
+ { no: 4, name: "PORTRAIT_H264_720P_30" },
5146
+ { no: 5, name: "PORTRAIT_H264_720P_60" },
5147
+ { no: 6, name: "PORTRAIT_H264_1080P_30" },
5148
+ { no: 7, name: "PORTRAIT_H264_1080P_60" }
5149
+ ]
5150
+ );
5111
5151
  const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
5112
5152
  "livekit.EncodedFileType",
5113
5153
  [
@@ -5117,6 +5157,15 @@ const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
5117
5157
  { no: 3, name: "MP3" }
5118
5158
  ]
5119
5159
  );
5160
+ const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
5161
+ "livekit.StreamProtocol",
5162
+ [
5163
+ { no: 0, name: "DEFAULT_PROTOCOL" },
5164
+ { no: 1, name: "RTMP" },
5165
+ { no: 2, name: "SRT" },
5166
+ { no: 3, name: "WEBSOCKET" }
5167
+ ]
5168
+ );
5120
5169
  const SegmentedFileProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
5121
5170
  "livekit.SegmentedFileProtocol",
5122
5171
  [
@@ -5139,33 +5188,11 @@ const ImageFileSuffix = /* @__PURE__ */ protobuf.proto3.makeEnum(
5139
5188
  { no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE" }
5140
5189
  ]
5141
5190
  );
5142
- const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
5143
- "livekit.StreamProtocol",
5144
- [
5145
- { no: 0, name: "DEFAULT_PROTOCOL" },
5146
- { no: 1, name: "RTMP" },
5147
- { no: 2, name: "SRT" }
5148
- ]
5149
- );
5150
- const AudioMixing = /* @__PURE__ */ protobuf.proto3.makeEnum(
5151
- "livekit.AudioMixing",
5152
- [
5153
- { no: 0, name: "DEFAULT_MIXING" },
5154
- { no: 1, name: "DUAL_CHANNEL_AGENT" },
5155
- { no: 2, name: "DUAL_CHANNEL_ALTERNATE" }
5156
- ]
5157
- );
5158
- const EncodingOptionsPreset = /* @__PURE__ */ protobuf.proto3.makeEnum(
5159
- "livekit.EncodingOptionsPreset",
5191
+ const EgressSourceType = /* @__PURE__ */ protobuf.proto3.makeEnum(
5192
+ "livekit.EgressSourceType",
5160
5193
  [
5161
- { no: 0, name: "H264_720P_30" },
5162
- { no: 1, name: "H264_720P_60" },
5163
- { no: 2, name: "H264_1080P_30" },
5164
- { no: 3, name: "H264_1080P_60" },
5165
- { no: 4, name: "PORTRAIT_H264_720P_30" },
5166
- { no: 5, name: "PORTRAIT_H264_720P_60" },
5167
- { no: 6, name: "PORTRAIT_H264_1080P_30" },
5168
- { no: 7, name: "PORTRAIT_H264_1080P_60" }
5194
+ { no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB" },
5195
+ { no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK" }
5169
5196
  ]
5170
5197
  );
5171
5198
  const EgressStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -5180,15 +5207,16 @@ const EgressStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
5180
5207
  { no: 6, name: "EGRESS_LIMIT_REACHED" }
5181
5208
  ]
5182
5209
  );
5183
- const EgressSourceType = /* @__PURE__ */ protobuf.proto3.makeEnum(
5184
- "livekit.EgressSourceType",
5210
+ const AudioMixing = /* @__PURE__ */ protobuf.proto3.makeEnum(
5211
+ "livekit.AudioMixing",
5185
5212
  [
5186
- { no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB" },
5187
- { no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK" }
5213
+ { no: 0, name: "DEFAULT_MIXING" },
5214
+ { no: 1, name: "DUAL_CHANNEL_AGENT" },
5215
+ { no: 2, name: "DUAL_CHANNEL_ALTERNATE" }
5188
5216
  ]
5189
5217
  );
5190
- const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5191
- "livekit.RoomCompositeEgressRequest",
5218
+ const StartEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5219
+ "livekit.StartEgressRequest",
5192
5220
  () => [
5193
5221
  {
5194
5222
  no: 1,
@@ -5197,49 +5225,51 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
5197
5225
  T: 9
5198
5226
  /* ScalarType.STRING */
5199
5227
  },
5228
+ { no: 2, name: "template", kind: "message", T: TemplateSource, oneof: "source" },
5229
+ { no: 3, name: "web", kind: "message", T: WebSource, oneof: "source" },
5230
+ { no: 4, name: "media", kind: "message", T: MediaSource, oneof: "source" },
5231
+ { no: 5, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "encoding" },
5232
+ { no: 6, name: "advanced", kind: "message", T: EncodingOptions, oneof: "encoding" },
5233
+ { no: 7, name: "outputs", kind: "message", T: Output, repeated: true },
5234
+ { no: 8, name: "storage", kind: "message", T: StorageConfig },
5235
+ { no: 9, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5236
+ ]
5237
+ );
5238
+ const TemplateSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5239
+ "livekit.TemplateSource",
5240
+ () => [
5200
5241
  {
5201
- no: 2,
5242
+ no: 1,
5202
5243
  name: "layout",
5203
5244
  kind: "scalar",
5204
5245
  T: 9
5205
5246
  /* ScalarType.STRING */
5206
5247
  },
5207
5248
  {
5208
- no: 3,
5249
+ no: 2,
5209
5250
  name: "audio_only",
5210
5251
  kind: "scalar",
5211
5252
  T: 8
5212
5253
  /* ScalarType.BOOL */
5213
5254
  },
5214
- { no: 15, name: "audio_mixing", kind: "enum", T: protobuf.proto3.getEnumType(AudioMixing) },
5215
5255
  {
5216
- no: 4,
5256
+ no: 3,
5217
5257
  name: "video_only",
5218
5258
  kind: "scalar",
5219
5259
  T: 8
5220
5260
  /* ScalarType.BOOL */
5221
5261
  },
5222
5262
  {
5223
- no: 5,
5263
+ no: 4,
5224
5264
  name: "custom_base_url",
5225
5265
  kind: "scalar",
5226
5266
  T: 9
5227
5267
  /* ScalarType.STRING */
5228
- },
5229
- { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
5230
- { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
5231
- { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
5232
- { no: 8, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
5233
- { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
5234
- { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
5235
- { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
5236
- { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
5237
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
5238
- { no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5268
+ }
5239
5269
  ]
5240
5270
  );
5241
- const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5242
- "livekit.WebEgressRequest",
5271
+ const WebSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5272
+ "livekit.WebSource",
5243
5273
  () => [
5244
5274
  {
5245
5275
  no: 1,
@@ -5263,117 +5293,160 @@ const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5263
5293
  /* ScalarType.BOOL */
5264
5294
  },
5265
5295
  {
5266
- no: 12,
5296
+ no: 4,
5267
5297
  name: "await_start_signal",
5268
5298
  kind: "scalar",
5269
5299
  T: 8
5270
5300
  /* ScalarType.BOOL */
5271
- },
5272
- { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
5273
- { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
5274
- { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
5275
- { no: 7, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
5276
- { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
5277
- { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
5278
- { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
5279
- { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
5280
- { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
5281
- { no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5301
+ }
5282
5302
  ]
5283
5303
  );
5284
- const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5285
- "livekit.ParticipantEgressRequest",
5304
+ const MediaSource = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5305
+ "livekit.MediaSource",
5306
+ () => [
5307
+ { no: 1, name: "video_track_id", kind: "scalar", T: 9, oneof: "video" },
5308
+ { no: 2, name: "participant_video", kind: "message", T: ParticipantVideo, oneof: "video" },
5309
+ { no: 3, name: "audio", kind: "message", T: AudioConfig },
5310
+ { no: 4, name: "data", kind: "message", T: DataConfig }
5311
+ ]
5312
+ );
5313
+ const ParticipantVideo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5314
+ "livekit.ParticipantVideo",
5286
5315
  () => [
5287
5316
  {
5288
5317
  no: 1,
5289
- name: "room_name",
5290
- kind: "scalar",
5291
- T: 9
5292
- /* ScalarType.STRING */
5293
- },
5294
- {
5295
- no: 2,
5296
5318
  name: "identity",
5297
5319
  kind: "scalar",
5298
5320
  T: 9
5299
5321
  /* ScalarType.STRING */
5300
5322
  },
5301
5323
  {
5302
- no: 3,
5303
- name: "screen_share",
5324
+ no: 2,
5325
+ name: "prefer_screen_share",
5304
5326
  kind: "scalar",
5305
5327
  T: 8
5306
5328
  /* ScalarType.BOOL */
5307
- },
5308
- { no: 4, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
5309
- { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
5310
- { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
5311
- { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
5312
- { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
5313
- { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
5314
- { no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5329
+ }
5315
5330
  ]
5316
5331
  );
5317
- const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5318
- "livekit.TrackCompositeEgressRequest",
5332
+ const AudioConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5333
+ "livekit.AudioConfig",
5334
+ () => [
5335
+ { no: 1, name: "routes", kind: "message", T: AudioRoute, repeated: true }
5336
+ ]
5337
+ );
5338
+ const AudioRoute = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5339
+ "livekit.AudioRoute",
5340
+ () => [
5341
+ { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
5342
+ { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
5343
+ { no: 3, name: "participant_kind", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_Kind), oneof: "match" },
5344
+ { no: 4, name: "channel", kind: "enum", T: protobuf.proto3.getEnumType(AudioChannel) }
5345
+ ]
5346
+ );
5347
+ const DataConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5348
+ "livekit.DataConfig",
5349
+ () => [
5350
+ { no: 1, name: "selectors", kind: "message", T: DataSelector, repeated: true }
5351
+ ]
5352
+ );
5353
+ const DataSelector = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5354
+ "livekit.DataSelector",
5355
+ () => [
5356
+ { no: 1, name: "track_id", kind: "scalar", T: 9, oneof: "match" },
5357
+ { no: 2, name: "participant_identity", kind: "scalar", T: 9, oneof: "match" },
5358
+ { no: 3, name: "topic", kind: "scalar", T: 9, oneof: "match" }
5359
+ ]
5360
+ );
5361
+ const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5362
+ "livekit.EncodingOptions",
5319
5363
  () => [
5320
5364
  {
5321
5365
  no: 1,
5322
- name: "room_name",
5366
+ name: "width",
5323
5367
  kind: "scalar",
5324
- T: 9
5325
- /* ScalarType.STRING */
5368
+ T: 5
5369
+ /* ScalarType.INT32 */
5326
5370
  },
5327
5371
  {
5328
5372
  no: 2,
5329
- name: "audio_track_id",
5373
+ name: "height",
5330
5374
  kind: "scalar",
5331
- T: 9
5332
- /* ScalarType.STRING */
5375
+ T: 5
5376
+ /* ScalarType.INT32 */
5333
5377
  },
5334
5378
  {
5335
5379
  no: 3,
5336
- name: "video_track_id",
5380
+ name: "depth",
5337
5381
  kind: "scalar",
5338
- T: 9
5339
- /* ScalarType.STRING */
5382
+ T: 5
5383
+ /* ScalarType.INT32 */
5340
5384
  },
5341
- { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
5342
- { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
5343
- { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
5344
- { no: 6, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
5345
- { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
5346
- { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
5347
- { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
5348
- { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
5349
- { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
5350
- { no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5351
- ]
5352
- );
5353
- const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5354
- "livekit.TrackEgressRequest",
5355
- () => [
5356
5385
  {
5357
- no: 1,
5358
- name: "room_name",
5386
+ no: 4,
5387
+ name: "framerate",
5359
5388
  kind: "scalar",
5360
- T: 9
5361
- /* ScalarType.STRING */
5389
+ T: 5
5390
+ /* ScalarType.INT32 */
5362
5391
  },
5392
+ { no: 5, name: "audio_codec", kind: "enum", T: protobuf.proto3.getEnumType(AudioCodec) },
5363
5393
  {
5364
- no: 2,
5365
- name: "track_id",
5394
+ no: 6,
5395
+ name: "audio_bitrate",
5366
5396
  kind: "scalar",
5367
- T: 9
5368
- /* ScalarType.STRING */
5397
+ T: 5
5398
+ /* ScalarType.INT32 */
5369
5399
  },
5370
- { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
5371
- { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" },
5372
- { no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
5400
+ {
5401
+ no: 7,
5402
+ name: "audio_frequency",
5403
+ kind: "scalar",
5404
+ T: 5
5405
+ /* ScalarType.INT32 */
5406
+ },
5407
+ { no: 8, name: "video_codec", kind: "enum", T: protobuf.proto3.getEnumType(VideoCodec) },
5408
+ {
5409
+ no: 9,
5410
+ name: "video_bitrate",
5411
+ kind: "scalar",
5412
+ T: 5
5413
+ /* ScalarType.INT32 */
5414
+ },
5415
+ {
5416
+ no: 10,
5417
+ name: "key_frame_interval",
5418
+ kind: "scalar",
5419
+ T: 1
5420
+ /* ScalarType.DOUBLE */
5421
+ },
5422
+ {
5423
+ no: 11,
5424
+ name: "audio_quality",
5425
+ kind: "scalar",
5426
+ T: 5
5427
+ /* ScalarType.INT32 */
5428
+ },
5429
+ {
5430
+ no: 12,
5431
+ name: "video_quality",
5432
+ kind: "scalar",
5433
+ T: 5
5434
+ /* ScalarType.INT32 */
5435
+ }
5373
5436
  ]
5374
5437
  );
5375
- const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5376
- "livekit.EncodedFileOutput",
5438
+ const Output = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5439
+ "livekit.Output",
5440
+ () => [
5441
+ { no: 1, name: "file", kind: "message", T: FileOutput, oneof: "config" },
5442
+ { no: 2, name: "stream", kind: "message", T: StreamOutput, oneof: "config" },
5443
+ { no: 3, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "config" },
5444
+ { no: 4, name: "images", kind: "message", T: ImageOutput, oneof: "config" },
5445
+ { no: 6, name: "storage", kind: "message", T: StorageConfig }
5446
+ ]
5447
+ );
5448
+ const FileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5449
+ "livekit.FileOutput",
5377
5450
  () => [
5378
5451
  { no: 1, name: "file_type", kind: "enum", T: protobuf.proto3.getEnumType(EncodedFileType) },
5379
5452
  {
@@ -5384,16 +5457,19 @@ const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5384
5457
  /* ScalarType.STRING */
5385
5458
  },
5386
5459
  {
5387
- no: 6,
5460
+ no: 3,
5388
5461
  name: "disable_manifest",
5389
5462
  kind: "scalar",
5390
5463
  T: 8
5391
5464
  /* ScalarType.BOOL */
5392
- },
5393
- { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
5394
- { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
5395
- { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
5396
- { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
5465
+ }
5466
+ ]
5467
+ );
5468
+ const StreamOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5469
+ "livekit.StreamOutput",
5470
+ () => [
5471
+ { no: 1, name: "protocol", kind: "enum", T: protobuf.proto3.getEnumType(StreamProtocol) },
5472
+ { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true }
5397
5473
  ]
5398
5474
  );
5399
5475
  const SegmentedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5442,29 +5518,6 @@ const SegmentedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5442
5518
  { no: 9, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
5443
5519
  ]
5444
5520
  );
5445
- const DirectFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5446
- "livekit.DirectFileOutput",
5447
- () => [
5448
- {
5449
- no: 1,
5450
- name: "filepath",
5451
- kind: "scalar",
5452
- T: 9
5453
- /* ScalarType.STRING */
5454
- },
5455
- {
5456
- no: 5,
5457
- name: "disable_manifest",
5458
- kind: "scalar",
5459
- T: 8
5460
- /* ScalarType.BOOL */
5461
- },
5462
- { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
5463
- { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
5464
- { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
5465
- { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
5466
- ]
5467
- );
5468
5521
  const ImageOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5469
5522
  "livekit.ImageOutput",
5470
5523
  () => [
@@ -5511,6 +5564,15 @@ const ImageOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5511
5564
  { no: 11, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
5512
5565
  ]
5513
5566
  );
5567
+ const StorageConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5568
+ "livekit.StorageConfig",
5569
+ () => [
5570
+ { no: 1, name: "s3", kind: "message", T: S3Upload, oneof: "provider" },
5571
+ { no: 2, name: "gcp", kind: "message", T: GCPUpload, oneof: "provider" },
5572
+ { no: 3, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "provider" },
5573
+ { no: 4, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "provider" }
5574
+ ]
5575
+ );
5514
5576
  const S3Upload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5515
5577
  "livekit.S3Upload",
5516
5578
  () => [
@@ -5711,153 +5773,64 @@ const ProxyConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5711
5773
  }
5712
5774
  ]
5713
5775
  );
5714
- const StreamOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5715
- "livekit.StreamOutput",
5716
- () => [
5717
- { no: 1, name: "protocol", kind: "enum", T: protobuf.proto3.getEnumType(StreamProtocol) },
5718
- { no: 2, name: "urls", kind: "scalar", T: 9, repeated: true }
5719
- ]
5720
- );
5721
- const EncodingOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5722
- "livekit.EncodingOptions",
5776
+ const ListEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5777
+ "livekit.ListEgressRequest",
5723
5778
  () => [
5724
5779
  {
5725
5780
  no: 1,
5726
- name: "width",
5781
+ name: "room_name",
5727
5782
  kind: "scalar",
5728
- T: 5
5729
- /* ScalarType.INT32 */
5783
+ T: 9
5784
+ /* ScalarType.STRING */
5730
5785
  },
5731
5786
  {
5732
5787
  no: 2,
5733
- name: "height",
5734
- kind: "scalar",
5735
- T: 5
5736
- /* ScalarType.INT32 */
5737
- },
5738
- {
5739
- no: 3,
5740
- name: "depth",
5741
- kind: "scalar",
5742
- T: 5
5743
- /* ScalarType.INT32 */
5744
- },
5745
- {
5746
- no: 4,
5747
- name: "framerate",
5748
- kind: "scalar",
5749
- T: 5
5750
- /* ScalarType.INT32 */
5751
- },
5752
- { no: 5, name: "audio_codec", kind: "enum", T: protobuf.proto3.getEnumType(AudioCodec) },
5753
- {
5754
- no: 6,
5755
- name: "audio_bitrate",
5756
- kind: "scalar",
5757
- T: 5
5758
- /* ScalarType.INT32 */
5759
- },
5760
- {
5761
- no: 11,
5762
- name: "audio_quality",
5763
- kind: "scalar",
5764
- T: 5
5765
- /* ScalarType.INT32 */
5766
- },
5767
- {
5768
- no: 7,
5769
- name: "audio_frequency",
5770
- kind: "scalar",
5771
- T: 5
5772
- /* ScalarType.INT32 */
5773
- },
5774
- { no: 8, name: "video_codec", kind: "enum", T: protobuf.proto3.getEnumType(VideoCodec) },
5775
- {
5776
- no: 9,
5777
- name: "video_bitrate",
5778
- kind: "scalar",
5779
- T: 5
5780
- /* ScalarType.INT32 */
5781
- },
5782
- {
5783
- no: 12,
5784
- name: "video_quality",
5785
- kind: "scalar",
5786
- T: 5
5787
- /* ScalarType.INT32 */
5788
- },
5789
- {
5790
- no: 10,
5791
- name: "key_frame_interval",
5792
- kind: "scalar",
5793
- T: 1
5794
- /* ScalarType.DOUBLE */
5795
- }
5796
- ]
5797
- );
5798
- const UpdateLayoutRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5799
- "livekit.UpdateLayoutRequest",
5800
- () => [
5801
- {
5802
- no: 1,
5803
5788
  name: "egress_id",
5804
5789
  kind: "scalar",
5805
5790
  T: 9
5806
5791
  /* ScalarType.STRING */
5807
5792
  },
5808
5793
  {
5809
- no: 2,
5810
- name: "layout",
5794
+ no: 3,
5795
+ name: "active",
5811
5796
  kind: "scalar",
5812
- T: 9
5813
- /* ScalarType.STRING */
5797
+ T: 8
5798
+ /* ScalarType.BOOL */
5814
5799
  }
5815
5800
  ]
5816
5801
  );
5817
- const UpdateStreamRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5818
- "livekit.UpdateStreamRequest",
5802
+ const ListEgressResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5803
+ "livekit.ListEgressResponse",
5819
5804
  () => [
5820
- {
5821
- no: 1,
5822
- name: "egress_id",
5823
- kind: "scalar",
5824
- T: 9
5825
- /* ScalarType.STRING */
5826
- },
5827
- { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true },
5828
- { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true }
5805
+ { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }
5829
5806
  ]
5830
5807
  );
5831
- const ListEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5832
- "livekit.ListEgressRequest",
5808
+ const UpdateEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5809
+ "livekit.UpdateEgressRequest",
5833
5810
  () => [
5834
5811
  {
5835
5812
  no: 1,
5836
- name: "room_name",
5813
+ name: "egress_id",
5837
5814
  kind: "scalar",
5838
5815
  T: 9
5839
5816
  /* ScalarType.STRING */
5840
5817
  },
5841
5818
  {
5842
5819
  no: 2,
5843
- name: "egress_id",
5820
+ name: "url",
5844
5821
  kind: "scalar",
5845
5822
  T: 9
5846
5823
  /* ScalarType.STRING */
5847
5824
  },
5848
5825
  {
5849
5826
  no: 3,
5850
- name: "active",
5827
+ name: "layout",
5851
5828
  kind: "scalar",
5852
- T: 8
5853
- /* ScalarType.BOOL */
5854
- }
5855
- ]
5856
- );
5857
- const ListEgressResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5858
- "livekit.ListEgressResponse",
5859
- () => [
5860
- { no: 1, name: "items", kind: "message", T: EgressInfo, repeated: true }
5829
+ T: 9
5830
+ /* ScalarType.STRING */
5831
+ },
5832
+ { no: 4, name: "add_stream_urls", kind: "scalar", T: 9, repeated: true },
5833
+ { no: 5, name: "remove_stream_urls", kind: "scalar", T: 9, repeated: true }
5861
5834
  ]
5862
5835
  );
5863
5836
  const StopEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5919,13 +5892,16 @@ const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5919
5892
  T: 3
5920
5893
  /* ScalarType.INT64 */
5921
5894
  },
5922
- {
5923
- no: 21,
5924
- name: "details",
5925
- kind: "scalar",
5926
- T: 9
5927
- /* ScalarType.STRING */
5928
- },
5895
+ { no: 30, name: "replay", kind: "message", T: ExportReplayRequest, oneof: "request" },
5896
+ { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
5897
+ { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
5898
+ { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
5899
+ { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" },
5900
+ { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" },
5901
+ { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true },
5902
+ { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true },
5903
+ { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true },
5904
+ { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true },
5929
5905
  {
5930
5906
  no: 9,
5931
5907
  name: "error",
@@ -5940,18 +5916,13 @@ const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5940
5916
  T: 5
5941
5917
  /* ScalarType.INT32 */
5942
5918
  },
5943
- { no: 4, name: "room_composite", kind: "message", T: RoomCompositeEgressRequest, oneof: "request" },
5944
- { no: 14, name: "web", kind: "message", T: WebEgressRequest, oneof: "request" },
5945
- { no: 19, name: "participant", kind: "message", T: ParticipantEgressRequest, oneof: "request" },
5946
- { no: 5, name: "track_composite", kind: "message", T: TrackCompositeEgressRequest, oneof: "request" },
5947
- { no: 6, name: "track", kind: "message", T: TrackEgressRequest, oneof: "request" },
5948
- { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" },
5949
- { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" },
5950
- { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" },
5951
- { no: 15, name: "stream_results", kind: "message", T: StreamInfo, repeated: true },
5952
- { no: 16, name: "file_results", kind: "message", T: FileInfo, repeated: true },
5953
- { no: 17, name: "segment_results", kind: "message", T: SegmentsInfo, repeated: true },
5954
- { no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true },
5919
+ {
5920
+ no: 21,
5921
+ name: "details",
5922
+ kind: "scalar",
5923
+ T: 9
5924
+ /* ScalarType.STRING */
5925
+ },
5955
5926
  {
5956
5927
  no: 23,
5957
5928
  name: "manifest_location",
@@ -5972,13 +5943,10 @@ const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5972
5943
  kind: "scalar",
5973
5944
  T: 5
5974
5945
  /* ScalarType.INT32 */
5975
- }
5976
- ]
5977
- );
5978
- const StreamInfoList = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5979
- "livekit.StreamInfoList",
5980
- () => [
5981
- { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true }
5946
+ },
5947
+ { no: 7, name: "stream", kind: "message", T: StreamInfoList, oneof: "result" },
5948
+ { no: 8, name: "file", kind: "message", T: FileInfo, oneof: "result" },
5949
+ { no: 12, name: "segments", kind: "message", T: SegmentsInfo, oneof: "result" }
5982
5950
  ]
5983
5951
  );
5984
5952
  const StreamInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6224,6 +6192,311 @@ const AutoTrackEgress = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6224
6192
  { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
6225
6193
  ]
6226
6194
  );
6195
+ const ExportReplayRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6196
+ "livekit.ExportReplayRequest",
6197
+ () => [
6198
+ {
6199
+ no: 1,
6200
+ name: "replay_id",
6201
+ kind: "scalar",
6202
+ T: 9
6203
+ /* ScalarType.STRING */
6204
+ },
6205
+ {
6206
+ no: 2,
6207
+ name: "start_offset_ms",
6208
+ kind: "scalar",
6209
+ T: 3
6210
+ /* ScalarType.INT64 */
6211
+ },
6212
+ {
6213
+ no: 3,
6214
+ name: "end_offset_ms",
6215
+ kind: "scalar",
6216
+ T: 3
6217
+ /* ScalarType.INT64 */
6218
+ },
6219
+ { no: 4, name: "template", kind: "message", T: TemplateSource, oneof: "source" },
6220
+ { no: 5, name: "web", kind: "message", T: WebSource, oneof: "source" },
6221
+ { no: 6, name: "media", kind: "message", T: MediaSource, oneof: "source" },
6222
+ { no: 7, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "encoding" },
6223
+ { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "encoding" },
6224
+ { no: 9, name: "outputs", kind: "message", T: Output, repeated: true },
6225
+ { no: 10, name: "storage", kind: "message", T: StorageConfig },
6226
+ { no: 11, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6227
+ ]
6228
+ );
6229
+ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6230
+ "livekit.RoomCompositeEgressRequest",
6231
+ () => [
6232
+ {
6233
+ no: 1,
6234
+ name: "room_name",
6235
+ kind: "scalar",
6236
+ T: 9
6237
+ /* ScalarType.STRING */
6238
+ },
6239
+ {
6240
+ no: 2,
6241
+ name: "layout",
6242
+ kind: "scalar",
6243
+ T: 9
6244
+ /* ScalarType.STRING */
6245
+ },
6246
+ {
6247
+ no: 3,
6248
+ name: "audio_only",
6249
+ kind: "scalar",
6250
+ T: 8
6251
+ /* ScalarType.BOOL */
6252
+ },
6253
+ { no: 15, name: "audio_mixing", kind: "enum", T: protobuf.proto3.getEnumType(AudioMixing) },
6254
+ {
6255
+ no: 4,
6256
+ name: "video_only",
6257
+ kind: "scalar",
6258
+ T: 8
6259
+ /* ScalarType.BOOL */
6260
+ },
6261
+ {
6262
+ no: 5,
6263
+ name: "custom_base_url",
6264
+ kind: "scalar",
6265
+ T: 9
6266
+ /* ScalarType.STRING */
6267
+ },
6268
+ { no: 6, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
6269
+ { no: 7, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
6270
+ { no: 10, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
6271
+ { no: 8, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6272
+ { no: 9, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6273
+ { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6274
+ { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6275
+ { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6276
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6277
+ { no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6278
+ ]
6279
+ );
6280
+ const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6281
+ "livekit.WebEgressRequest",
6282
+ () => [
6283
+ {
6284
+ no: 1,
6285
+ name: "url",
6286
+ kind: "scalar",
6287
+ T: 9
6288
+ /* ScalarType.STRING */
6289
+ },
6290
+ {
6291
+ no: 2,
6292
+ name: "audio_only",
6293
+ kind: "scalar",
6294
+ T: 8
6295
+ /* ScalarType.BOOL */
6296
+ },
6297
+ {
6298
+ no: 3,
6299
+ name: "video_only",
6300
+ kind: "scalar",
6301
+ T: 8
6302
+ /* ScalarType.BOOL */
6303
+ },
6304
+ {
6305
+ no: 12,
6306
+ name: "await_start_signal",
6307
+ kind: "scalar",
6308
+ T: 8
6309
+ /* ScalarType.BOOL */
6310
+ },
6311
+ { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
6312
+ { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
6313
+ { no: 6, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
6314
+ { no: 7, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6315
+ { no: 8, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6316
+ { no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6317
+ { no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6318
+ { no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6319
+ { no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6320
+ { no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6321
+ ]
6322
+ );
6323
+ const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6324
+ "livekit.ParticipantEgressRequest",
6325
+ () => [
6326
+ {
6327
+ no: 1,
6328
+ name: "room_name",
6329
+ kind: "scalar",
6330
+ T: 9
6331
+ /* ScalarType.STRING */
6332
+ },
6333
+ {
6334
+ no: 2,
6335
+ name: "identity",
6336
+ kind: "scalar",
6337
+ T: 9
6338
+ /* ScalarType.STRING */
6339
+ },
6340
+ {
6341
+ no: 3,
6342
+ name: "screen_share",
6343
+ kind: "scalar",
6344
+ T: 8
6345
+ /* ScalarType.BOOL */
6346
+ },
6347
+ { no: 4, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6348
+ { no: 5, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6349
+ { no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6350
+ { no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6351
+ { no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6352
+ { no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6353
+ { no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6354
+ ]
6355
+ );
6356
+ const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6357
+ "livekit.TrackCompositeEgressRequest",
6358
+ () => [
6359
+ {
6360
+ no: 1,
6361
+ name: "room_name",
6362
+ kind: "scalar",
6363
+ T: 9
6364
+ /* ScalarType.STRING */
6365
+ },
6366
+ {
6367
+ no: 2,
6368
+ name: "audio_track_id",
6369
+ kind: "scalar",
6370
+ T: 9
6371
+ /* ScalarType.STRING */
6372
+ },
6373
+ {
6374
+ no: 3,
6375
+ name: "video_track_id",
6376
+ kind: "scalar",
6377
+ T: 9
6378
+ /* ScalarType.STRING */
6379
+ },
6380
+ { no: 4, name: "file", kind: "message", T: EncodedFileOutput, oneof: "output" },
6381
+ { no: 5, name: "stream", kind: "message", T: StreamOutput, oneof: "output" },
6382
+ { no: 8, name: "segments", kind: "message", T: SegmentedFileOutput, oneof: "output" },
6383
+ { no: 6, name: "preset", kind: "enum", T: protobuf.proto3.getEnumType(EncodingOptionsPreset), oneof: "options" },
6384
+ { no: 7, name: "advanced", kind: "message", T: EncodingOptions, oneof: "options" },
6385
+ { no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
6386
+ { no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
6387
+ { no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
6388
+ { no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
6389
+ { no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6390
+ ]
6391
+ );
6392
+ const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6393
+ "livekit.TrackEgressRequest",
6394
+ () => [
6395
+ {
6396
+ no: 1,
6397
+ name: "room_name",
6398
+ kind: "scalar",
6399
+ T: 9
6400
+ /* ScalarType.STRING */
6401
+ },
6402
+ {
6403
+ no: 2,
6404
+ name: "track_id",
6405
+ kind: "scalar",
6406
+ T: 9
6407
+ /* ScalarType.STRING */
6408
+ },
6409
+ { no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
6410
+ { no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" },
6411
+ { no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
6412
+ ]
6413
+ );
6414
+ const DirectFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6415
+ "livekit.DirectFileOutput",
6416
+ () => [
6417
+ {
6418
+ no: 1,
6419
+ name: "filepath",
6420
+ kind: "scalar",
6421
+ T: 9
6422
+ /* ScalarType.STRING */
6423
+ },
6424
+ {
6425
+ no: 5,
6426
+ name: "disable_manifest",
6427
+ kind: "scalar",
6428
+ T: 8
6429
+ /* ScalarType.BOOL */
6430
+ },
6431
+ { no: 2, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
6432
+ { no: 3, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
6433
+ { no: 4, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
6434
+ { no: 6, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
6435
+ ]
6436
+ );
6437
+ const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6438
+ "livekit.EncodedFileOutput",
6439
+ () => [
6440
+ { no: 1, name: "file_type", kind: "enum", T: protobuf.proto3.getEnumType(EncodedFileType) },
6441
+ {
6442
+ no: 2,
6443
+ name: "filepath",
6444
+ kind: "scalar",
6445
+ T: 9
6446
+ /* ScalarType.STRING */
6447
+ },
6448
+ {
6449
+ no: 6,
6450
+ name: "disable_manifest",
6451
+ kind: "scalar",
6452
+ T: 8
6453
+ /* ScalarType.BOOL */
6454
+ },
6455
+ { no: 3, name: "s3", kind: "message", T: S3Upload, oneof: "output" },
6456
+ { no: 4, name: "gcp", kind: "message", T: GCPUpload, oneof: "output" },
6457
+ { no: 5, name: "azure", kind: "message", T: AzureBlobUpload, oneof: "output" },
6458
+ { no: 7, name: "aliOSS", kind: "message", T: AliOSSUpload, oneof: "output" }
6459
+ ]
6460
+ );
6461
+ const UpdateLayoutRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6462
+ "livekit.UpdateLayoutRequest",
6463
+ () => [
6464
+ {
6465
+ no: 1,
6466
+ name: "egress_id",
6467
+ kind: "scalar",
6468
+ T: 9
6469
+ /* ScalarType.STRING */
6470
+ },
6471
+ {
6472
+ no: 2,
6473
+ name: "layout",
6474
+ kind: "scalar",
6475
+ T: 9
6476
+ /* ScalarType.STRING */
6477
+ }
6478
+ ]
6479
+ );
6480
+ const UpdateStreamRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6481
+ "livekit.UpdateStreamRequest",
6482
+ () => [
6483
+ {
6484
+ no: 1,
6485
+ name: "egress_id",
6486
+ kind: "scalar",
6487
+ T: 9
6488
+ /* ScalarType.STRING */
6489
+ },
6490
+ { no: 2, name: "add_output_urls", kind: "scalar", T: 9, repeated: true },
6491
+ { no: 3, name: "remove_output_urls", kind: "scalar", T: 9, repeated: true }
6492
+ ]
6493
+ );
6494
+ const StreamInfoList = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6495
+ "livekit.StreamInfoList",
6496
+ () => [
6497
+ { no: 1, name: "info", kind: "message", T: StreamInfo, repeated: true }
6498
+ ]
6499
+ );
6227
6500
 
6228
6501
  const IngressInput = /* @__PURE__ */ protobuf.proto3.makeEnum(
6229
6502
  "livekit.IngressInput",
@@ -7082,7 +7355,12 @@ const RoomConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7082
7355
  T: 8
7083
7356
  /* ScalarType.BOOL */
7084
7357
  },
7085
- { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }
7358
+ { no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true },
7359
+ { no: 12, name: "tags", kind: "map", K: 9, V: {
7360
+ kind: "scalar",
7361
+ T: 9
7362
+ /* ScalarType.STRING */
7363
+ } }
7086
7364
  ]
7087
7365
  );
7088
7366
  const ForwardParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -8641,7 +8919,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
8641
8919
  ]
8642
8920
  );
8643
8921
 
8644
- const version = "1.45.1";
8922
+ const version = "1.45.2";
8645
8923
 
8646
8924
  exports.protoInt64 = protobuf.protoInt64;
8647
8925
  exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
@@ -8652,8 +8930,11 @@ exports.AgentDispatch = AgentDispatch;
8652
8930
  exports.AgentDispatchState = AgentDispatchState;
8653
8931
  exports.AgentSession = livekit_agent_session_pb;
8654
8932
  exports.AliOSSUpload = AliOSSUpload;
8933
+ exports.AudioChannel = AudioChannel;
8655
8934
  exports.AudioCodec = AudioCodec;
8935
+ exports.AudioConfig = AudioConfig;
8656
8936
  exports.AudioMixing = AudioMixing;
8937
+ exports.AudioRoute = AudioRoute;
8657
8938
  exports.AudioTrackFeature = AudioTrackFeature;
8658
8939
  exports.AutoParticipantEgress = AutoParticipantEgress;
8659
8940
  exports.AutoTrackEgress = AutoTrackEgress;
@@ -8688,8 +8969,10 @@ exports.CreateSIPParticipantRequest = CreateSIPParticipantRequest;
8688
8969
  exports.CreateSIPTrunkRequest = CreateSIPTrunkRequest;
8689
8970
  exports.DataChannelInfo = DataChannelInfo;
8690
8971
  exports.DataChannelReceiveState = DataChannelReceiveState;
8972
+ exports.DataConfig = DataConfig;
8691
8973
  exports.DataPacket = DataPacket;
8692
8974
  exports.DataPacket_Kind = DataPacket_Kind;
8975
+ exports.DataSelector = DataSelector;
8693
8976
  exports.DataStream = DataStream;
8694
8977
  exports.DataStream_ByteHeader = DataStream_ByteHeader;
8695
8978
  exports.DataStream_Chunk = DataStream_Chunk;
@@ -8730,7 +9013,9 @@ exports.EncryptedPacketPayload = EncryptedPacketPayload;
8730
9013
  exports.Encryption = Encryption;
8731
9014
  exports.Encryption_Type = Encryption_Type;
8732
9015
  exports.EventMetric = EventMetric;
9016
+ exports.ExportReplayRequest = ExportReplayRequest;
8733
9017
  exports.FileInfo = FileInfo;
9018
+ exports.FileOutput = FileOutput;
8734
9019
  exports.FilterParams = FilterParams;
8735
9020
  exports.ForwardParticipantRequest = ForwardParticipantRequest;
8736
9021
  exports.ForwardParticipantResponse = ForwardParticipantResponse;
@@ -8758,6 +9043,7 @@ exports.InputAudioState = InputAudioState;
8758
9043
  exports.InputVideoState = InputVideoState;
8759
9044
  exports.Job = Job;
8760
9045
  exports.JobAssignment = JobAssignment;
9046
+ exports.JobRestartPolicy = JobRestartPolicy;
8761
9047
  exports.JobState = JobState;
8762
9048
  exports.JobStatus = JobStatus;
8763
9049
  exports.JobTermination = JobTermination;
@@ -8786,6 +9072,7 @@ exports.ListSIPTrunkRequest = ListSIPTrunkRequest;
8786
9072
  exports.ListSIPTrunkResponse = ListSIPTrunkResponse;
8787
9073
  exports.ListUpdate = ListUpdate;
8788
9074
  exports.MediaSectionsRequirement = MediaSectionsRequirement;
9075
+ exports.MediaSource = MediaSource;
8789
9076
  exports.MetricLabel = MetricLabel;
8790
9077
  exports.MetricSample = MetricSample;
8791
9078
  exports.MetricsBatch = MetricsBatch;
@@ -8796,6 +9083,7 @@ exports.MoveParticipantResponse = MoveParticipantResponse;
8796
9083
  exports.MuteRoomTrackRequest = MuteRoomTrackRequest;
8797
9084
  exports.MuteRoomTrackResponse = MuteRoomTrackResponse;
8798
9085
  exports.MuteTrackRequest = MuteTrackRequest;
9086
+ exports.Output = Output;
8799
9087
  exports.PacketTrailerFeature = PacketTrailerFeature;
8800
9088
  exports.Pagination = Pagination;
8801
9089
  exports.ParticipantEgressRequest = ParticipantEgressRequest;
@@ -8806,6 +9094,7 @@ exports.ParticipantInfo_State = ParticipantInfo_State;
8806
9094
  exports.ParticipantPermission = ParticipantPermission;
8807
9095
  exports.ParticipantTracks = ParticipantTracks;
8808
9096
  exports.ParticipantUpdate = ParticipantUpdate;
9097
+ exports.ParticipantVideo = ParticipantVideo;
8809
9098
  exports.PerformRpcRequest = PerformRpcRequest;
8810
9099
  exports.PerformRpcResponse = PerformRpcResponse;
8811
9100
  exports.Ping = Ping;
@@ -8890,7 +9179,9 @@ exports.SimulcastCodecInfo = SimulcastCodecInfo;
8890
9179
  exports.SipDTMF = SipDTMF;
8891
9180
  exports.SpeakerInfo = SpeakerInfo;
8892
9181
  exports.SpeakersChanged = SpeakersChanged;
9182
+ exports.StartEgressRequest = StartEgressRequest;
8893
9183
  exports.StopEgressRequest = StopEgressRequest;
9184
+ exports.StorageConfig = StorageConfig;
8894
9185
  exports.StreamInfo = StreamInfo;
8895
9186
  exports.StreamInfoList = StreamInfoList;
8896
9187
  exports.StreamInfo_Status = StreamInfo_Status;
@@ -8909,6 +9200,7 @@ exports.SubscriptionPermission = SubscriptionPermission;
8909
9200
  exports.SubscriptionPermissionUpdate = SubscriptionPermissionUpdate;
8910
9201
  exports.SubscriptionResponse = SubscriptionResponse;
8911
9202
  exports.SyncState = SyncState;
9203
+ exports.TemplateSource = TemplateSource;
8912
9204
  exports.TimeSeriesMetric = TimeSeriesMetric;
8913
9205
  exports.TimedVersion = TimedVersion;
8914
9206
  exports.TokenPagination = TokenPagination;
@@ -8931,6 +9223,7 @@ exports.UnpublishDataTrackRequest = UnpublishDataTrackRequest;
8931
9223
  exports.UnpublishDataTrackResponse = UnpublishDataTrackResponse;
8932
9224
  exports.UpdateDataSubscription = UpdateDataSubscription;
8933
9225
  exports.UpdateDataSubscription_Update = UpdateDataSubscription_Update;
9226
+ exports.UpdateEgressRequest = UpdateEgressRequest;
8934
9227
  exports.UpdateIngressRequest = UpdateIngressRequest;
8935
9228
  exports.UpdateJobStatus = UpdateJobStatus;
8936
9229
  exports.UpdateLayoutRequest = UpdateLayoutRequest;
@@ -8957,6 +9250,7 @@ exports.VideoLayer = VideoLayer;
8957
9250
  exports.VideoLayer_Mode = VideoLayer_Mode;
8958
9251
  exports.VideoQuality = VideoQuality;
8959
9252
  exports.WebEgressRequest = WebEgressRequest;
9253
+ exports.WebSource = WebSource;
8960
9254
  exports.WebhookConfig = WebhookConfig;
8961
9255
  exports.WebhookEvent = WebhookEvent;
8962
9256
  exports.WhatsAppCall = WhatsAppCall;