@cc-livekit/protocol 1.39.4 → 1.42.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.
Files changed (42) hide show
  1. package/dist/index.cjs +457 -15
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +975 -41
  4. package/dist/index.d.mts +975 -41
  5. package/dist/index.d.ts +975 -41
  6. package/dist/index.mjs +440 -17
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +2 -2
  9. package/src/gen/livekit_agent_pb.d.ts +10 -0
  10. package/src/gen/livekit_agent_pb.js +2 -0
  11. package/src/gen/livekit_analytics_pb.d.ts +10 -0
  12. package/src/gen/livekit_analytics_pb.js +2 -0
  13. package/src/gen/livekit_cloud_agent_pb.d.ts +152 -0
  14. package/src/gen/livekit_cloud_agent_pb.js +54 -0
  15. package/src/gen/livekit_connector_twilio_pb.d.ts +139 -0
  16. package/src/gen/livekit_connector_twilio_pb.js +60 -0
  17. package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
  18. package/src/gen/livekit_connector_whatsapp_pb.js +144 -0
  19. package/src/gen/livekit_egress_pb.d.ts +19 -0
  20. package/src/gen/livekit_egress_pb.js +3 -0
  21. package/src/gen/livekit_internal_pb.d.ts +30 -2
  22. package/src/gen/livekit_internal_pb.js +6 -0
  23. package/src/gen/livekit_metrics_pb.d.ts +30 -1
  24. package/src/gen/livekit_metrics_pb.js +11 -0
  25. package/src/gen/livekit_models_pb.d.ts +305 -9
  26. package/src/gen/livekit_models_pb.js +85 -0
  27. package/src/gen/livekit_phone_number_pb.d.ts +634 -0
  28. package/src/gen/livekit_phone_number_pb.js +222 -0
  29. package/src/gen/livekit_room_pb.d.ts +75 -0
  30. package/src/gen/livekit_room_pb.js +25 -0
  31. package/src/gen/livekit_rtc_pb.d.ts +314 -7
  32. package/src/gen/livekit_rtc_pb.js +91 -1
  33. package/src/gen/livekit_sip_pb.d.ts +88 -3
  34. package/src/gen/livekit_sip_pb.js +29 -1
  35. package/src/gen/livekit_temptalk_pb.d.ts +5 -0
  36. package/src/gen/livekit_temptalk_pb.js +1 -0
  37. package/src/gen/livekit_token_source_pb.d.ts +115 -0
  38. package/src/gen/livekit_token_source_pb.js +48 -0
  39. package/src/gen/livekit_webhook_pb.d.ts +1 -1
  40. package/src/gen/version.js +1 -1
  41. package/src/index.d.ts +1 -0
  42. package/src/index.js +1 -0
package/dist/index.cjs CHANGED
@@ -148,13 +148,27 @@ const EventMetric = /* @__PURE__ */ protobuf.proto3.makeMessageType(
148
148
  }
149
149
  ]
150
150
  );
151
+ const MetricsRecordingHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
152
+ "livekit.MetricsRecordingHeader",
153
+ () => [
154
+ {
155
+ no: 1,
156
+ name: "room_id",
157
+ kind: "scalar",
158
+ T: 9
159
+ /* ScalarType.STRING */
160
+ },
161
+ { no: 2, name: "enable_user_data_training", kind: "scalar", T: 8, opt: true }
162
+ ]
163
+ );
151
164
 
152
165
  const AudioCodec = /* @__PURE__ */ protobuf.proto3.makeEnum(
153
166
  "livekit.AudioCodec",
154
167
  [
155
168
  { no: 0, name: "DEFAULT_AC" },
156
169
  { no: 1, name: "OPUS" },
157
- { no: 2, name: "AAC" }
170
+ { no: 2, name: "AAC" },
171
+ { no: 3, name: "AC_MP3" }
158
172
  ]
159
173
  );
160
174
  const VideoCodec = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -296,10 +310,31 @@ const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
296
310
  }
297
311
  ]
298
312
  );
