@cc-livekit/protocol 1.39.5 → 1.42.2-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 +471 -15
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +1004 -41
  4. package/dist/index.d.mts +1004 -41
  5. package/dist/index.d.ts +1004 -41
  6. package/dist/index.mjs +453 -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 +34 -0
  36. package/src/gen/livekit_temptalk_pb.js +12 -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,31 @@ 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
+ no: 2,
4897
+ name: "disable_silence_on_raise_hand",
4898
+ kind: "scalar",
4899
+ T: 8
4900
+ /* ScalarType.BOOL */
4901
+ }
4902
+ ]
4903
+ );
4676
4904
  const TTCallResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4677
4905
  "livekit.TTCallResponse",
4678
4906
  () => [
4679
4907
  { no: 1, name: "base", kind: "message", T: TTBaseResponse },
4680
- { no: 2, name: "body", kind: "message", T: TTCallResponseBody }
4908
+ { no: 2, name: "body", kind: "message", T: TTCallResponseBody },
4909
+ { no: 100, name: "call_options", kind: "message", T: TTCallOptions, opt: true }
4681
4910
  ]
4682
4911
  );
4683
4912
  const TTCipherMessages = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4897,7 +5126,9 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4897
5126
  { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
4898
5127
  { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
4899
5128
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
4900
- { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" }
5129
+ { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
5130
+ { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
5131
+ { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
4901
5132
  ]
4902
5133
  );
4903
5134
  const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -4916,7 +5147,9 @@ const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
4916
5147
  kind: "scalar",
4917
5148
  T: 9
4918
5149
  /* ScalarType.STRING */
4919
- }
5150
+ },
5151
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
5152
+ { no: 5, name: "video_layer_mode", kind: "enum", T: protobuf.proto3.getEnumType(VideoLayer_Mode) }
4920
5153
  ]
4921
5154
  );
4922
5155
  const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5172,7 +5405,12 @@ const SessionDescription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5172
5405
  kind: "scalar",
5173
5406
  T: 13
5174
5407
  /* ScalarType.UINT32 */
5175
- }
5408
+ },
5409
+ { no: 4, name: "mid_to_track_id", kind: "map", K: 9, V: {
5410
+ kind: "scalar",
5411
+ T: 9
5412
+ /* ScalarType.STRING */
5413
+ } }
5176
5414
  ]
5177
5415
  );
5178
5416
  const ParticipantUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5467,6 +5705,19 @@ const SubscribedQualityUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5467
5705
  { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }
5468
5706
  ]
5469
5707
  );
5708
+ const SubscribedAudioCodecUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5709
+ "livekit.SubscribedAudioCodecUpdate",
5710
+ () => [
5711
+ {
5712
+ no: 1,
5713
+ name: "track_sid",
5714
+ kind: "scalar",
5715
+ T: 9
5716
+ /* ScalarType.STRING */
5717
+ },
5718
+ { no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true }
5719
+ ]
5720
+ );
5470
5721
  const TrackPermission = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5471
5722
  "livekit.TrackPermission",
5472
5723
  () => [
@@ -5713,7 +5964,13 @@ const RequestResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5713
5964
  kind: "scalar",
5714
5965
  T: 9
5715
5966
  /* ScalarType.STRING */
5716
- }
5967
+ },
5968
+ { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
5969
+ { no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
5970
+ { no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
5971
+ { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
5972
+ { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
5973
+ { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
5717
5974
  ]
5718
5975
  );
5719
5976
  const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -5722,7 +5979,10 @@ const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
5722
5979
  { no: 0, name: "OK" },
5723
5980
  { no: 1, name: "NOT_FOUND" },
5724
5981
  { no: 2, name: "NOT_ALLOWED" },
5725
- { no: 3, name: "LIMIT_EXCEEDED" }
5982
+ { no: 3, name: "LIMIT_EXCEEDED" },
5983
+ { no: 4, name: "QUEUED" },
5984
+ { no: 5, name: "UNSUPPORTED_TYPE" },
5985
+ { no: 6, name: "UNCLASSIFIED_ERROR" }
5726
5986
  ]
5727
5987
  );
5728
5988
  const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5737,6 +5997,109 @@ const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5737
5997
  }
5738
5998
  ]
