@cc-livekit/protocol 1.39.5 → 1.42.2-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/index.cjs +464 -15
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +999 -41
  4. package/dist/index.d.mts +999 -41
  5. package/dist/index.d.ts +999 -41
  6. package/dist/index.mjs +446 -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 +29 -0
  36. package/src/gen/livekit_temptalk_pb.js +11 -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",
@@ -4673,11 +4882,24 @@ const TTCallResponseBody = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4673
4882
  }
4674
4883
  ]
4675
4884
  );
4885
+ const TTCallOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4886
+ "livekit.TTCallOptions",
4887
+ () => [
4888
+ {
4889
+ no: 1,
4890
+ name: "publish_silence_audio",
4891
+ kind: "scalar",
4892
+ T: 8
4893
+ /* ScalarType.BOOL */
4894
+ }
4895
+ ]
4896
+ );
4676
4897
  const TTCallResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4677
4898
  "livekit.TTCallResponse",
4678
4899
  () => [
4679
4900
  { no: 1, name: "base", kind: "message", T: TTBaseResponse },
4680
- { no: 2, name: "body", kind: "message", T: TTCallResponseBody }
4901
+ { no: 2, name: "body", kind: "message", T: TTCallResponseBody },
4902
+ { no: 100, name: "call_options", kind: "message", T: TTCallOptions, opt: true }
4681
4903
  ]
4682
4904
  );
4683
4905
  const TTCipherMessages = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4897,7 +5119,9 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4897
5119
  { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
4898
5120
  { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
4899
5121
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
4900
- { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" }
5122
+ { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
5123
+ { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
5124
+ { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
4901
5125
  ]
4902
5126
  );
4903
5127
  const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4916,7 +5140,9 @@ const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4916
5140
  kind: "scalar",
4917
5141
  T: 9
4918
5142
  /* ScalarType.STRING */
4919
- }
5143
+ },
5144
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
5145
+ { no: 5, name: "video_layer_mode", kind: "enum", T: protobuf.proto3.getEnumType(VideoLayer_Mode) }
4920
5146
  ]
4921
5147
  );
4922
5148
  const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5172,7 +5398,12 @@ const SessionDescription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5172
5398
  kind: "scalar",
5173
5399
  T: 13
5174
5400
  /* ScalarType.UINT32 */
5175
- }
5401
+ },
5402
+ { no: 4, name: "mid_to_track_id", kind: "map", K: 9, V: {
5403
+ kind: "scalar",
5404
+ T: 9
5405
+ /* ScalarType.STRING */
5406
+ } }
5176
5407
  ]
5177
5408
  );
5178
5409
  const ParticipantUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5467,6 +5698,19 @@ const SubscribedQualityUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5467
5698
  { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }
5468
5699
  ]
5469
5700
  );
5701
+ const SubscribedAudioCodecUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5702
+ "livekit.SubscribedAudioCodecUpdate",
5703
+ () => [
5704
+ {
5705
+ no: 1,
5706
+ name: "track_sid",
5707
+ kind: "scalar",
5708
+ T: 9
5709
+ /* ScalarType.STRING */
5710
+ },
5711
+ { no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true }
5712
+ ]
5713
+ );
5470
5714
  const TrackPermission = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5471
5715
  "livekit.TrackPermission",
5472
5716
  () => [
@@ -5713,7 +5957,13 @@ const RequestResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5713
5957
  kind: "scalar",
5714
5958
  T: 9
5715
5959
  /* ScalarType.STRING */
5716
- }
5960
+ },
5961
+ { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
5962
+ { no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
5963
+ { no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
5964
+ { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
5965
+ { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
5966
+ { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
5717
5967
  ]
5718
5968
  );
5719
5969
  const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -5722,7 +5972,10 @@ const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
5722
5972
  { no: 0, name: "OK" },
5723
5973
  { no: 1, name: "NOT_FOUND" },
5724
5974
  { no: 2, name: "NOT_ALLOWED" },
5725
- { no: 3, name: "LIMIT_EXCEEDED" }
5975
+ { no: 3, name: "LIMIT_EXCEEDED" },
5976
+ { no: 4, name: "QUEUED" },
5977
+ { no: 5, name: "UNSUPPORTED_TYPE" },
5978
+ { no: 6, name: "UNCLASSIFIED_ERROR" }
5726
5979
  ]
5727
5980
  );
5728
5981
  const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5737,6 +5990,109 @@ const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5737
5990
  }
5738
5991
  ]