313
+ const TokenPagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
314
+ "livekit.TokenPagination",
315
+ () => [
316
+ {
317
+ no: 1,
318
+ name: "token",
319
+ kind: "scalar",
320
+ T: 9
321
+ /* ScalarType.STRING */
322
+ }
323
+ ]
324
+ );
299
325
  const ListUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
300
326
  "livekit.ListUpdate",
301
327
  () => [
302
- { no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
328
+ { no: 1, name: "set", kind: "scalar", T: 9, repeated: true },
329
+ { no: 2, name: "add", kind: "scalar", T: 9, repeated: true },
330
+ { no: 3, name: "remove", kind: "scalar", T: 9, repeated: true },
331
+ {
332
+ no: 4,
333
+ name: "clear",
334
+ kind: "scalar",
335
+ T: 8
336
+ /* ScalarType.BOOL */
337
+ }
303
338
  ]
304
339
  );
305
340
  const Room = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -595,7 +630,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ protobuf.proto3.makeEnum(
595
630
  { no: 1, name: "INGRESS" },
596
631
  { no: 2, name: "EGRESS" },
597
632
  { no: 3, name: "SIP" },
598
- { no: 4, name: "AGENT" }
633
+ { no: 4, name: "AGENT" },
634
+ { no: 7, name: "CONNECTOR" }
599
635
  ]
600
636
  );
601
637
  const ParticipantInfo_KindDetail = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -641,7 +677,15 @@ const SimulcastCodecInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
641
677
  T: 9
642
678
  /* ScalarType.STRING */
643
679
  },
644
- { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }
680
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
681
+ { no: 5, name: "video_layer_mode", kind: "enum", T: protobuf.proto3.getEnumType(VideoLayer_Mode) },
682
+ {
683
+ no: 6,
684
+ name: "sdp_cid",
685
+ kind: "scalar",
686
+ T: 9
687
+ /* ScalarType.STRING */
688
+ }
645
689
  ]
646
690
  );
647
691
  const TrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -789,6 +833,15 @@ const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
789
833
  }
790
834
  ]
791
835
  );
836
+ const VideoLayer_Mode = /* @__PURE__ */ protobuf.proto3.makeEnum(
837
+ "livekit.VideoLayer.Mode",
838
+ [
839
+ { no: 0, name: "MODE_UNUSED" },
840
+ { no: 1, name: "ONE_SPATIAL_LAYER_PER_STREAM" },
841
+ { no: 2, name: "MULTIPLE_SPATIAL_LAYERS_PER_STREAM" },
842
+ { no: 3, name: "ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR" }
843
+ ]
844
+ );
792
845
  const DataPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
793
846
  "livekit.DataPacket",