5739
5999
  );
6000
+ const ConnectionSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6001
+ "livekit.ConnectionSettings",
6002
+ () => [
6003
+ {
6004
+ no: 1,
6005
+ name: "auto_subscribe",
6006
+ kind: "scalar",
6007
+ T: 8
6008
+ /* ScalarType.BOOL */
6009
+ },
6010
+ {
6011
+ no: 2,
6012
+ name: "adaptive_stream",
6013
+ kind: "scalar",
6014
+ T: 8
6015
+ /* ScalarType.BOOL */
6016
+ },
6017
+ { no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true },
6018
+ {
6019
+ no: 4,
6020
+ name: "disable_ice_lite",
6021
+ kind: "scalar",
6022
+ T: 8
6023
+ /* ScalarType.BOOL */
6024
+ }
6025
+ ]
6026
+ );
6027
+ const JoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6028
+ "livekit.JoinRequest",
6029
+ () => [
6030
+ { no: 1, name: "client_info", kind: "message", T: ClientInfo },
6031
+ { no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
6032
+ {
6033
+ no: 3,
6034
+ name: "metadata",
6035
+ kind: "scalar",
6036
+ T: 9
6037
+ /* ScalarType.STRING */
6038
+ },
6039
+ { no: 4, name: "participant_attributes", kind: "map", K: 9, V: {
6040
+ kind: "scalar",
6041
+ T: 9
6042
+ /* ScalarType.STRING */
6043
+ } },
6044
+ { no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
6045
+ { no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
6046
+ {
6047
+ no: 7,
6048
+ name: "reconnect",
6049
+ kind: "scalar",
6050
+ T: 8
6051
+ /* ScalarType.BOOL */
6052
+ },
6053
+ { no: 8, name: "reconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(ReconnectReason) },
6054
+ {
6055
+ no: 9,
6056
+ name: "participant_sid",
6057
+ kind: "scalar",
6058
+ T: 9
6059
+ /* ScalarType.STRING */
6060
+ },
6061
+ { no: 10, name: "sync_state", kind: "message", T: SyncState }
6062
+ ]
6063
+ );
6064
+ const WrappedJoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6065
+ "livekit.WrappedJoinRequest",
6066
+ () => [
6067
+ { no: 1, name: "compression", kind: "enum", T: protobuf.proto3.getEnumType(WrappedJoinRequest_Compression) },
6068
+ {
6069
+ no: 2,
6070
+ name: "join_request",
6071
+ kind: "scalar",
6072
+ T: 12
6073
+ /* ScalarType.BYTES */
6074
+ }
6075
+ ]
6076
+ );
6077
+ const WrappedJoinRequest_Compression = /* @__PURE__ */ protobuf.proto3.makeEnum(
6078
+ "livekit.WrappedJoinRequest.Compression",
6079
+ [
6080
+ { no: 0, name: "NONE" },
6081
+ { no: 1, name: "GZIP" }
6082
+ ]
6083
+ );
6084
+ const MediaSectionsRequirement = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6085
+ "livekit.MediaSectionsRequirement",
6086
+ () => [
6087
+ {
6088
+ no: 1,
6089
+ name: "num_audios",
6090
+ kind: "scalar",
6091
+ T: 13
6092
+ /* ScalarType.UINT32 */
6093
+ },
6094
+ {
6095
+ no: 2,
6096
+ name: "num_videos",
6097
+ kind: "scalar",
6098
+ T: 13
6099
+ /* ScalarType.UINT32 */
6100
+ }
6101
+ ]
6102
+ );
5740
6103
 
5741
6104
  const SIPStatusCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
5742
6105
  "livekit.SIPStatusCode",
@@ -5817,6 +6180,14 @@ const SIPMediaEncryption = /* @__PURE__ */ protobuf.proto3.makeEnum(
5817
6180
  { no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
5818
6181
  ]
5819
6182
  );
6183
+ const ProviderType = /* @__PURE__ */ protobuf.proto3.makeEnum(
6184
+ "livekit.ProviderType",
6185
+ [
6186
+ { no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN" },
6187
+ { no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL" },
6188
+ { no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL" }
6189
+ ]
6190
+ );
5820
6191
  const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
5821
6192
  "livekit.SIPCallStatus",
5822
6193
  [
@@ -5927,6 +6298,26 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5927
6298
  }
5928
6299
  ]
5929
6300
  );
6301
+ const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6302
+ "livekit.ProviderInfo",
6303
+ () => [
6304
+ {
6305
+ no: 1,
6306
+ name: "id",
6307
+ kind: "scalar",
6308
+ T: 9
6309
+ /* ScalarType.STRING */
6310
+ },
6311
+ {
6312
+ no: 2,
6313
+ name: "name",
6314
+ kind: "scalar",
6315
+ T: 9
6316
+ /* ScalarType.STRING */
6317
+ },
6318
+ { no: 3, name: "type", kind: "enum", T: protobuf.proto3.getEnumType(ProviderType) }
6319
+ ]
6320
+ );
5930
6321
  const SIPTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5931
6322
  "livekit.SIPTrunkInfo",
5932
6323
  () => [
@@ -6684,7 +7075,8 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
6684
7075
  kind: "scalar",
6685
7076
  T: 8
6686
7077
  /* ScalarType.BOOL */
6687
- }
7078
+ },
7079
+ { no: 21, name: "display_name", kind: "scalar", T: 9, opt: true }
6688
7080
  ]