5739
5992
  );
5993
+ const ConnectionSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5994
+ "livekit.ConnectionSettings",
5995
+ () => [
5996
+ {
5997
+ no: 1,
5998
+ name: "auto_subscribe",
5999
+ kind: "scalar",
6000
+ T: 8
6001
+ /* ScalarType.BOOL */
6002
+ },
6003
+ {
6004
+ no: 2,
6005
+ name: "adaptive_stream",
6006
+ kind: "scalar",
6007
+ T: 8
6008
+ /* ScalarType.BOOL */
6009
+ },
6010
+ { no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true },
6011
+ {
6012
+ no: 4,
6013
+ name: "disable_ice_lite",
6014
+ kind: "scalar",
6015
+ T: 8
6016
+ /* ScalarType.BOOL */
6017
+ }
6018
+ ]
6019
+ );
6020
+ const JoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6021
+ "livekit.JoinRequest",
6022
+ () => [
6023
+ { no: 1, name: "client_info", kind: "message", T: ClientInfo },
6024
+ { no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
6025
+ {
6026
+ no: 3,
6027
+ name: "metadata",
6028
+ kind: "scalar",
6029
+ T: 9
6030
+ /* ScalarType.STRING */
6031
+ },
6032
+ { no: 4, name: "participant_attributes", kind: "map", K: 9, V: {
6033
+ kind: "scalar",
6034
+ T: 9
6035
+ /* ScalarType.STRING */
6036
+ } },
6037
+ { no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
6038
+ { no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
6039
+ {
6040
+ no: 7,
6041
+ name: "reconnect",
6042
+ kind: "scalar",
6043
+ T: 8
6044
+ /* ScalarType.BOOL */
6045
+ },
6046
+ { no: 8, name: "reconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(ReconnectReason) },
6047
+ {
6048
+ no: 9,
6049
+ name: "participant_sid",
6050
+ kind: "scalar",
6051
+ T: 9
6052
+ /* ScalarType.STRING */
6053
+ },
6054
+ { no: 10, name: "sync_state", kind: "message", T: SyncState }
6055
+ ]
6056
+ );
6057
+ const WrappedJoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6058
+ "livekit.WrappedJoinRequest",
6059
+ () => [
6060
+ { no: 1, name: "compression", kind: "enum", T: protobuf.proto3.getEnumType(WrappedJoinRequest_Compression) },
6061
+ {
6062
+ no: 2,
6063
+ name: "join_request",
6064
+ kind: "scalar",
6065
+ T: 12
6066
+ /* ScalarType.BYTES */
6067
+ }
6068
+ ]
6069
+ );
6070
+ const WrappedJoinRequest_Compression = /* @__PURE__ */ protobuf.proto3.makeEnum(
6071
+ "livekit.WrappedJoinRequest.Compression",
6072
+ [
6073
+ { no: 0, name: "NONE" },
6074
+ { no: 1, name: "GZIP" }
6075
+ ]
6076
+ );
6077
+ const MediaSectionsRequirement = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6078
+ "livekit.MediaSectionsRequirement",
6079
+ () => [
6080
+ {
6081
+ no: 1,
6082
+ name: "num_audios",
6083
+ kind: "scalar",
6084
+ T: 13
6085
+ /* ScalarType.UINT32 */
6086
+ },
6087
+ {
6088
+ no: 2,
6089
+ name: "num_videos",
6090
+ kind: "scalar",
6091
+ T: 13
6092
+ /* ScalarType.UINT32 */
6093
+ }
6094
+ ]
6095
+ );
5740
6096
 
5741
6097
  const SIPStatusCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
5742
6098
  "livekit.SIPStatusCode",
@@ -5817,6 +6173,14 @@ const SIPMediaEncryption = /* @__PURE__ */ protobuf.proto3.makeEnum(
5817
6173
  { no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
5818
6174
  ]
5819
6175
  );
6176
+ const ProviderType = /* @__PURE__ */ protobuf.proto3.makeEnum(
6177
+ "livekit.ProviderType",
6178
+ [
6179
+ { no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN" },
6180
+ { no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL" },
6181
+ { no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL" }
6182
+ ]
6183
+ );
5820
6184
  const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
5821
6185
  "livekit.SIPCallStatus",
5822
6186
  [
@@ -5927,6 +6291,26 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5927
6291
  }
5928
6292
  ]
5929
6293
  );
6294
+ const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6295
+ "livekit.ProviderInfo",
6296
+ () => [
6297
+ {
6298
+ no: 1,
6299
+ name: "id",
6300
+ kind: "scalar",
6301
+ T: 9
6302
+ /* ScalarType.STRING */
6303
+ },
6304
+ {
6305
+ no: 2,
6306
+ name: "name",
6307
+ kind: "scalar",
6308
+ T: 9
6309
+ /* ScalarType.STRING */
6310
+ },
6311
+ { no: 3, name: "type", kind: "enum", T: protobuf.proto3.getEnumType(ProviderType) }
6312
+ ]
6313
+ );
5930
6314
  const SIPTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5931
6315
  "livekit.SIPTrunkInfo",
5932
6316
  () => [
@@ -6684,7 +7068,8 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
6684
7068
  kind: "scalar",
6685
7069
  T: 8
6686
7070
  /* ScalarType.BOOL */
6687
- }
7071
+ },
7072
+ { no: 21, name: "display_name", kind: "scalar", T: 9, opt: true }
6688
7073
  ]
