@livekit/protocol 1.43.2 → 1.43.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -349,7 +349,12 @@ const MetricsRecordingHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
349
349
  T: 4
350
350
  /* ScalarType.UINT64 */
351
351
  },
352
- { no: 4, name: "start_time", kind: "message", T: protobuf.Timestamp }
352
+ { no: 4, name: "start_time", kind: "message", T: protobuf.Timestamp },
353
+ { no: 5, name: "room_tags", kind: "map", K: 9, V: {
354
+ kind: "scalar",
355
+ T: 9
356
+ /* ScalarType.STRING */
357
+ } }
353
358
  ]
354
359
  );
355
360
 
@@ -405,6 +410,13 @@ const TrackSource = /* @__PURE__ */ protobuf.proto3.makeEnum(
405
410
  { no: 4, name: "SCREEN_SHARE_AUDIO" }
406
411
  ]
407
412
  );
413
+ const DataTrackExtensionID = /* @__PURE__ */ protobuf.proto3.makeEnum(
414
+ "livekit.DataTrackExtensionID",
415
+ [
416
+ { no: 0, name: "DTEI_INVALID" },
417
+ { no: 1, name: "DTEI_PARTICIPANT_SID" }
418
+ ]
419
+ );
408
420
  const VideoQuality = /* @__PURE__ */ protobuf.proto3.makeEnum(
409
421
  "livekit.VideoQuality",
410
422
  [
@@ -802,7 +814,8 @@ const ParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
802
814
  /* ScalarType.STRING */
803
815
  } },
804
816
  { no: 16, name: "disconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(DisconnectReason) },
805
- { no: 18, name: "kind_details", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true }
817
+ { no: 18, name: "kind_details", kind: "enum", T: protobuf.proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
818
+ { no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true }
806
819
  ]
807
820
  );
808
821
  const ParticipantInfo_State = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -978,6 +991,52 @@ const TrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
978
991
  { no: 20, name: "backup_codec_policy", kind: "enum", T: protobuf.proto3.getEnumType(BackupCodecPolicy) }
979
992
  ]
980
993
  );
994
+ const DataTrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
995
+ "livekit.DataTrackInfo",
996
+ () => [
997
+ {
998
+ no: 1,
999
+ name: "pub_handle",
1000
+ kind: "scalar",
1001
+ T: 13
1002
+ /* ScalarType.UINT32 */
1003
+ },
1004
+ {
1005
+ no: 2,
1006
+ name: "sid",
1007
+ kind: "scalar",
1008
+ T: 9
1009
+ /* ScalarType.STRING */
1010
+ },
1011
+ {
1012
+ no: 3,
1013
+ name: "name",
1014
+ kind: "scalar",
1015
+ T: 9
1016
+ /* ScalarType.STRING */
1017
+ },
1018
+ { no: 4, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) }
1019
+ ]
1020
+ );
1021
+ const DataTrackExtensionParticipantSid = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1022
+ "livekit.DataTrackExtensionParticipantSid",
1023
+ () => [
1024
+ { no: 1, name: "id", kind: "enum", T: protobuf.proto3.getEnumType(DataTrackExtensionID) },
1025
+ {
1026
+ no: 2,
1027
+ name: "participant_sid",
1028
+ kind: "scalar",
1029
+ T: 9
1030
+ /* ScalarType.STRING */
1031
+ }
1032
+ ]
1033
+ );
1034
+ const DataTrackSubscriptionOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1035
+ "livekit.DataTrackSubscriptionOptions",
1036
+ () => [
1037
+ { no: 1, name: "target_fps", kind: "scalar", T: 13, opt: true }
1038
+ ]
1039
+ );
981
1040
  const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
982
1041
  "livekit.VideoLayer",