6689
7081
  );
6690
7082
  const SIPParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6885,7 +7277,16 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6885
7277
  kind: "scalar",
6886
7278
  T: 9
6887
7279
  /* ScalarType.STRING */
6888
- }
7280
+ },
7281
+ {
7282
+ no: 25,
7283
+ name: "pcap_file_link",
7284
+ kind: "scalar",
7285
+ T: 9
7286
+ /* ScalarType.STRING */
7287
+ },
7288
+ { no: 26, name: "call_context", kind: "message", T: protobuf.Any, repeated: true },
7289
+ { no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
6889
7290
  ]
6890
7291
  );
6891
7292
  const SIPTransferInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -6972,6 +7373,41 @@ const SIPUri = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6972
7373
  ]
6973
7374
  );
6974
7375
 
7376
+ const TokenSourceRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7377
+ "livekit.TokenSourceRequest",
7378
+ () => [
7379
+ { no: 1, name: "room_name", kind: "scalar", T: 9, opt: true },
7380
+ { no: 2, name: "participant_name", kind: "scalar", T: 9, opt: true },
7381
+ { no: 3, name: "participant_identity", kind: "scalar", T: 9, opt: true },
7382
+ { no: 4, name: "participant_metadata", kind: "scalar", T: 9, opt: true },
7383
+ { no: 5, name: "participant_attributes", kind: "map", K: 9, V: {
7384
+ kind: "scalar",
7385
+ T: 9
7386
+ /* ScalarType.STRING */
7387
+ } },
7388
+ { no: 6, name: "room_config", kind: "message", T: RoomConfiguration, opt: true }
7389
+ ]
7390
+ );
7391
+ const TokenSourceResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7392
+ "livekit.TokenSourceResponse",
7393
+ () => [
7394
+ {
7395
+ no: 1,
7396
+ name: "server_url",
7397
+ kind: "scalar",
7398
+ T: 9
7399
+ /* ScalarType.STRING */
7400
+ },
7401
+ {
7402
+ no: 2,
7403
+ name: "participant_token",
7404
+ kind: "scalar",
7405
+ T: 9
7406
+ /* ScalarType.STRING */
7407
+ }
7408
+ ]
7409
+ );
7410
+
6975
7411
  const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6976