794
847
  () => [
@@ -813,6 +866,7 @@ const DataPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
813
866
  { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
814
867
  { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
815
868
  { no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" },
869
+ { no: 18, name: "encrypted_packet", kind: "message", T: EncryptedPacket, oneof: "value" },
816
870
  {
817
871
  no: 16,
818
872
  name: "sequence",
@@ -836,6 +890,46 @@ const DataPacket_Kind = /* @__PURE__ */ protobuf.proto3.makeEnum(
836
890
  { no: 1, name: "LOSSY" }
837
891
  ]
838
892
  );
893
+ const EncryptedPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
894
+ "livekit.EncryptedPacket",
895
+ () => [
896
+ { no: 1, name: "encryption_type", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) },
897
+ {
898
+ no: 2,
899
+ name: "iv",
900
+ kind: "scalar",
901
+ T: 12
902
+ /* ScalarType.BYTES */
903
+ },
904
+ {
905
+ no: 3,
906
+ name: "key_index",
907
+ kind: "scalar",
908
+ T: 13
909
+ /* ScalarType.UINT32 */
910
+ },
911
+ {
912
+ no: 4,
913
+ name: "encrypted_value",
914
+ kind: "scalar",
915
+ T: 12
916
+ /* ScalarType.BYTES */
917
+ }
918
+ ]
919
+ );
920
+ const EncryptedPacketPayload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
921
+ "livekit.EncryptedPacketPayload",
922
+ () => [
923
+ { no: 1, name: "user", kind: "message", T: UserPacket, oneof: "value" },
924
+ { no: 3, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
925
+ { no: 4, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
926
+ { no: 5, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
927
+ { no: 6, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
928
+ { no: 7, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
929
+ { no: 8, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
930
+ { no: 9, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" }
931
+ ]
932
+ );
839
933
  const ActiveSpeakerUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
840
934
  "livekit.ActiveSpeakerUpdate",
841
935
  () => [
@@ -2002,6 +2096,13 @@ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2002
2096
  ],
2003
2097
  { localName: "DataStream_Trailer" }
2004
2098
  );
2099
+ const FilterParams = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2100
+ "livekit.FilterParams",
2101
+ () => [
2102
+ { no: 1, name: "include_events", kind: "scalar", T: 9, repeated: true },
2103
+ { no: 2, name: "exclude_events", kind: "scalar", T: 9, repeated: true }
2104
+ ]
2105
+ );
2005
2106
  const WebhookConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2006
2107
  "livekit.WebhookConfig",
2007
2108
  () => [
@@ -2018,6 +2119,26 @@ const WebhookConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2018
2119
  kind: "scalar",
2019
2120
  T: 9
2020
2121
  /* ScalarType.STRING */
2122
+ },
2123
+ { no: 3, name: "filter_params", kind: "message", T: FilterParams }
2124
+ ]
2125
+ );
2126
+ const SubscribedAudioCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2127
+ "livekit.SubscribedAudioCodec",
2128
+ () => [
2129
+ {
2130
+ no: 1,
2131
+ name: "codec",
2132
+ kind: "scalar",
2133
+ T: 9
2134
+ /* ScalarType.STRING */
2135
+ },
2136
+ {
2137
+ no: 2,
2138
+ name: "enabled",
2139
+ kind: "scalar",
2140
+ T: 8
2141
+ /* ScalarType.BOOL */
2021
2142
  }
2022
2143
  ]
2023
2144
  );
@@ -2087,7 +2208,14 @@ const Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2087
2208
  T: 9
2088
2209
  /* ScalarType.STRING */
2089
2210
  },
2090
- { no: 8, name: "state", kind: "message", T: JobState }
2211
+ { no: 8, name: "state", kind: "message", T: JobState },
2212
+ {
2213
+ no: 10,
2214
+ name: "enable_recording",
2215
+ kind: "scalar",
2216
+ T: 8
2217
+ /* ScalarType.BOOL */
2218
+ }
2091
2219
  ]
2092
2220
  );
2093
2221
  const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -2135,6 +2263,13 @@ const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2135
2263
  kind: "scalar",
2136
2264
  T: 9
2137
2265
  /* ScalarType.STRING */
2266
+ },
2267
+ {
2268
+ no: 8,
2269
+ name: "agent_id",
2270
+ kind: "scalar",
2271
+ T: 9
2272
+ /* ScalarType.STRING */
2138
2273
  }
2139
2274
  ]
2140
2275
  );
@@ -2535,7 +2670,8 @@ const EncodedFileType = /* @__PURE__ */ protobuf.proto3.makeEnum(
2535
2670
  [
2536
2671
  { no: 0, name: "DEFAULT_FILETYPE" },
2537
2672
  { no: 1, name: "MP4" },
2538
- { no: 2, name: "OGG" }
2673
+ { no: 2, name: "OGG" },
2674
+ { no: 3, name: "MP3" }
2539
2675
  ]
2540
2676
  );
2541
2677
  const SegmentedFileProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -2956,6 +3092,20 @@ const S3Upload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2956
3092
  T: 9
2957
3093
  /* ScalarType.STRING */
2958
3094
  },
3095
+ {
3096
+ no: 12,
3097
+ name: "assume_role_arn",
3098
+ kind: "scalar",
3099
+ T: 9
3100
+ /* ScalarType.STRING */
3101
+ },
3102
+ {
3103
+ no: 13,
3104
+ name: "assume_role_external_id",
3105
+ kind: "scalar",
3106
+ T: 9
3107
+ /* ScalarType.STRING */
3108
+ },
2959
3109
  {
2960
3110
  no: 3,
2961
3111
  name: "region",
@@ -4437,6 +4587,13 @@ const RoomConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4437
4587
  T: 13
4438
4588
  /* ScalarType.UINT32 */
4439
4589
  },