6689
7074
  );
6690
7075
  const SIPParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6885,7 +7270,16 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6885
7270
  kind: "scalar",
6886
7271
  T: 9
6887
7272
  /* ScalarType.STRING */
6888
- }
7273
+ },
7274
+ {
7275
+ no: 25,
7276
+ name: "pcap_file_link",
7277
+ kind: "scalar",
7278
+ T: 9
7279
+ /* ScalarType.STRING */
7280
+ },
7281
+ { no: 26, name: "call_context", kind: "message", T: protobuf.Any, repeated: true },
7282
+ { no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
6889
7283
  ]
6890
7284
  );
6891
7285
  const SIPTransferInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6972,6 +7366,41 @@ const SIPUri = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6972
7366
  ]
6973
7367
  );
6974
7368
 
7369
+ const TokenSourceRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7370
+ "livekit.TokenSourceRequest",
7371
+ () => [
7372
+ { no: 1, name: "room_name", kind: "scalar", T: 9, opt: true },
7373
+ { no: 2, name: "participant_name", kind: "scalar", T: 9, opt: true },
7374
+ { no: 3, name: "participant_identity", kind: "scalar", T: 9, opt: true },
7375
+ { no: 4, name: "participant_metadata", kind: "scalar", T: 9, opt: true },
7376
+ { no: 5, name: "participant_attributes", kind: "map", K: 9, V: {
7377
+ kind: "scalar",
7378
+ T: 9
7379
+ /* ScalarType.STRING */
7380
+ } },
7381
+ { no: 6, name: "room_config", kind: "message", T: RoomConfiguration, opt: true }
7382
+ ]
7383
+ );
7384
+ const TokenSourceResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7385
+ "livekit.TokenSourceResponse",
7386
+ () => [
7387
+ {
7388
+ no: 1,
7389
+ name: "server_url",
7390
+ kind: "scalar",
7391
+ T: 9
7392
+ /* ScalarType.STRING */
7393
+ },
7394
+ {
7395
+ no: 2,
7396
+ name: "participant_token",
7397
+ kind: "scalar",
7398
+ T: 9
7399
+ /* ScalarType.STRING */
7400
+ }
7401
+ ]
7402
+ );
7403
+
6975
7404
  const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6976