7412
  "livekit.WebhookEvent",
6977
7413
  () => [
@@ -7011,7 +7447,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7011
7447
  ]
7012
7448
  );
7013
7449
 
7014
- const version = "1.39.5";
7450
+ const version = "1.42.2-2";
7015
7451
 
7016
7452
  exports.protoInt64 = protobuf.protoInt64;
7017
7453
  exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
@@ -7038,6 +7474,7 @@ exports.Codec = Codec;
7038
7474
  exports.ConnectionQuality = ConnectionQuality;
7039
7475
  exports.ConnectionQualityInfo = ConnectionQualityInfo;
7040
7476
  exports.ConnectionQualityUpdate = ConnectionQualityUpdate;
7477
+ exports.ConnectionSettings = ConnectionSettings;
7041
7478
  exports.CreateAgentDispatchRequest = CreateAgentDispatchRequest;
7042
7479
  exports.CreateIngressRequest = CreateIngressRequest;
7043
7480
  exports.CreateRoomRequest = CreateRoomRequest;
@@ -7073,10 +7510,13 @@ exports.EncodedFileOutput = EncodedFileOutput;
7073
7510
  exports.EncodedFileType = EncodedFileType;
7074
7511
  exports.EncodingOptions = EncodingOptions;
7075
7512
  exports.EncodingOptionsPreset = EncodingOptionsPreset;
7513
+ exports.EncryptedPacket = EncryptedPacket;
7514
+ exports.EncryptedPacketPayload = EncryptedPacketPayload;
7076
7515
  exports.Encryption = Encryption;
7077
7516
  exports.Encryption_Type = Encryption_Type;
7078
7517
  exports.EventMetric = EventMetric;
7079
7518
  exports.FileInfo = FileInfo;
7519
+ exports.FilterParams = FilterParams;
7080
7520
  exports.ForwardParticipantRequest = ForwardParticipantRequest;
7081
7521
  exports.ForwardParticipantResponse = ForwardParticipantResponse;
7082
7522
  exports.GCPUpload = GCPUpload;
@@ -7107,6 +7547,7 @@ exports.JobState = JobState;
7107
7547
  exports.JobStatus = JobStatus;
7108
7548
  exports.JobTermination = JobTermination;
7109
7549
  exports.JobType = JobType;
7550
+ exports.JoinRequest = JoinRequest;
7110
7551
  exports.JoinResponse = JoinResponse;
7111
7552
  exports.LeaveRequest = LeaveRequest;
7112
7553
  exports.LeaveRequest_Action = LeaveRequest_Action;
@@ -7129,9 +7570,11 @@ exports.ListSIPOutboundTrunkResponse = ListSIPOutboundTrunkResponse;
7129
7570
  exports.ListSIPTrunkRequest = ListSIPTrunkRequest;
7130
7571
  exports.ListSIPTrunkResponse = ListSIPTrunkResponse;
7131
7572
  exports.ListUpdate = ListUpdate;
7573
+ exports.MediaSectionsRequirement = MediaSectionsRequirement;
7132
7574
  exports.MetricLabel = MetricLabel;
7133
7575
  exports.MetricSample = MetricSample;
7134
7576
  exports.MetricsBatch = MetricsBatch;
7577
+ exports.MetricsRecordingHeader = MetricsRecordingHeader;
7135
7578
  exports.MigrateJobRequest = MigrateJobRequest;
7136
7579
  exports.MoveParticipantRequest = MoveParticipantRequest;
7137
7580
  exports.MoveParticipantResponse = MoveParticipantResponse;
@@ -7147,9 +7590,13 @@ exports.ParticipantInfo_State = ParticipantInfo_State;
7147
7590
  exports.ParticipantPermission = ParticipantPermission;
7148
7591
  exports.ParticipantTracks = ParticipantTracks;