4590
+ {
4591
+ no: 11,
4592
+ name: "metadata",
4593
+ kind: "scalar",
4594
+ T: 9
4595
+ /* ScalarType.STRING */
4596
+ },
4440
4597
  { no: 5, name: "egress", kind: "message", T: RoomEgress },
4441
4598
  {
4442
4599
  no: 7,
@@ -4522,6 +4679,58 @@ const MoveParticipantResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4522
4679
  "livekit.MoveParticipantResponse",
4523
4680
  []
4524
4681
  );
4682
+ const PerformRpcRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4683
+ "livekit.PerformRpcRequest",
4684
+ () => [
4685
+ {
4686
+ no: 1,
4687
+ name: "room",
4688
+ kind: "scalar",
4689
+ T: 9
4690
+ /* ScalarType.STRING */
4691
+ },
4692
+ {
4693
+ no: 2,
4694
+ name: "destination_identity",
4695
+ kind: "scalar",
4696
+ T: 9
4697
+ /* ScalarType.STRING */
4698
+ },
4699
+ {
4700
+ no: 3,
4701
+ name: "method",
4702
+ kind: "scalar",
4703
+ T: 9
4704
+ /* ScalarType.STRING */
4705
+ },
4706
+ {
4707
+ no: 4,
4708
+ name: "payload",
4709
+ kind: "scalar",
4710
+ T: 9
4711
+ /* ScalarType.STRING */
4712
+ },
4713
+ {
4714
+ no: 5,
4715
+ name: "response_timeout_ms",
4716
+ kind: "scalar",
4717
+ T: 13
4718
+ /* ScalarType.UINT32 */
4719
+ }
4720
+ ]
4721
+ );
4722
+ const PerformRpcResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4723
+ "livekit.PerformRpcResponse",
4724
+ () => [
4725
+ {
4726
+ no: 1,
4727
+ name: "payload",
4728
+ kind: "scalar",
4729
+ T: 9
4730
+ /* ScalarType.STRING */
4731
+ }
4732
+ ]
4733
+ );
4525
4734
 
4526
4735
  const TTCaller = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4527
4736
  "livekit.TTCaller",
@@ -4816,7 +5025,14 @@ const TTCallRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4816
5025
  T: 9
4817
5026
  /* ScalarType.STRING */
4818
5027
  },
4819
- { no: 2, name: "startCall", kind: "message", T: TTStartCall }
5028
+ { no: 2, name: "startCall", kind: "message", T: TTStartCall },
5029
+ {
5030
+ no: 3,
5031
+ name: "userAgent",
5032
+ kind: "scalar",
5033
+ T: 9
5034
+ /* ScalarType.STRING */
5035
+ }
4820
5036
  ]
4821
5037
  );
4822
5038
 
@@ -4890,7 +5106,9 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4890
5106
  { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
4891
5107
  { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
4892
5108
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
4893
- { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" }
5109
+ { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
5110
+ { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
5111
+ { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
4894
5112
  ]
4895
5113
  );
4896
5114
  const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4909,7 +5127,9 @@ const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4909
5127
  kind: "scalar",
4910
5128
  T: 9
4911
5129
  /* ScalarType.STRING */
4912
- }
5130
+ },
5131
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
5132
+ { no: 5, name: "video_layer_mode", kind: "enum", T: protobuf.proto3.getEnumType(VideoLayer_Mode) }
4913
5133
  ]
4914
5134
  );
4915
5135
  const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5165,7 +5385,12 @@ const SessionDescription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5165
5385
  kind: "scalar",
5166
5386
  T: 13
5167
5387
  /* ScalarType.UINT32 */
5168
- }
5388
+ },
5389
+ { no: 4, name: "mid_to_track_id", kind: "map", K: 9, V: {
5390
+ kind: "scalar",
5391
+ T: 9
5392
+ /* ScalarType.STRING */
5393
+ } }
5169
5394
  ]
5170
5395
  );
5171
5396
  const ParticipantUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5460,6 +5685,19 @@ const SubscribedQualityUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5460
5685
  { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }
5461
5686
  ]