7405
  "livekit.WebhookEvent",
6977
7406
  () => [
@@ -7011,7 +7440,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7011
7440
  ]
7012
7441
  );
7013
7442
 
7014
- const version = "1.39.5";
7443
+ const version = "1.42.2-1";
7015
7444
 
7016
7445
  exports.protoInt64 = protobuf.protoInt64;
7017
7446
  exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
@@ -7038,6 +7467,7 @@ exports.Codec = Codec;
7038
7467
  exports.ConnectionQuality = ConnectionQuality;
7039
7468
  exports.ConnectionQualityInfo = ConnectionQualityInfo;
7040
7469
  exports.ConnectionQualityUpdate = ConnectionQualityUpdate;
7470
+ exports.ConnectionSettings = ConnectionSettings;
7041
7471
  exports.CreateAgentDispatchRequest = CreateAgentDispatchRequest;
7042
7472
  exports.CreateIngressRequest = CreateIngressRequest;
7043
7473
  exports.CreateRoomRequest = CreateRoomRequest;
@@ -7073,10 +7503,13 @@ exports.EncodedFileOutput = EncodedFileOutput;
7073
7503
  exports.EncodedFileType = EncodedFileType;
7074
7504
  exports.EncodingOptions = EncodingOptions;
7075
7505
  exports.EncodingOptionsPreset = EncodingOptionsPreset;
7506
+ exports.EncryptedPacket = EncryptedPacket;
7507
+ exports.EncryptedPacketPayload = EncryptedPacketPayload;
7076
7508
  exports.Encryption = Encryption;
7077
7509
  exports.Encryption_Type = Encryption_Type;
7078
7510
  exports.EventMetric = EventMetric;
7079
7511
  exports.FileInfo = FileInfo;
7512
+ exports.FilterParams = FilterParams;
7080
7513
  exports.ForwardParticipantRequest = ForwardParticipantRequest;
7081
7514
  exports.ForwardParticipantResponse = ForwardParticipantResponse;
7082
7515
  exports.GCPUpload = GCPUpload;
@@ -7107,6 +7540,7 @@ exports.JobState = JobState;
7107
7540
  exports.JobStatus = JobStatus;
7108
7541
  exports.JobTermination = JobTermination;
7109
7542
  exports.JobType = JobType;
7543
+ exports.JoinRequest = JoinRequest;
7110
7544
  exports.JoinResponse = JoinResponse;
7111
7545
  exports.LeaveRequest = LeaveRequest;
7112
7546
  exports.LeaveRequest_Action = LeaveRequest_Action;
@@ -7129,9 +7563,11 @@ exports.ListSIPOutboundTrunkResponse = ListSIPOutboundTrunkResponse;
7129
7563
  exports.ListSIPTrunkRequest = ListSIPTrunkRequest;
7130
7564
  exports.ListSIPTrunkResponse = ListSIPTrunkResponse;
7131
7565
  exports.ListUpdate = ListUpdate;
7566
+ exports.MediaSectionsRequirement = MediaSectionsRequirement;
7132
7567
  exports.MetricLabel = MetricLabel;
7133
7568
  exports.MetricSample = MetricSample;
7134
7569
  exports.MetricsBatch = MetricsBatch;
7570
+ exports.MetricsRecordingHeader = MetricsRecordingHeader;
7135
7571
  exports.MigrateJobRequest = MigrateJobRequest;
7136
7572
  exports.MoveParticipantRequest = MoveParticipantRequest;
7137
7573
  exports.MoveParticipantResponse = MoveParticipantResponse;
@@ -7147,9 +7583,13 @@ exports.ParticipantInfo_State = ParticipantInfo_State;
7147
7583
  exports.ParticipantPermission = ParticipantPermission;
7148
7584
  exports.ParticipantTracks = ParticipantTracks;