7149
7592
  exports.ParticipantUpdate = ParticipantUpdate;
7593
+ exports.PerformRpcRequest = PerformRpcRequest;
7594
+ exports.PerformRpcResponse = PerformRpcResponse;
7150
7595
  exports.Ping = Ping;
7151
7596
  exports.PlayoutDelay = PlayoutDelay;
7152
7597
  exports.Pong = Pong;
7598
+ exports.ProviderInfo = ProviderInfo;
7599
+ exports.ProviderType = ProviderType;
7153
7600
  exports.ProxyConfig = ProxyConfig;
7154
7601
  exports.RTCPSenderReportState = RTCPSenderReportState;
7155
7602
  exports.RTPDrift = RTPDrift;
@@ -7234,6 +7681,8 @@ exports.StreamProtocol = StreamProtocol;
7234
7681
  exports.StreamState = StreamState;
7235
7682
  exports.StreamStateInfo = StreamStateInfo;
7236
7683
  exports.StreamStateUpdate = StreamStateUpdate;
7684
+ exports.SubscribedAudioCodec = SubscribedAudioCodec;
7685
+ exports.SubscribedAudioCodecUpdate = SubscribedAudioCodecUpdate;
7237
7686
  exports.SubscribedCodec = SubscribedCodec;
7238
7687
  exports.SubscribedQuality = SubscribedQuality;
7239
7688
  exports.SubscribedQualityUpdate = SubscribedQualityUpdate;
@@ -7243,6 +7692,7 @@ exports.SubscriptionPermissionUpdate = SubscriptionPermissionUpdate;
7243
7692
  exports.SubscriptionResponse = SubscriptionResponse;
7244
7693
  exports.SyncState = SyncState;
7245
7694
  exports.TTBaseResponse = TTBaseResponse;
7695
+ exports.TTCallOptions = TTCallOptions;
7246
7696
  exports.TTCallRequest = TTCallRequest;
7247
7697
  exports.TTCallResponse = TTCallResponse;
7248
7698
  exports.TTCallResponseBody = TTCallResponseBody;
@@ -7255,6 +7705,9 @@ exports.TTNotification_TTArgs = TTNotification_TTArgs;
7255
7705
  exports.TTStartCall = TTStartCall;
7256
7706
  exports.TimeSeriesMetric = TimeSeriesMetric;
7257
7707
  exports.TimedVersion = TimedVersion;
7708
+ exports.TokenPagination = TokenPagination;
7709
+ exports.TokenSourceRequest = TokenSourceRequest;
7710
+ exports.TokenSourceResponse = TokenSourceResponse;
7258
7711
  exports.TrackCompositeEgressRequest = TrackCompositeEgressRequest;
7259
7712
  exports.TrackEgressRequest = TrackEgressRequest;
7260
7713
  exports.TrackInfo = TrackInfo;
@@ -7291,6 +7744,7 @@ exports.VP8MungerState = VP8MungerState;
7291
7744
  exports.VideoCodec = VideoCodec;
7292
7745
  exports.VideoConfiguration = VideoConfiguration;
7293
7746
  exports.VideoLayer = VideoLayer;
7747
+ exports.VideoLayer_Mode = VideoLayer_Mode;
7294
7748
  exports.VideoQuality = VideoQuality;
7295
7749
  exports.WebEgressRequest = WebEgressRequest;
7296
7750
  exports.WebhookConfig = WebhookConfig;
@@ -7299,5 +7753,7 @@ exports.WorkerMessage = WorkerMessage;
7299
7753
  exports.WorkerPing = WorkerPing;
7300
7754
  exports.WorkerPong = WorkerPong;
7301
7755
  exports.WorkerStatus = WorkerStatus;
7756
+ exports.WrappedJoinRequest = WrappedJoinRequest;
7757
+ exports.WrappedJoinRequest_Compression = WrappedJoinRequest_Compression;
7302
7758
  exports.version = version;
7303
7759
  //# sourceMappingURL=index.cjs.map