5462
5687
  );
5688
+ const SubscribedAudioCodecUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5689
+ "livekit.SubscribedAudioCodecUpdate",
5690
+ () => [
5691
+ {
5692
+ no: 1,
5693
+ name: "track_sid",
5694
+ kind: "scalar",
5695
+ T: 9
5696
+ /* ScalarType.STRING */
5697
+ },
5698
+ { no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true }
5699
+ ]
5700
+ );
5463
5701
  const TrackPermission = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5464
5702
  "livekit.TrackPermission",
5465
5703
  () => [
@@ -5706,7 +5944,13 @@ const RequestResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5706
5944
  kind: "scalar",
5707
5945
  T: 9
5708
5946
  /* ScalarType.STRING */
5709
- }
5947
+ },
5948
+ { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
5949
+ { no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
5950
+ { no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
5951
+ { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
5952
+ { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
5953
+ { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
5710
5954
  ]
5711
5955
  );
5712
5956
  const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -5715,7 +5959,10 @@ const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
5715
5959
  { no: 0, name: "OK" },
5716
5960
  { no: 1, name: "NOT_FOUND" },
5717
5961
  { no: 2, name: "NOT_ALLOWED" },
5718
- { no: 3, name: "LIMIT_EXCEEDED" }
5962
+ { no: 3, name: "LIMIT_EXCEEDED" },
5963
+ { no: 4, name: "QUEUED" },
5964
+ { no: 5, name: "UNSUPPORTED_TYPE" },
5965
+ { no: 6, name: "UNCLASSIFIED_ERROR" }
5719
5966
  ]
5720
5967
  );
5721
5968
  const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5730,6 +5977,109 @@ const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5730
5977
  }
5731
5978
  ]
5732
5979
  );
