@livekit/protocol 1.48.0 → 1.48.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.
package/dist/index.cjs CHANGED
@@ -2649,7 +2649,62 @@ const DataTrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2649
2649
  T: 9
2650
2650
  /* ScalarType.STRING */
2651
2651
  },
2652
- { no: 4, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) }
2652
+ { no: 4, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) },
2653
+ { no: 5, name: "frame_encoding", kind: "message", T: DataTrackFrameEncoding, opt: true },
2654
+ { no: 6, name: "schema", kind: "message", T: DataTrackSchemaId, opt: true }
2655
+ ]
2656
+ );
2657
+ const DataTrackFrameEncoding = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2658
+ "livekit.DataTrackFrameEncoding",
2659
+ () => [
2660
+ { no: 1, name: "well_known", kind: "enum", T: protobuf.proto3.getEnumType(DataTrackFrameEncoding_WellKnownFrameEncoding), oneof: "value" },
2661
+ { no: 2, name: "custom", kind: "scalar", T: 9, oneof: "value" }
2662
+ ]
2663
+ );
2664
+ const DataTrackFrameEncoding_WellKnownFrameEncoding = /* @__PURE__ */ protobuf.proto3.makeEnum(
2665
+ "livekit.DataTrackFrameEncoding.WellKnownFrameEncoding",
2666
+ [
2667
+ { no: 0, name: "WELL_KNOWN_FRAME_ENCODING_UNSPECIFIED", localName: "UNSPECIFIED" },
2668
+ { no: 1, name: "WELL_KNOWN_FRAME_ENCODING_ROS1", localName: "ROS1" },
2669
+ { no: 2, name: "WELL_KNOWN_FRAME_ENCODING_CDR", localName: "CDR" },
2670
+ { no: 3, name: "WELL_KNOWN_FRAME_ENCODING_PROTOBUF", localName: "PROTOBUF" },
2671
+ { no: 4, name: "WELL_KNOWN_FRAME_ENCODING_FLATBUFFER", localName: "FLATBUFFER" },
2672
+ { no: 5, name: "WELL_KNOWN_FRAME_ENCODING_CBOR", localName: "CBOR" },
2673
+ { no: 6, name: "WELL_KNOWN_FRAME_ENCODING_MSGPACK", localName: "MSGPACK" },
2674
+ { no: 7, name: "WELL_KNOWN_FRAME_ENCODING_JSON", localName: "JSON" }
2675
+ ]
2676
+ );
2677
+ const DataTrackSchemaEncoding = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2678
+ "livekit.DataTrackSchemaEncoding",
2679
+ () => [
2680
+ { no: 1, name: "well_known", kind: "enum", T: protobuf.proto3.getEnumType(DataTrackSchemaEncoding_WellKnownSchemaEncoding), oneof: "value" },
2681
+ { no: 2, name: "custom", kind: "scalar", T: 9, oneof: "value" }
2682
+ ]
2683
+ );
2684
+ const DataTrackSchemaEncoding_WellKnownSchemaEncoding = /* @__PURE__ */ protobuf.proto3.makeEnum(
2685
+ "livekit.DataTrackSchemaEncoding.WellKnownSchemaEncoding",
2686
+ [
2687
+ { no: 0, name: "WELL_KNOWN_SCHEMA_ENCODING_UNSPECIFIED", localName: "UNSPECIFIED" },
2688
+ { no: 1, name: "WELL_KNOWN_SCHEMA_ENCODING_PROTOBUF", localName: "PROTOBUF" },
2689
+ { no: 2, name: "WELL_KNOWN_SCHEMA_ENCODING_FLATBUFFER", localName: "FLATBUFFER" },
2690
+ { no: 3, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS1_MSG", localName: "ROS1_MSG" },
2691
+ { no: 4, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS2_MSG", localName: "ROS2_MSG" },
2692
+ { no: 5, name: "WELL_KNOWN_SCHEMA_ENCODING_ROS2_IDL", localName: "ROS2_IDL" },
2693
+ { no: 6, name: "WELL_KNOWN_SCHEMA_ENCODING_OMG_IDL", localName: "OMG_IDL" },
2694
+ { no: 7, name: "WELL_KNOWN_SCHEMA_ENCODING_JSON_SCHEMA", localName: "JSON_SCHEMA" }
2695
+ ]
2696
+ );
2697
+ const DataTrackSchemaId = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2698
+ "livekit.DataTrackSchemaId",
2699
+ () => [
2700
+ {
2701
+ no: 1,
2702
+ name: "name",
2703
+ kind: "scalar",
2704
+ T: 9
2705
+ /* ScalarType.STRING */
2706
+ },
2707
+ { no: 2, name: "encoding", kind: "message", T: DataTrackSchemaEncoding }
2653
2708
  ]
2654
2709
  );
2655
2710
  const DataTrackExtensionParticipantSid = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -2671,6 +2726,26 @@ const DataTrackSubscriptionOptions = /* @__PURE__ */ protobuf.proto3.makeMessage
2671
2726
  { no: 1, name: "target_fps", kind: "scalar", T: 13, opt: true }
2672
2727
  ]
2673
2728
  );
