@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.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { proto3, Timestamp, Duration } from '@bufbuild/protobuf';
1
+ import { proto3, Timestamp, Duration, Any } from '@bufbuild/protobuf';
2
2
  export { protoInt64 } from '@bufbuild/protobuf';
3
3
 
4
4
  const MetricLabel = /* @__PURE__ */ proto3.makeEnum(
@@ -147,13 +147,27 @@ const EventMetric = /* @__PURE__ */ proto3.makeMessageType(
147
147
  }
148
148
  ]
149
149
  );
150
+ const MetricsRecordingHeader = /* @__PURE__ */ proto3.makeMessageType(
151
+ "livekit.MetricsRecordingHeader",
152
+ () => [
153
+ {
154
+ no: 1,
155
+ name: "room_id",
156
+ kind: "scalar",
157
+ T: 9
158
+ /* ScalarType.STRING */
159
+ },
160
+ { no: 2, name: "enable_user_data_training", kind: "scalar", T: 8, opt: true }
161
+ ]
162
+ );
150
163
 
151
164
  const AudioCodec = /* @__PURE__ */ proto3.makeEnum(
152
165
  "livekit.AudioCodec",
153
166
  [
154
167
  { no: 0, name: "DEFAULT_AC" },
155
168
  { no: 1, name: "OPUS" },
156
- { no: 2, name: "AAC" }
169
+ { no: 2, name: "AAC" },
170
+ { no: 3, name: "AC_MP3" }
157
171
  ]
158
172
  );
159
173
  const VideoCodec = /* @__PURE__ */ proto3.makeEnum(
@@ -295,10 +309,31 @@ const Pagination = /* @__PURE__ */ proto3.makeMessageType(
295
309
  }
296
310
  ]
297
311
  );
312
+ const TokenPagination = /* @__PURE__ */ proto3.makeMessageType(
313
+ "livekit.TokenPagination",
314
+ () => [
315
+ {
316
+ no: 1,
317
+ name: "token",
318
+ kind: "scalar",
319
+ T: 9
320
+ /* ScalarType.STRING */
321
+ }
322
+ ]
323
+ );
298
324
  const ListUpdate = /* @__PURE__ */ proto3.makeMessageType(
299
325
  "livekit.ListUpdate",
300
326
  () => [
301
- { no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
327
+ { no: 1, name: "set", kind: "scalar", T: 9, repeated: true },
328
+ { no: 2, name: "add", kind: "scalar", T: 9, repeated: true },
329
+ { no: 3, name: "remove", kind: "scalar", T: 9, repeated: true },
330
+ {
331
+ no: 4,
332
+ name: "clear",
333
+ kind: "scalar",
334
+ T: 8
335
+ /* ScalarType.BOOL */
336
+ }
302
337
  ]
303
338
  );
304
339
  const Room = /* @__PURE__ */ proto3.makeMessageType(
@@ -594,7 +629,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ proto3.makeEnum(
594
629
  { no: 1, name: "INGRESS" },
595
630
  { no: 2, name: "EGRESS" },
596
631
  { no: 3, name: "SIP" },
597
- { no: 4, name: "AGENT" }
632
+ { no: 4, name: "AGENT" },
633
+ { no: 7, name: "CONNECTOR" }
598
634
  ]
599
635
  );
600
636
  const ParticipantInfo_KindDetail = /* @__PURE__ */ proto3.makeEnum(
@@ -640,7 +676,15 @@ const SimulcastCodecInfo = /* @__PURE__ */ proto3.makeMessageType(
640
676
  T: 9
641
677
  /* ScalarType.STRING */
642
678
  },
643
- { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }
679
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
680
+ { no: 5, name: "video_layer_mode", kind: "enum", T: proto3.getEnumType(VideoLayer_Mode) },
681
+ {
682
+ no: 6,
683
+ name: "sdp_cid",
684
+ kind: "scalar",
685
+ T: 9
686
+ /* ScalarType.STRING */
687
+ }
644
688
  ]
645
689
  );
646
690
  const TrackInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -788,6 +832,15 @@ const VideoLayer = /* @__PURE__ */ proto3.makeMessageType(
788
832
  }
789
833
  ]
790
834
  );