5980
+ const ConnectionSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5981
+ "livekit.ConnectionSettings",
5982
+ () => [
5983
+ {
5984
+ no: 1,
5985
+ name: "auto_subscribe",
5986
+ kind: "scalar",
5987
+ T: 8
5988
+ /* ScalarType.BOOL */
5989
+ },
5990
+ {
5991
+ no: 2,
5992
+ name: "adaptive_stream",
5993
+ kind: "scalar",
5994
+ T: 8
5995
+ /* ScalarType.BOOL */
5996
+ },
5997
+ { no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true },
5998
+ {
5999
+ no: 4,
6000
+ name: "disable_ice_lite",
6001
+ kind: "scalar",
6002
+ T: 8
6003
+ /* ScalarType.BOOL */
6004
+ }
6005
+ ]
6006
+ );
6007
+ const JoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6008
+ "livekit.JoinRequest",
6009
+ () => [
6010
+ { no: 1, name: "client_info", kind: "message", T: ClientInfo },
6011
+ { no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
6012
+ {
6013
+ no: 3,
6014
+ name: "metadata",
6015
+ kind: "scalar",
6016
+ T: 9
6017
+ /* ScalarType.STRING */
6018
+ },
6019
+ { no: 4, name: "participant_attributes", kind: "map", K: 9, V: {
6020
+ kind: "scalar",
6021
+ T: 9
6022
+ /* ScalarType.STRING */
6023
+ } },
6024
+ { no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
6025
+ { no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
6026
+ {
6027
+ no: 7,
6028
+ name: "reconnect",
6029
+ kind: "scalar",
6030
+ T: 8
6031
+ /* ScalarType.BOOL */
6032
+ },
6033
+ { no: 8, name: "reconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(ReconnectReason) },
6034
+ {
6035
+ no: 9,
6036
+ name: "participant_sid",
6037
+ kind: "scalar",
6038
+ T: 9
6039
+ /* ScalarType.STRING */
6040
+ },
6041
+ { no: 10, name: "sync_state", kind: "message", T: SyncState }
6042
+ ]
6043
+ );
6044
+ const WrappedJoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6045
+ "livekit.WrappedJoinRequest",
6046
+ () => [
6047
+ { no: 1, name: "compression", kind: "enum", T: protobuf.proto3.getEnumType(WrappedJoinRequest_Compression) },
6048
+ {
6049
+ no: 2,
6050
+ name: "join_request",
6051
+ kind: "scalar",
6052
+ T: 12
6053
+ /* ScalarType.BYTES */
6054
+ }
6055
+ ]
6056
+ );
6057
+ const WrappedJoinRequest_Compression = /* @__PURE__ */ protobuf.proto3.makeEnum(
6058
+ "livekit.WrappedJoinRequest.Compression",
6059
+ [
6060
+ { no: 0, name: "NONE" },
6061
+ { no: 1, name: "GZIP" }
6062
+ ]
6063
+ );
6064
+ const MediaSectionsRequirement = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6065
+ "livekit.MediaSectionsRequirement",
6066
+ () => [
6067
+ {
6068
+ no: 1,
6069
+ name: "num_audios",
6070
+ kind: "scalar",
6071
+ T: 13
6072
+ /* ScalarType.UINT32 */
6073
+ },
6074
+ {
6075
+ no: 2,
6076
+ name: "num_videos",
6077
+ kind: "scalar",
6078
+ T: 13
6079
+ /* ScalarType.UINT32 */
6080
+ }
6081
+ ]
6082
+ );
5733
6083
 
5734
6084
  const SIPStatusCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
5735
6085
  "livekit.SIPStatusCode",
@@ -5810,6 +6160,14 @@ const SIPMediaEncryption = /* @__PURE__ */ protobuf.proto3.makeEnum(
5810
6160
  { no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
5811
6161
  ]
5812
6162
  );
6163
+ const ProviderType = /* @__PURE__ */ protobuf.proto3.makeEnum(
6164
+ "livekit.ProviderType",
6165
+ [
6166
+ { no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN" },
6167
+ { no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL" },
6168
+ { no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL" }
6169
+ ]
6170
+ );
5813
6171
  const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
5814
6172
  "livekit.SIPCallStatus",
5815
6173
  [
@@ -5920,6 +6278,26 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5920
6278
  }
5921
6279
  ]
5922
6280
  );
6281
+ const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6282
+ "livekit.ProviderInfo",
6283
+ () => [
6284
+ {
6285
+ no: 1,
6286
+ name: "id",
6287
+ kind: "scalar",
6288
+ T: 9
6289
+ /* ScalarType.STRING */
6290
+ },
6291
+ {
6292
+ no: 2,
6293
+ name: "name",
6294
+ kind: "scalar",
6295
+ T: 9
6296
+ /* ScalarType.STRING */
6297
+ },
6298
+ { no: 3, name: "type", kind: "enum", T: protobuf.proto3.getEnumType(ProviderType) }
6299
+ ]
6300
+ );
5923
6301
  const SIPTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5924
6302
  "livekit.SIPTrunkInfo",
5925
6303
  () => [
@@ -6677,7 +7055,8 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
6677
7055
  kind: "scalar",
6678
7056
  T: 8
6679
7057
  /* ScalarType.BOOL */
6680
- }
7058
+ },
7059
+ { no: 21, name: "display_name", kind: "scalar", T: 9, opt: true }
6681
7060
  ]
6682
7061
  );
6683
7062
  const SIPParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6878,7 +7257,16 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6878
7257
  kind: "scalar",
6879
7258
  T: 9
6880
7259
  /* ScalarType.STRING */
6881
- }
7260
+ },
7261
+ {
7262
+ no: 25,
7263
+ name: "pcap_file_link",
7264
+ kind: "scalar",
7265
+ T: 9
7266
+ /* ScalarType.STRING */
7267
+ },
7268
+ { no: 26, name: "call_context", kind: "message", T: protobuf.Any, repeated: true },
7269
+ { no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
6882
7270
  ]
6883
7271
  );
6884
7272
  const SIPTransferInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6965,6 +7353,41 @@ const SIPUri = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6965
7353
  ]
6966
7354
  );
6967
7355
 