2729
+ const DataBlobKey = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2730
+ "livekit.DataBlobKey",
2731
+ () => [
2732
+ { no: 1, name: "generic", kind: "scalar", T: 9, oneof: "key" },
2733
+ { no: 2, name: "schema_id", kind: "message", T: DataTrackSchemaId, oneof: "key" }
2734
+ ]
2735
+ );
2736
+ const DataBlob = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2737
+ "livekit.DataBlob",
2738
+ () => [
2739
+ { no: 1, name: "key", kind: "message", T: DataBlobKey },
2740
+ {
2741
+ no: 2,
2742
+ name: "contents",
2743
+ kind: "scalar",
2744
+ T: 12
2745
+ /* ScalarType.BYTES */
2746
+ }
2747
+ ]
2748
+ );
2674
2749
  const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2675
2750
  "livekit.VideoLayer",
2676
2751
  () => [
@@ -9469,7 +9544,9 @@ const SignalRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9469
9544
  { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
9470
9545
  { no: 19, name: "publish_data_track_request", kind: "message", T: PublishDataTrackRequest, oneof: "message" },
9471
9546
  { no: 20, name: "unpublish_data_track_request", kind: "message", T: UnpublishDataTrackRequest, oneof: "message" },
9472
- { no: 21, name: "update_data_subscription", kind: "message", T: UpdateDataSubscription, oneof: "message" }
9547
+ { no: 21, name: "update_data_subscription", kind: "message", T: UpdateDataSubscription, oneof: "message" },
9548
+ { no: 22, name: "store_data_blob_request", kind: "message", T: StoreDataBlobRequest, oneof: "message" },
9549
+ { no: 23, name: "get_data_blob_request", kind: "message", T: GetDataBlobRequest, oneof: "message" }
9473
9550
  ]
9474
9551
  );
9475
9552
  const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -9502,7 +9579,9 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9502
9579
  { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
9503
9580
  { no: 27, name: "publish_data_track_response", kind: "message", T: PublishDataTrackResponse, oneof: "message" },
9504
9581
  { no: 28, name: "unpublish_data_track_response", kind: "message", T: UnpublishDataTrackResponse, oneof: "message" },
9505
- { no: 29, name: "data_track_subscriber_handles", kind: "message", T: DataTrackSubscriberHandles, oneof: "message" }
9582
+ { no: 29, name: "data_track_subscriber_handles", kind: "message", T: DataTrackSubscriberHandles, oneof: "message" },
9583
+ { no: 30, name: "store_data_blob_response", kind: "message", T: StoreDataBlobResponse, oneof: "message" },
9584
+ { no: 31, name: "get_data_blob_response", kind: "message", T: GetDataBlobResponse, oneof: "message" }
9506
9585
  ]
9507
9586
  );
9508
9587
  const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -9626,7 +9705,9 @@ const PublishDataTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9626
9705
  T: 9
9627
9706
  /* ScalarType.STRING */
9628
9707
  },
9629
- { no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) }
9708
+ { no: 3, name: "encryption", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) },
9709
+ { no: 4, name: "frame_encoding", kind: "message", T: DataTrackFrameEncoding, opt: true },
9710
+ { no: 5, name: "schema", kind: "message", T: DataTrackSchemaId, opt: true }
9630
9711
  ]
9631
9712
  );
9632
9713
  const PublishDataTrackResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -9911,6 +9992,65 @@ const UpdateDataSubscription_Update = /* @__PURE__ */ protobuf.proto3.makeMessag
9911
9992
  ],
9912
9993
  { localName: "UpdateDataSubscription_Update" }
9913
9994
  );
9995
+ const StoreDataBlobRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9996
+ "livekit.StoreDataBlobRequest",
9997
+ () => [
9998
+ {
9999
+ no: 1,
10000
+ name: "request_id",
10001
+ kind: "scalar",
10002
+ T: 13
10003
+ /* ScalarType.UINT32 */
10004
+ },
10005
+ { no: 2, name: "blob", kind: "message", T: DataBlob }
10006
+ ]
10007
+ );
10008
+ const StoreDataBlobResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
10009
+ "livekit.StoreDataBlobResponse",
10010
+ () => [
10011
+ {
10012
+ no: 1,
10013
+ name: "request_id",
10014
+ kind: "scalar",
10015
+ T: 13
10016
+ /* ScalarType.UINT32 */
10017
+ },
10018
+ { no: 2, name: "key", kind: "message", T: DataBlobKey }
10019
+ ]
10020
+ );
10021
+ const GetDataBlobRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
10022
+ "livekit.GetDataBlobRequest",
10023
+ () => [
10024
+ {
10025
+ no: 1,
10026
+ name: "request_id",
10027
+ kind: "scalar",
10028
+ T: 13
10029
+ /* ScalarType.UINT32 */
10030
+ },
10031
+ {
10032
+ no: 2,
10033
+ name: "participant_identity",
10034
+ kind: "scalar",
10035
+ T: 9
10036
+ /* ScalarType.STRING */
10037
+ },
10038
+ { no: 3, name: "key", kind: "message", T: DataBlobKey }
10039
+ ]
10040
+ );
10041
+ const GetDataBlobResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
10042
+ "livekit.GetDataBlobResponse",
10043
+ () => [
10044
+ {
10045
+ no: 1,
10046
+ name: "request_id",
10047
+ kind: "scalar",
10048
+ T: 13
10049
+ /* ScalarType.UINT32 */
10050
+ },
10051
+ { no: 2, name: "blob", kind: "message", T: DataBlob }
10052
+ ]
10053
+ );
9914
10054
  const UpdateTrackSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9915