983
1042
  () => [
@@ -2975,7 +3034,10 @@ const SignalRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2975
3034
  { no: 15, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "message" },
2976
3035
  { no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" },
2977
3036
  { no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" },
2978
- { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" }
3037
+ { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
3038
+ { no: 19, name: "publish_data_track_request", kind: "message", T: PublishDataTrackRequest, oneof: "message" },
3039
+ { no: 20, name: "unpublish_data_track_request", kind: "message", T: UnpublishDataTrackRequest, oneof: "message" },
3040
+ { no: 21, name: "update_data_subscription", kind: "message", T: UpdateDataSubscription, oneof: "message" }
2979
3041
  ]
2980
3042
  );
2981
3043
  const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3005,7 +3067,10 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3005
3067
  { no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
3006
3068
  { no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
3007
3069
  { no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
3008
- { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
3070
+ { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
3071
+ { no: 27, name: "publish_data_track_response", kind: "message", T: PublishDataTrackResponse, oneof: "message" },
3072
+ { no: 28, name: "unpublish_data_track_response", kind: "message", T: UnpublishDataTrackResponse, oneof: "message" },
3073
+ { no: 29, name: "data_track_subscriber_handles", kind: "message", T: DataTrackSubscriberHandles, oneof: "message" }
3009
3074
  ]
3010
3075
  );
3011
3076
  const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3111,6 +3176,83 @@ const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3111
3176
  { no: 17, name: "audio_features", kind: "enum", T: protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true }
3112
3177
  ]
3113
3178
  );
3179
+ const PublishDataTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3180
+ "livekit.PublishDataTrackRequest",
3181
+ () => [
3182
+ {
3183
+ no: 1,
3184
+ name: "pub_handle",
3185
+ kind: "scalar",
3186
+ T: 13
3187
+ /* ScalarType.UINT32 */
3188
+ },
3189
+ {
3190
+ no: 2,
3191
+ name: "name",
3192
+ kind: "scalar",
3193
+ T: 9
3194
+ /* ScalarType.STRING */
3195
+ },
3196
+ { no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) }
3197
+ ]
3198
+ );
3199
+ const PublishDataTrackResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3200
+ "livekit.PublishDataTrackResponse",
3201
+ () => [
3202
+ { no: 1, name: "info", kind: "message", T: DataTrackInfo }
3203
+ ]
3204
+ );
3205
+ const UnpublishDataTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3206
+ "livekit.UnpublishDataTrackRequest",
3207
+ () => [
3208
+ {
3209
+ no: 1,
3210
+ name: "pub_handle",
3211
+ kind: "scalar",
3212
+ T: 13
3213
+ /* ScalarType.UINT32 */
3214
+ }
3215
+ ]
3216
+ );
3217
+ const UnpublishDataTrackResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3218
+ "livekit.UnpublishDataTrackResponse",
3219
+ () => [
3220
+ { no: 1, name: "info", kind: "message", T: DataTrackInfo }
3221
+ ]
3222
+ );
3223
+ const DataTrackSubscriberHandles = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3224
+ "livekit.DataTrackSubscriberHandles",
3225
+ () => [
3226
+ { no: 1, name: "sub_handles", kind: "map", K: 13, V: { kind: "message", T: DataTrackSubscriberHandles_PublishedDataTrack } }
3227
+ ]
3228
+ );
3229
+ const DataTrackSubscriberHandles_PublishedDataTrack = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3230
+ "livekit.DataTrackSubscriberHandles.PublishedDataTrack",
3231
+ () => [
3232
+ {
3233
+ no: 1,
3234
+ name: "publisher_identity",
3235
+ kind: "scalar",
3236
+ T: 9
3237
+ /* ScalarType.STRING */
3238
+ },
3239
+ {
3240
+ no: 2,
3241
+ name: "publisher_sid",
3242
+ kind: "scalar",
3243
+ T: 9
3244
+ /* ScalarType.STRING */
3245
+ },
3246
+ {
3247
+ no: 3,
3248
+ name: "track_sid",
3249
+ kind: "scalar",
3250
+ T: 9
3251
+ /* ScalarType.STRING */
3252
+ }
3253
+ ],
3254
+ { localName: "DataTrackSubscriberHandles_PublishedDataTrack" }
3255
+ );
3114
3256
  const TrickleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3115
3257
  "livekit.TrickleRequest",
3116
3258
  () => [
@@ -3309,6 +3451,33 @@ const UpdateSubscription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3309
3451
  { no: 3, name: "participant_tracks", kind: "message", T: ParticipantTracks, repeated: true }
3310
3452
  ]
3311
3453
  );
3454
+ const UpdateDataSubscription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3455
+ "livekit.UpdateDataSubscription",
3456
+ () => [
3457
+ { no: 1, name: "updates", kind: "message", T: UpdateDataSubscription_Update, repeated: true }
3458
+ ]
3459
+ );
3460
+ const UpdateDataSubscription_Update = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3461
+ "livekit.UpdateDataSubscription.Update",
3462
+ () => [
3463
+ {
3464
+ no: 1,
3465
+ name: "track_sid",
3466
+ kind: "scalar",
3467
+ T: 9
3468
+ /* ScalarType.STRING */
3469
+ },
3470
+ {
3471
+ no: 2,
3472
+ name: "subscribe",
3473
+ kind: "scalar",
3474
+ T: 8
3475
+ /* ScalarType.BOOL */
3476
+ },
3477
+ { no: 3, name: "options", kind: "message", T: DataTrackSubscriptionOptions }
3478
+ ],
3479
+ { localName: "UpdateDataSubscription_Update" }
3480
+ );
3312
3481
  const UpdateTrackSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3313
3482
  "livekit.UpdateTrackSettings",
3314
3483
  () => [
@@ -3684,7 +3853,8 @@ const SyncState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3684
3853
  { no: 4, name: "data_channels", kind: "message", T: DataChannelInfo, repeated: true },
3685
3854
  { no: 5, name: "offer", kind: "message", T: SessionDescription },
3686
3855
  { no: 6, name: "track_sids_disabled", kind: "scalar", T: 9, repeated: true },
3687
- { no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true }
3856
+ { no: 7, name: "datachannel_receive_states", kind: "message", T: DataChannelReceiveState, repeated: true },
3857
+ { no: 8, name: "publish_data_tracks", kind: "message", T: PublishDataTrackResponse, repeated: true }
3688
3858
  ]