7356
+ const TokenSourceRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7357
+ "livekit.TokenSourceRequest",
7358
+ () => [
7359
+ { no: 1, name: "room_name", kind: "scalar", T: 9, opt: true },
7360
+ { no: 2, name: "participant_name", kind: "scalar", T: 9, opt: true },
7361
+ { no: 3, name: "participant_identity", kind: "scalar", T: 9, opt: true },
7362
+ { no: 4, name: "participant_metadata", kind: "scalar", T: 9, opt: true },
7363
+ { no: 5, name: "participant_attributes", kind: "map", K: 9, V: {
7364
+ kind: "scalar",
7365
+ T: 9
7366
+ /* ScalarType.STRING */
7367
+ } },
7368
+ { no: 6, name: "room_config", kind: "message", T: RoomConfiguration, opt: true }
7369
+ ]
7370
+ );
7371
+ const TokenSourceResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7372
+ "livekit.TokenSourceResponse",
7373
+ () => [
7374
+ {
7375
+ no: 1,
7376
+ name: "server_url",
7377
+ kind: "scalar",
7378
+ T: 9
7379
+ /* ScalarType.STRING */
7380
+ },
7381
+ {
7382
+ no: 2,
7383
+ name: "participant_token",
7384
+ kind: "scalar",
7385
+ T: 9
7386
+ /* ScalarType.STRING */
7387
+ }
7388
+ ]
7389
+ );
7390
+
6968
7391
  const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6969
7392
  "livekit.WebhookEvent",
6970
7393
  () => [
@@ -7004,7 +7427,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7004
7427
  ]
7005
7428
  );
7006
7429
 
7007
- const version = "1.39.3";
7430
+ const version = "1.42.2";
7008
7431
 
7009
7432
  exports.protoInt64 = protobuf.protoInt64;
7010
7433
  exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
@@ -7031,6 +7454,7 @@ exports.Codec = Codec;
7031
7454
  exports.ConnectionQuality = ConnectionQuality;
7032
7455
  exports.ConnectionQualityInfo = ConnectionQualityInfo;
7033
7456
  exports.ConnectionQualityUpdate = ConnectionQualityUpdate;
7457
+ exports.ConnectionSettings = ConnectionSettings;
7034
7458
  exports.CreateAgentDispatchRequest = CreateAgentDispatchRequest;
7035
7459
  exports.CreateIngressRequest = CreateIngressRequest;
7036
7460
  exports.CreateRoomRequest = CreateRoomRequest;
@@ -7066,10 +7490,13 @@ exports.EncodedFileOutput = EncodedFileOutput;
7066
7490
  exports.EncodedFileType = EncodedFileType;
7067
7491
  exports.EncodingOptions = EncodingOptions;
7068
7492
  exports.EncodingOptionsPreset = EncodingOptionsPreset;
7493
+ exports.EncryptedPacket = EncryptedPacket;
7494
+ exports.EncryptedPacketPayload = EncryptedPacketPayload;
7069
7495
  exports.Encryption = Encryption;
7070
7496
  exports.Encryption_Type = Encryption_Type;
7071
7497
  exports.EventMetric = EventMetric;
7072
7498
  exports.FileInfo = FileInfo;
7499
+ exports.FilterParams = FilterParams;
7073
7500
  exports.ForwardParticipantRequest = ForwardParticipantRequest;
7074
7501
  exports.ForwardParticipantResponse = ForwardParticipantResponse;
7075
7502
  exports.GCPUpload = GCPUpload;
@@ -7100,6 +7527,7 @@ exports.JobState = JobState;
7100
7527
  exports.JobStatus = JobStatus;
7101
7528
  exports.JobTermination = JobTermination;
7102
7529
  exports.JobType = JobType;
7530
+ exports.JoinRequest = JoinRequest;
7103
7531
  exports.JoinResponse = JoinResponse;
7104
7532
  exports.LeaveRequest = LeaveRequest;
7105
7533
  exports.LeaveRequest_Action = LeaveRequest_Action;
@@ -7122,9 +7550,11 @@ exports.ListSIPOutboundTrunkResponse = ListSIPOutboundTrunkResponse;
7122
7550
  exports.ListSIPTrunkRequest = ListSIPTrunkRequest;
7123
7551
  exports.ListSIPTrunkResponse = ListSIPTrunkResponse;
7124
7552
  exports.ListUpdate = ListUpdate;