835
+ const VideoLayer_Mode = /* @__PURE__ */ proto3.makeEnum(
836
+ "livekit.VideoLayer.Mode",
837
+ [
838
+ { no: 0, name: "MODE_UNUSED" },
839
+ { no: 1, name: "ONE_SPATIAL_LAYER_PER_STREAM" },
840
+ { no: 2, name: "MULTIPLE_SPATIAL_LAYERS_PER_STREAM" },
841
+ { no: 3, name: "ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR" }
842
+ ]
843
+ );
791
844
  const DataPacket = /* @__PURE__ */ proto3.makeMessageType(
792
845
  "livekit.DataPacket",
793
846
  () => [
@@ -812,6 +865,7 @@ const DataPacket = /* @__PURE__ */ proto3.makeMessageType(
812
865
  { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
813
866
  { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
814
867
  { no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" },
868
+ { no: 18, name: "encrypted_packet", kind: "message", T: EncryptedPacket, oneof: "value" },
815
869
  {
816
870
  no: 16,
817
871
  name: "sequence",
@@ -835,6 +889,46 @@ const DataPacket_Kind = /* @__PURE__ */ proto3.makeEnum(
835
889
  { no: 1, name: "LOSSY" }
836
890
  ]
837
891
  );
892
+ const EncryptedPacket = /* @__PURE__ */ proto3.makeMessageType(
893
+ "livekit.EncryptedPacket",
894
+ () => [
895
+ { no: 1, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
896
+ {
897
+ no: 2,
898
+ name: "iv",
899
+ kind: "scalar",
900
+ T: 12
901
+ /* ScalarType.BYTES */
902
+ },
903
+ {
904
+ no: 3,
905
+ name: "key_index",
906
+ kind: "scalar",
907
+ T: 13
908
+ /* ScalarType.UINT32 */
909
+ },
910
+ {
911
+ no: 4,
912
+ name: "encrypted_value",
913
+ kind: "scalar",
914
+ T: 12
915
+ /* ScalarType.BYTES */
916
+ }
917
+ ]
918
+ );
919
+ const EncryptedPacketPayload = /* @__PURE__ */ proto3.makeMessageType(
920
+ "livekit.EncryptedPacketPayload",
921
+ () => [
922
+ { no: 1, name: "user", kind: "message", T: UserPacket, oneof: "value" },
923
+ { no: 3, name: "chat_message", kind: "message", T: ChatMessage, oneof: "value" },
924
+ { no: 4, name: "rpc_request", kind: "message", T: RpcRequest, oneof: "value" },
925
+ { no: 5, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
926
+ { no: 6, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
927
+ { no: 7, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
928
+ { no: 8, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
929
+ { no: 9, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" }
930
+ ]
931
+ );
838
932
  const ActiveSpeakerUpdate = /* @__PURE__ */ proto3.makeMessageType(
839
933
  "livekit.ActiveSpeakerUpdate",
840
934
  () => [
@@ -2001,6 +2095,13 @@ const DataStream_Trailer = /* @__PURE__ */ proto3.makeMessageType(
2001
2095
  ],
2002
2096
  { localName: "DataStream_Trailer" }
2003
2097
  );
2098
+ const FilterParams = /* @__PURE__ */ proto3.makeMessageType(
2099
+ "livekit.FilterParams",
2100
+ () => [
2101
+ { no: 1, name: "include_events", kind: "scalar", T: 9, repeated: true },
2102
+ { no: 2, name: "exclude_events", kind: "scalar", T: 9, repeated: true }
2103
+ ]
2104
+ );
2004
2105
  const WebhookConfig = /* @__PURE__ */ proto3.makeMessageType(
2005
2106
  "livekit.WebhookConfig",
2006
2107
  () => [
@@ -2017,6 +2118,26 @@ const WebhookConfig = /* @__PURE__ */ proto3.makeMessageType(
2017
2118
  kind: "scalar",
2018
2119
  T: 9
2019
2120
  /* ScalarType.STRING */
2121
+ },
2122
+ { no: 3, name: "filter_params", kind: "message", T: FilterParams }
2123
+ ]
2124
+ );
2125
+ const SubscribedAudioCodec = /* @__PURE__ */ proto3.makeMessageType(
2126
+ "livekit.SubscribedAudioCodec",
2127
+ () => [
2128
+ {
2129
+ no: 1,
2130
+ name: "codec",
2131
+ kind: "scalar",
2132
+ T: 9
2133
+ /* ScalarType.STRING */
2134
+ },
2135
+ {
2136
+ no: 2,
2137
+ name: "enabled",
2138
+ kind: "scalar",
2139
+ T: 8
2140
+ /* ScalarType.BOOL */
2020
2141
  }
2021
2142
  ]
2022
2143
  );
@@ -2086,7 +2207,14 @@ const Job = /* @__PURE__ */ proto3.makeMessageType(
2086
2207
  T: 9
2087
2208
  /* ScalarType.STRING */
2088
2209
  },
2089
- { no: 8, name: "state", kind: "message", T: JobState }
2210
+ { no: 8, name: "state", kind: "message", T: JobState },
2211
+ {
2212
+ no: 10,
2213
+ name: "enable_recording",
2214
+ kind: "scalar",
2215
+ T: 8
2216
+ /* ScalarType.BOOL */
2217
+ }
2090
2218
  ]
2091
2219
  );
2092
2220
  const JobState = /* @__PURE__ */ proto3.makeMessageType(
@@ -2134,6 +2262,13 @@ const JobState = /* @__PURE__ */ proto3.makeMessageType(
2134
2262
  kind: "scalar",
2135
2263
  T: 9
2136
2264
  /* ScalarType.STRING */
2265
+ },
2266
+ {
2267
+ no: 8,
2268
+ name: "agent_id",
2269
+ kind: "scalar",
2270
+ T: 9
2271
+ /* ScalarType.STRING */
2137
2272
  }
2138
2273
  ]
2139
2274
  );
@@ -2534,7 +2669,8 @@ const EncodedFileType = /* @__PURE__ */ proto3.makeEnum(
2534
2669
  [
2535
2670
  { no: 0, name: "DEFAULT_FILETYPE" },
2536
2671
  { no: 1, name: "MP4" },
2537
- { no: 2, name: "OGG" }
2672
+ { no: 2, name: "OGG" },
2673
+ { no: 3, name: "MP3" }
2538
2674
  ]
2539
2675
  );
2540
2676
  const SegmentedFileProtocol = /* @__PURE__ */ proto3.makeEnum(
@@ -2955,6 +3091,20 @@ const S3Upload = /* @__PURE__ */ proto3.makeMessageType(
2955
3091
  T: 9
2956
3092
  /* ScalarType.STRING */
2957
3093
  },
3094
+ {
3095
+ no: 12,
3096
+ name: "assume_role_arn",
3097
+ kind: "scalar",
3098
+ T: 9
3099
+ /* ScalarType.STRING */
3100
+ },
3101
+ {
3102
+ no: 13,
3103
+ name: "assume_role_external_id",
3104
+ kind: "scalar",
3105
+ T: 9
3106
+ /* ScalarType.STRING */
3107
+ },
2958
3108
  {
2959
3109
  no: 3,
2960
3110
  name: "region",
@@ -4436,6 +4586,13 @@ const RoomConfiguration = /* @__PURE__ */ proto3.makeMessageType(
4436
4586
  T: 13
4437
4587
  /* ScalarType.UINT32 */
4438
4588
  },
4589
+ {
4590
+ no: 11,
4591
+ name: "metadata",
4592
+ kind: "scalar",
4593
+ T: 9
4594
+ /* ScalarType.STRING */
4595
+ },
4439
4596
  { no: 5, name: "egress", kind: "message", T: RoomEgress },
4440
4597
  {
4441
4598
  no: 7,
@@ -4521,6 +4678,58 @@ const MoveParticipantResponse = /* @__PURE__ */ proto3.makeMessageType(
4521
4678
  "livekit.MoveParticipantResponse",
4522
4679
  []
4523
4680
  );
4681
+ const PerformRpcRequest = /* @__PURE__ */ proto3.makeMessageType(
4682
+ "livekit.PerformRpcRequest",
4683
+ () => [
4684
+ {
4685
+ no: 1,
4686
+ name: "room",
4687
+ kind: "scalar",
4688
+ T: 9
4689
+ /* ScalarType.STRING */
4690
+ },
4691
+ {
4692
+ no: 2,
4693
+ name: "destination_identity",
4694
+ kind: "scalar",
4695
+ T: 9
4696
+ /* ScalarType.STRING */
4697
+ },
4698
+ {
4699
+ no: 3,
4700
+ name: "method",
4701
+ kind: "scalar",
4702
+ T: 9
4703
+ /* ScalarType.STRING */
4704
+ },
4705
+ {
4706
+ no: 4,
4707
+ name: "payload",
4708
+ kind: "scalar",
4709
+ T: 9
4710
+ /* ScalarType.STRING */
4711
+ },
4712
+ {
4713
+ no: 5,
4714
+ name: "response_timeout_ms",
4715
+ kind: "scalar",
4716
+ T: 13
4717
+ /* ScalarType.UINT32 */
4718
+ }
4719
+ ]
4720
+ );
4721
+ const PerformRpcResponse = /* @__PURE__ */ proto3.makeMessageType(
4722
+ "livekit.PerformRpcResponse",
4723
+ () => [
4724
+ {
4725
+ no: 1,
4726
+ name: "payload",
4727
+ kind: "scalar",
4728
+ T: 9
4729
+ /* ScalarType.STRING */
4730
+ }
4731
+ ]
4732
+ );
4524
4733
 
4525
4734
  const TTCaller = /* @__PURE__ */ proto3.makeMessageType(
4526
4735
  "livekit.TTCaller",
@@ -4672,11 +4881,24 @@ const TTCallResponseBody = /* @__PURE__ */ proto3.makeMessageType(
4672
4881
  }
4673
4882
  ]
4674
4883
  );
4884
+ const TTCallOptions = /* @__PURE__ */ proto3.makeMessageType(
4885
+ "livekit.TTCallOptions",
4886
+ () => [
4887
+ {
4888
+ no: 1,
4889
+ name: "publish_silence_audio",
4890
+ kind: "scalar",
4891
+ T: 8
4892
+ /* ScalarType.BOOL */
4893
+ }
4894
+ ]
4895
+ );
4675
4896
  const TTCallResponse = /* @__PURE__ */ proto3.makeMessageType(
4676
4897
  "livekit.TTCallResponse",
4677
4898
  () => [
4678
4899
  { no: 1, name: "base", kind: "message", T: TTBaseResponse },
4679
- { no: 2, name: "body", kind: "message", T: TTCallResponseBody }
4900
+ { no: 2, name: "body", kind: "message", T: TTCallResponseBody },
4901
+ { no: 100, name: "call_options", kind: "message", T: TTCallOptions, opt: true }
4680
4902
  ]
4681
4903
  );
4682
4904
  const TTCipherMessages = /* @__PURE__ */ proto3.makeMessageType(
@@ -4896,7 +5118,9 @@ const SignalResponse = /* @__PURE__ */ proto3.makeMessageType(
4896
5118
  { no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
4897
5119
  { no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
4898
5120
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
4899
- { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" }
5121
+ { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
5122
+ { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
5123
+ { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
4900
5124
  ]
4901
5125
  );
4902
5126
  const SimulcastCodec = /* @__PURE__ */ proto3.makeMessageType(
@@ -4915,7 +5139,9 @@ const SimulcastCodec = /* @__PURE__ */ proto3.makeMessageType(
4915
5139
  kind: "scalar",
4916
5140
  T: 9
4917
5141
  /* ScalarType.STRING */
4918
- }
5142
+ },
5143
+ { no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
5144
+ { no: 5, name: "video_layer_mode", kind: "enum", T: proto3.getEnumType(VideoLayer_Mode) }
4919
5145
  ]
4920
5146
  );
4921
5147
  const AddTrackRequest = /* @__PURE__ */ proto3.makeMessageType(
@@ -5171,7 +5397,12 @@ const SessionDescription = /* @__PURE__ */ proto3.makeMessageType(
5171
5397
  kind: "scalar",
5172
5398
  T: 13
5173
5399
  /* ScalarType.UINT32 */
5174
- }
5400
+ },
5401
+ { no: 4, name: "mid_to_track_id", kind: "map", K: 9, V: {
5402
+ kind: "scalar",
5403
+ T: 9
5404
+ /* ScalarType.STRING */
5405
+ } }
5175
5406
  ]
5176
5407
  );
5177
5408
  const ParticipantUpdate = /* @__PURE__ */ proto3.makeMessageType(
@@ -5466,6 +5697,19 @@ const SubscribedQualityUpdate = /* @__PURE__ */ proto3.makeMessageType(
5466
5697
  { no: 3, name: "subscribed_codecs", kind: "message", T: SubscribedCodec, repeated: true }
5467
5698
  ]
5468
5699
  );
5700
+ const SubscribedAudioCodecUpdate = /* @__PURE__ */ proto3.makeMessageType(
5701
+ "livekit.SubscribedAudioCodecUpdate",
5702
+ () => [
5703
+ {
5704
+ no: 1,
5705
+ name: "track_sid",
5706
+ kind: "scalar",
5707
+ T: 9
5708
+ /* ScalarType.STRING */
5709
+ },
5710
+ { no: 2, name: "subscribed_audio_codecs", kind: "message", T: SubscribedAudioCodec, repeated: true }
5711
+ ]
5712
+ );
5469
5713
  const TrackPermission = /* @__PURE__ */ proto3.makeMessageType(
5470
5714
  "livekit.TrackPermission",
5471
5715
  () => [
@@ -5712,7 +5956,13 @@ const RequestResponse = /* @__PURE__ */ proto3.makeMessageType(
5712
5956
  kind: "scalar",
5713
5957
  T: 9
5714
5958
  /* ScalarType.STRING */
5715
- }
5959
+ },
5960
+ { no: 4, name: "trickle", kind: "message", T: TrickleRequest, oneof: "request" },
5961
+ { no: 5, name: "add_track", kind: "message", T: AddTrackRequest, oneof: "request" },
5962
+ { no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
5963
+ { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
5964
+ { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
5965
+ { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
5716
5966
  ]
5717
5967
  );
5718
5968
  const RequestResponse_Reason = /* @__PURE__ */ proto3.makeEnum(
@@ -5721,7 +5971,10 @@ const RequestResponse_Reason = /* @__PURE__ */ proto3.makeEnum(
5721
5971
  { no: 0, name: "OK" },
5722
5972
  { no: 1, name: "NOT_FOUND" },
5723
5973
  { no: 2, name: "NOT_ALLOWED" },
5724
- { no: 3, name: "LIMIT_EXCEEDED" }
5974
+ { no: 3, name: "LIMIT_EXCEEDED" },
5975
+ { no: 4, name: "QUEUED" },
5976
+ { no: 5, name: "UNSUPPORTED_TYPE" },
5977
+ { no: 6, name: "UNCLASSIFIED_ERROR" }
5725
5978
  ]
5726
5979
  );
5727
5980
  const TrackSubscribed = /* @__PURE__ */ proto3.makeMessageType(
@@ -5736,6 +5989,109 @@ const TrackSubscribed = /* @__PURE__ */ proto3.makeMessageType(
5736
5989
  }
5737
5990
  ]
5738
5991
  );
5992
+ const ConnectionSettings = /* @__PURE__ */ proto3.makeMessageType(
5993
+ "livekit.ConnectionSettings",
5994
+ () => [
5995
+ {
5996
+ no: 1,
5997
+ name: "auto_subscribe",
5998
+ kind: "scalar",
5999
+ T: 8
6000
+ /* ScalarType.BOOL */
6001
+ },
6002
+ {
6003
+ no: 2,
6004
+ name: "adaptive_stream",
6005
+ kind: "scalar",
6006
+ T: 8
6007
+ /* ScalarType.BOOL */
6008
+ },
6009
+ { no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true },
6010
+ {
6011
+ no: 4,
6012
+ name: "disable_ice_lite",
6013
+ kind: "scalar",
6014
+ T: 8
6015
+ /* ScalarType.BOOL */
6016
+ }
6017
+ ]
6018
+ );
6019
+ const JoinRequest = /* @__PURE__ */ proto3.makeMessageType(
6020
+ "livekit.JoinRequest",
6021
+ () => [
6022
+ { no: 1, name: "client_info", kind: "message", T: ClientInfo },
6023
+ { no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
6024
+ {
6025
+ no: 3,
6026
+ name: "metadata",
6027
+ kind: "scalar",
6028
+ T: 9
6029
+ /* ScalarType.STRING */
6030
+ },
6031
+ { no: 4, name: "participant_attributes", kind: "map", K: 9, V: {
6032
+ kind: "scalar",
6033
+ T: 9
6034
+ /* ScalarType.STRING */
6035
+ } },
6036
+ { no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
6037
+ { no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
6038
+ {
6039
+ no: 7,
6040
+ name: "reconnect",
6041
+ kind: "scalar",
6042
+ T: 8
6043
+ /* ScalarType.BOOL */
6044
+ },
6045
+ { no: 8, name: "reconnect_reason", kind: "enum", T: proto3.getEnumType(ReconnectReason) },
6046
+ {
6047
+ no: 9,
6048
+ name: "participant_sid",
6049
+ kind: "scalar",
6050
+ T: 9
6051
+ /* ScalarType.STRING */
6052
+ },
6053
+ { no: 10, name: "sync_state", kind: "message", T: SyncState }
6054
+ ]
6055
+ );
6056
+ const WrappedJoinRequest = /* @__PURE__ */ proto3.makeMessageType(
6057
+ "livekit.WrappedJoinRequest",
6058
+ () => [
6059
+ { no: 1, name: "compression", kind: "enum", T: proto3.getEnumType(WrappedJoinRequest_Compression) },
6060
+ {
6061
+ no: 2,
6062
+ name: "join_request",
6063
+ kind: "scalar",
6064
+ T: 12
6065
+ /* ScalarType.BYTES */
6066
+ }
6067
+ ]
6068
+ );
6069
+ const WrappedJoinRequest_Compression = /* @__PURE__ */ proto3.makeEnum(
6070
+ "livekit.WrappedJoinRequest.Compression",
6071
+ [
6072
+ { no: 0, name: "NONE" },
6073
+ { no: 1, name: "GZIP" }
6074
+ ]
6075
+ );
6076
+ const MediaSectionsRequirement = /* @__PURE__ */ proto3.makeMessageType(
6077
+ "livekit.MediaSectionsRequirement",
6078
+ () => [
6079
+ {
6080
+ no: 1,
6081
+ name: "num_audios",
6082
+ kind: "scalar",
6083
+ T: 13
6084
+ /* ScalarType.UINT32 */
6085
+ },
6086
+ {
6087
+ no: 2,
6088
+ name: "num_videos",
6089
+ kind: "scalar",
6090
+ T: 13
6091
+ /* ScalarType.UINT32 */
6092
+ }
6093
+ ]
6094
+ );
5739
6095
 
5740
6096
  const SIPStatusCode = /* @__PURE__ */ proto3.makeEnum(
5741
6097
  "livekit.SIPStatusCode",
@@ -5816,6 +6172,14 @@ const SIPMediaEncryption = /* @__PURE__ */ proto3.makeEnum(
5816
6172
  { no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
5817
6173
  ]
5818
6174
  );
6175
+ const ProviderType = /* @__PURE__ */ proto3.makeEnum(
6176
+ "livekit.ProviderType",
6177
+ [
6178
+ { no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN" },
6179
+ { no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL" },
6180
+ { no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL" }
6181
+ ]
6182
+ );
5819
6183
  const SIPCallStatus = /* @__PURE__ */ proto3.makeEnum(
5820
6184
  "livekit.SIPCallStatus",
5821
6185
  [
@@ -5926,6 +6290,26 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ proto3.makeMessageType(
5926
6290
  }
5927
6291
  ]
5928
6292
  );
6293
+ const ProviderInfo = /* @__PURE__ */ proto3.makeMessageType(
6294
+ "livekit.ProviderInfo",
6295
+ () => [
6296
+ {
6297
+ no: 1,
6298
+ name: "id",
6299
+ kind: "scalar",
6300
+ T: 9
6301
+ /* ScalarType.STRING */
6302
+ },
6303
+ {
6304
+ no: 2,
6305
+ name: "name",
6306
+ kind: "scalar",
6307
+ T: 9
6308
+ /* ScalarType.STRING */
6309
+ },
6310
+ { no: 3, name: "type", kind: "enum", T: proto3.getEnumType(ProviderType) }
6311
+ ]
6312
+ );
5929
6313
  const SIPTrunkInfo = /* @__PURE__ */ proto3.makeMessageType(
5930
6314
  "livekit.SIPTrunkInfo",
5931
6315
  () => [
@@ -6683,7 +7067,8 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ proto3.makeMessageType(
6683
7067
  kind: "scalar",
6684
7068
  T: 8
6685
7069
  /* ScalarType.BOOL */
6686
- }
7070
+ },
7071
+ { no: 21, name: "display_name", kind: "scalar", T: 9, opt: true }
6687
7072
  ]
6688
7073
  );
6689
7074
  const SIPParticipantInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -6884,7 +7269,16 @@ const SIPCallInfo = /* @__PURE__ */ proto3.makeMessageType(
6884
7269
  kind: "scalar",
6885
7270
  T: 9
6886
7271
  /* ScalarType.STRING */
6887
- }
7272
+ },
7273
+ {
7274
+ no: 25,
7275
+ name: "pcap_file_link",
7276
+ kind: "scalar",
7277
+ T: 9
7278
+ /* ScalarType.STRING */
7279
+ },
7280
+ { no: 26, name: "call_context", kind: "message", T: Any, repeated: true },
7281
+ { no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
6888
7282
  ]
6889
7283
  );
6890
7284
  const SIPTransferInfo = /* @__PURE__ */ proto3.makeMessageType(
@@ -6971,6 +7365,41 @@ const SIPUri = /* @__PURE__ */ proto3.makeMessageType(
6971
7365
  ]
6972
7366
  );
6973
7367
 
7368
+ const TokenSourceRequest = /* @__PURE__ */ proto3.makeMessageType(
7369
+ "livekit.TokenSourceRequest",
7370
+ () => [
7371
+ { no: 1, name: "room_name", kind: "scalar", T: 9, opt: true },
7372
+ { no: 2, name: "participant_name", kind: "scalar", T: 9, opt: true },
7373
+ { no: 3, name: "participant_identity", kind: "scalar", T: 9, opt: true },
7374
+ { no: 4, name: "participant_metadata", kind: "scalar", T: 9, opt: true },
7375
+ { no: 5, name: "participant_attributes", kind: "map", K: 9, V: {
7376
+ kind: "scalar",
7377
+ T: 9
7378
+ /* ScalarType.STRING */
7379
+ } },
7380
+ { no: 6, name: "room_config", kind: "message", T: RoomConfiguration, opt: true }
7381
+ ]
7382
+ );
7383
+ const TokenSourceResponse = /* @__PURE__ */ proto3.makeMessageType(
7384
+ "livekit.TokenSourceResponse",
7385
+ () => [
7386
+ {
7387
+ no: 1,
7388
+ name: "server_url",
7389
+ kind: "scalar",
7390
+ T: 9
7391
+ /* ScalarType.STRING */
7392
+ },
7393
+ {
7394
+ no: 2,
7395
+ name: "participant_token",
7396
+ kind: "scalar",
7397
+ T: 9
7398
+ /* ScalarType.STRING */
7399
+ }
7400
+ ]
7401
+ );
7402
+
6974
7403
  const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
6975
7404
  "livekit.WebhookEvent",
6976
7405
  () => [
@@ -7010,7 +7439,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
7010
7439
  ]
7011
7440
  );
7012
7441
 
7013
- const version = "1.39.5";
7442
+ const version = "1.42.2-1";
7014
7443
 
7015
- export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TTBaseResponse, TTCallRequest, TTCallResponse, TTCallResponseBody, TTCaller, TTCipherMessages, TTEncInfo, TTExceptionRecipient, TTNotification, TTNotification_TTArgs, TTStartCall, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
7444
+ export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TTBaseResponse, TTCallOptions, TTCallRequest, TTCallResponse, TTCallResponseBody, TTCaller, TTCipherMessages, TTEncInfo, TTExceptionRecipient, TTNotification, TTNotification_TTArgs, TTStartCall, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
7016
7445
  //# sourceMappingURL=index.mjs.map