10055
  "livekit.UpdateTrackSettings",
9916
10056
  () => [
@@ -10467,7 +10607,8 @@ const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
10467
10607
  { no: 7, name: "INVALID_HANDLE" },
10468
10608
  { no: 8, name: "INVALID_NAME" },
10469
10609
  { no: 9, name: "DUPLICATE_HANDLE" },
10470
- { no: 10, name: "DUPLICATE_NAME" }
10610
+ { no: 10, name: "DUPLICATE_NAME" },
10611
+ { no: 11, name: "INVALID_REQUEST" }
10471
10612
  ]
10472
10613
  );
10473
10614
  const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -10933,7 +11074,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
10933
11074
  ]
10934
11075
  );
10935
11076
 
10936
- const version = "1.48.0";
11077
+ const version = "1.48.2";
10937
11078
 
10938
11079
  exports.Timestamp = protobuf.Timestamp;
10939
11080
  exports.protoInt64 = protobuf.protoInt64;
@@ -10999,6 +11140,8 @@ exports.CreateSIPInboundTrunkRequest = CreateSIPInboundTrunkRequest;
10999
11140
  exports.CreateSIPOutboundTrunkRequest = CreateSIPOutboundTrunkRequest;
11000
11141
  exports.CreateSIPParticipantRequest = CreateSIPParticipantRequest;
11001
11142
  exports.CreateSIPTrunkRequest = CreateSIPTrunkRequest;
11143
+ exports.DataBlob = DataBlob;
11144
+ exports.DataBlobKey = DataBlobKey;
11002
11145
  exports.DataChannelInfo = DataChannelInfo;
11003
11146
  exports.DataChannelReceiveState = DataChannelReceiveState;
11004
11147
  exports.DataConfig = DataConfig;
@@ -11015,7 +11158,12 @@ exports.DataStream_TextHeader = DataStream_TextHeader;
11015
11158
  exports.DataStream_Trailer = DataStream_Trailer;
11016
11159
  exports.DataTrackExtensionID = DataTrackExtensionID;
11017
11160
  exports.DataTrackExtensionParticipantSid = DataTrackExtensionParticipantSid;
11161
+ exports.DataTrackFrameEncoding = DataTrackFrameEncoding;
11162
+ exports.DataTrackFrameEncoding_WellKnownFrameEncoding = DataTrackFrameEncoding_WellKnownFrameEncoding;
11018
11163
  exports.DataTrackInfo = DataTrackInfo;
11164
+ exports.DataTrackSchemaEncoding = DataTrackSchemaEncoding;
11165
+ exports.DataTrackSchemaEncoding_WellKnownSchemaEncoding = DataTrackSchemaEncoding_WellKnownSchemaEncoding;
11166
+ exports.DataTrackSchemaId = DataTrackSchemaId;
11019
11167
  exports.DataTrackSubscriberHandles = DataTrackSubscriberHandles;
11020
11168
  exports.DataTrackSubscriberHandles_PublishedDataTrack = DataTrackSubscriberHandles_PublishedDataTrack;
11021
11169
  exports.DataTrackSubscriptionOptions = DataTrackSubscriptionOptions;
@@ -11055,6 +11203,8 @@ exports.FilterParams = FilterParams;
11055
11203
  exports.ForwardParticipantRequest = ForwardParticipantRequest;
11056
11204
  exports.ForwardParticipantResponse = ForwardParticipantResponse;
11057
11205
  exports.GCPUpload = GCPUpload;
11206
+ exports.GetDataBlobRequest = GetDataBlobRequest;
11207
+ exports.GetDataBlobResponse = GetDataBlobResponse;
11058
11208
  exports.GetSIPInboundTrunkRequest = GetSIPInboundTrunkRequest;
11059
11209
  exports.GetSIPInboundTrunkResponse = GetSIPInboundTrunkResponse;
11060
11210
  exports.GetSIPOutboundTrunkRequest = GetSIPOutboundTrunkRequest;
@@ -11222,6 +11372,8 @@ exports.SpeakersChanged = SpeakersChanged;
11222
11372
  exports.StartEgressRequest = StartEgressRequest;
11223
11373
  exports.StopEgressRequest = StopEgressRequest;
11224
11374
  exports.StorageConfig = StorageConfig;
11375
+ exports.StoreDataBlobRequest = StoreDataBlobRequest;
11376
+ exports.StoreDataBlobResponse = StoreDataBlobResponse;
11225
11377
  exports.StreamInfo = StreamInfo;
11226
11378
  exports.StreamInfoList = StreamInfoList;
11227
11379
  exports.StreamInfo_Status = StreamInfo_Status;