7553
+ exports.MediaSectionsRequirement = MediaSectionsRequirement;
7125
7554
  exports.MetricLabel = MetricLabel;
7126
7555
  exports.MetricSample = MetricSample;
7127
7556
  exports.MetricsBatch = MetricsBatch;
7557
+ exports.MetricsRecordingHeader = MetricsRecordingHeader;
7128
7558
  exports.MigrateJobRequest = MigrateJobRequest;
7129
7559
  exports.MoveParticipantRequest = MoveParticipantRequest;
7130
7560
  exports.MoveParticipantResponse = MoveParticipantResponse;
@@ -7140,9 +7570,13 @@ exports.ParticipantInfo_State = ParticipantInfo_State;
7140
7570
  exports.ParticipantPermission = ParticipantPermission;
7141
7571
  exports.ParticipantTracks = ParticipantTracks;
7142
7572
  exports.ParticipantUpdate = ParticipantUpdate;
7573
+ exports.PerformRpcRequest = PerformRpcRequest;
7574
+ exports.PerformRpcResponse = PerformRpcResponse;
7143
7575
  exports.Ping = Ping;
7144
7576
  exports.PlayoutDelay = PlayoutDelay;
7145
7577
  exports.Pong = Pong;
7578
+ exports.ProviderInfo = ProviderInfo;
7579
+ exports.ProviderType = ProviderType;
7146
7580
  exports.ProxyConfig = ProxyConfig;
7147
7581
  exports.RTCPSenderReportState = RTCPSenderReportState;
7148
7582
  exports.RTPDrift = RTPDrift;
@@ -7227,6 +7661,8 @@ exports.StreamProtocol = StreamProtocol;
7227
7661
  exports.StreamState = StreamState;
7228
7662
  exports.StreamStateInfo = StreamStateInfo;
7229
7663
  exports.StreamStateUpdate = StreamStateUpdate;
7664
+ exports.SubscribedAudioCodec = SubscribedAudioCodec;
7665
+ exports.SubscribedAudioCodecUpdate = SubscribedAudioCodecUpdate;
7230
7666
  exports.SubscribedCodec = SubscribedCodec;
7231
7667
  exports.SubscribedQuality = SubscribedQuality;
7232
7668
  exports.SubscribedQualityUpdate = SubscribedQualityUpdate;
@@ -7248,6 +7684,9 @@ exports.TTNotification_TTArgs = TTNotification_TTArgs;
7248
7684
  exports.TTStartCall = TTStartCall;
7249
7685
  exports.TimeSeriesMetric = TimeSeriesMetric;
7250
7686
  exports.TimedVersion = TimedVersion;
7687
+ exports.TokenPagination = TokenPagination;
7688
+ exports.TokenSourceRequest = TokenSourceRequest;
7689
+ exports.TokenSourceResponse = TokenSourceResponse;
7251
7690
  exports.TrackCompositeEgressRequest = TrackCompositeEgressRequest;
7252
7691
  exports.TrackEgressRequest = TrackEgressRequest;
7253
7692
  exports.TrackInfo = TrackInfo;
@@ -7284,6 +7723,7 @@ exports.VP8MungerState = VP8MungerState;
7284
7723
  exports.VideoCodec = VideoCodec;
7285
7724
  exports.VideoConfiguration = VideoConfiguration;
7286
7725
  exports.VideoLayer = VideoLayer;
7726
+ exports.VideoLayer_Mode = VideoLayer_Mode;
7287
7727
  exports.VideoQuality = VideoQuality;
7288
7728
  exports.WebEgressRequest = WebEgressRequest;
7289
7729
  exports.WebhookConfig = WebhookConfig;
@@ -7292,5 +7732,7 @@ exports.WorkerMessage = WorkerMessage;
7292
7732
  exports.WorkerPing = WorkerPing;
7293
7733
  exports.WorkerPong = WorkerPong;
7294
7734
  exports.WorkerStatus = WorkerStatus;
7735
+ exports.WrappedJoinRequest = WrappedJoinRequest;
7736
+ exports.WrappedJoinRequest_Compression = WrappedJoinRequest_Compression;
7295
7737
  exports.version = version;
7296
7738
  //# sourceMappingURL=index.cjs.map