7149
7585
  exports.ParticipantUpdate = ParticipantUpdate;
7586
+ exports.PerformRpcRequest = PerformRpcRequest;
7587
+ exports.PerformRpcResponse = PerformRpcResponse;
7150
7588
  exports.Ping = Ping;
7151
7589
  exports.PlayoutDelay = PlayoutDelay;
7152
7590
  exports.Pong = Pong;
7591
+ exports.ProviderInfo = ProviderInfo;
7592
+ exports.ProviderType = ProviderType;
7153
7593
  exports.ProxyConfig = ProxyConfig;
7154
7594
  exports.RTCPSenderReportState = RTCPSenderReportState;
7155
7595
  exports.RTPDrift = RTPDrift;
@@ -7234,6 +7674,8 @@ exports.StreamProtocol = StreamProtocol;
7234
7674
  exports.StreamState = StreamState;
7235
7675
  exports.StreamStateInfo = StreamStateInfo;
7236
7676
  exports.StreamStateUpdate = StreamStateUpdate;
7677
+ exports.SubscribedAudioCodec = SubscribedAudioCodec;
7678
+ exports.SubscribedAudioCodecUpdate = SubscribedAudioCodecUpdate;
7237
7679
  exports.SubscribedCodec = SubscribedCodec;
7238
7680
  exports.SubscribedQuality = SubscribedQuality;
7239
7681
  exports.SubscribedQualityUpdate = SubscribedQualityUpdate;
@@ -7243,6 +7685,7 @@ exports.SubscriptionPermissionUpdate = SubscriptionPermissionUpdate;
7243
7685
  exports.SubscriptionResponse = SubscriptionResponse;
7244
7686
  exports.SyncState = SyncState;
7245
7687
  exports.TTBaseResponse = TTBaseResponse;
7688
+ exports.TTCallOptions = TTCallOptions;
7246
7689
  exports.TTCallRequest = TTCallRequest;
7247
7690
  exports.TTCallResponse = TTCallResponse;
7248
7691
  exports.TTCallResponseBody = TTCallResponseBody;
@@ -7255,6 +7698,9 @@ exports.TTNotification_TTArgs = TTNotification_TTArgs;
7255
7698
  exports.TTStartCall = TTStartCall;
7256
7699
  exports.TimeSeriesMetric = TimeSeriesMetric;
7257
7700
  exports.TimedVersion = TimedVersion;
7701
+ exports.TokenPagination = TokenPagination;
7702
+ exports.TokenSourceRequest = TokenSourceRequest;
7703
+ exports.TokenSourceResponse = TokenSourceResponse;
7258
7704
  exports.TrackCompositeEgressRequest = TrackCompositeEgressRequest;
7259
7705
  exports.TrackEgressRequest = TrackEgressRequest;
7260
7706
  exports.TrackInfo = TrackInfo;
@@ -7291,6 +7737,7 @@ exports.VP8MungerState = VP8MungerState;
7291
7737
  exports.VideoCodec = VideoCodec;
7292
7738
  exports.VideoConfiguration = VideoConfiguration;
7293
7739
  exports.VideoLayer = VideoLayer;
7740
+ exports.VideoLayer_Mode = VideoLayer_Mode;
7294
7741
  exports.VideoQuality = VideoQuality;
7295
7742
  exports.WebEgressRequest = WebEgressRequest;
7296
7743
  exports.WebhookConfig = WebhookConfig;
@@ -7299,5 +7746,7 @@ exports.WorkerMessage = WorkerMessage;
7299
7746
  exports.WorkerPing = WorkerPing;
7300
7747
  exports.WorkerPong = WorkerPong;
7301
7748
  exports.WorkerStatus = WorkerStatus;
7749
+ exports.WrappedJoinRequest = WrappedJoinRequest;
7750
+ exports.WrappedJoinRequest_Compression = WrappedJoinRequest_Compression;
7302
7751
  exports.version = version;
7303
7752
  //# sourceMappingURL=index.cjs.map