3689
3859
  );
3690
3860
  const DataChannelReceiveState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3846,7 +4016,9 @@ const RequestResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3846
4016
  { no: 6, name: "mute", kind: "message", T: MuteTrackRequest, oneof: "request" },
3847
4017
  { no: 7, name: "update_metadata", kind: "message", T: UpdateParticipantMetadata, oneof: "request" },
3848
4018
  { no: 8, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "request" },
3849
- { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" }
4019
+ { no: 9, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "request" },
4020
+ { no: 10, name: "publish_data_track", kind: "message", T: PublishDataTrackRequest, oneof: "request" },
4021
+ { no: 11, name: "unpublish_data_track", kind: "message", T: UnpublishDataTrackRequest, oneof: "request" }
3850
4022
  ]
3851
4023
  );
3852
4024
  const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -3858,7 +4030,11 @@ const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
3858
4030
  { no: 3, name: "LIMIT_EXCEEDED" },
3859
4031
  { no: 4, name: "QUEUED" },
3860
4032
  { no: 5, name: "UNSUPPORTED_TYPE" },
3861
- { no: 6, name: "UNCLASSIFIED_ERROR" }
4033
+ { no: 6, name: "UNCLASSIFIED_ERROR" },
4034
+ { no: 7, name: "INVALID_HANDLE" },
4035
+ { no: 8, name: "INVALID_NAME" },
4036
+ { no: 9, name: "DUPLICATE_HANDLE" },
4037
+ { no: 10, name: "DUPLICATE_NAME" }
3862
4038
  ]
3863
4039
  );
3864
4040
  const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -7720,7 +7896,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7720
7896
  ]
7721
7897
  );
7722
7898
 
7723
- const version = "1.43.2";
7899
+ const version = "1.43.4";
7724
7900
 
7725
7901
  exports.protoInt64 = protobuf.protoInt64;
7726
7902
  exports.AcceptWhatsAppCallRequest = AcceptWhatsAppCallRequest;
@@ -7776,6 +7952,12 @@ exports.DataStream_Header = DataStream_Header;
7776
7952
  exports.DataStream_OperationType = DataStream_OperationType;
7777
7953
  exports.DataStream_TextHeader = DataStream_TextHeader;
7778
7954
  exports.DataStream_Trailer = DataStream_Trailer;
7955
+ exports.DataTrackExtensionID = DataTrackExtensionID;
7956
+ exports.DataTrackExtensionParticipantSid = DataTrackExtensionParticipantSid;
7957
+ exports.DataTrackInfo = DataTrackInfo;
7958
+ exports.DataTrackSubscriberHandles = DataTrackSubscriberHandles;
7959
+ exports.DataTrackSubscriberHandles_PublishedDataTrack = DataTrackSubscriberHandles_PublishedDataTrack;
7960
+ exports.DataTrackSubscriptionOptions = DataTrackSubscriptionOptions;
7779
7961
  exports.DeleteAgentDispatchRequest = DeleteAgentDispatchRequest;
7780
7962
  exports.DeleteIngressRequest = DeleteIngressRequest;
7781
7963
  exports.DeleteRoomRequest = DeleteRoomRequest;
@@ -7885,6 +8067,8 @@ exports.Pong = Pong;
7885
8067
  exports.ProviderInfo = ProviderInfo;
7886
8068
  exports.ProviderType = ProviderType;
7887
8069
  exports.ProxyConfig = ProxyConfig;
8070
+ exports.PublishDataTrackRequest = PublishDataTrackRequest;
8071
+ exports.PublishDataTrackResponse = PublishDataTrackResponse;
7888
8072
  exports.RTCPSenderReportState = RTCPSenderReportState;
7889
8073
  exports.RTPDrift = RTPDrift;
7890
8074
  exports.RTPForwarderState = RTPForwarderState;
@@ -7996,6 +8180,10 @@ exports.Transcription = Transcription;
7996
8180
  exports.TranscriptionSegment = TranscriptionSegment;
7997
8181
  exports.TransferSIPParticipantRequest = TransferSIPParticipantRequest;
7998
8182
  exports.TrickleRequest = TrickleRequest;
8183
+ exports.UnpublishDataTrackRequest = UnpublishDataTrackRequest;
8184
+ exports.UnpublishDataTrackResponse = UnpublishDataTrackResponse;
8185
+ exports.UpdateDataSubscription = UpdateDataSubscription;
8186
+ exports.UpdateDataSubscription_Update = UpdateDataSubscription_Update;
7999
8187
  exports.UpdateIngressRequest = UpdateIngressRequest;
8000
8188
  exports.UpdateJobStatus = UpdateJobStatus;
8001
8189
  exports.UpdateLayoutRequest = UpdateLayoutRequest;