@livekit/protocol 1.47.0 → 1.48.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.
package/dist/index.cjs CHANGED
@@ -1681,7 +1681,27 @@ const AgentDevMessage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1681
1681
  "livekit.agent.AgentDevMessage",
1682
1682
  () => [
1683
1683
  { no: 1, name: "get_running_jobs_request", kind: "message", T: GetRunningAgentJobsRequest, oneof: "message" },
1684
- { no: 2, name: "get_running_jobs_response", kind: "message", T: GetRunningAgentJobsResponse, oneof: "message" }
1684
+ { no: 2, name: "get_running_jobs_response", kind: "message", T: GetRunningAgentJobsResponse, oneof: "message" },
1685
+ { no: 3, name: "server_info", kind: "message", T: ServerInfo$1, oneof: "message" }
1686
+ ]
1687
+ );
1688
+ const ServerInfo$1 = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1689
+ "livekit.agent.ServerInfo",
1690
+ () => [
1691
+ {
1692
+ no: 1,
1693
+ name: "agent_name",
1694
+ kind: "scalar",
1695
+ T: 9
1696
+ /* ScalarType.STRING */
1697
+ },
1698
+ {
1699
+ no: 2,
1700
+ name: "url",
1701
+ kind: "scalar",
1702
+ T: 9
1703
+ /* ScalarType.STRING */
1704
+ }
1685
1705
  ]
1686
1706
  );
1687
1707
  const GetRunningAgentJobsRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -1761,7 +1781,8 @@ const livekit_agent_dev_pb = {
1761
1781
  AgentDevMessage: AgentDevMessage,
1762
1782
  GetRunningAgentJobsRequest: GetRunningAgentJobsRequest,
1763
1783
  GetRunningAgentJobsResponse: GetRunningAgentJobsResponse,
1764
- RunningAgentJobInfo: RunningAgentJobInfo
1784
+ RunningAgentJobInfo: RunningAgentJobInfo,
1785
+ ServerInfo: ServerInfo$1
1765
1786
  };
1766
1787
 
1767
1788
  const MetricLabel = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -2085,7 +2106,8 @@ const PacketTrailerFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
2085
2106
  "livekit.PacketTrailerFeature",
2086
2107
  [
2087
2108
  { no: 0, name: "PTF_USER_TIMESTAMP" },
2088
- { no: 1, name: "PTF_FRAME_ID" }
2109
+ { no: 1, name: "PTF_FRAME_ID" },
2110
+ { no: 2, name: "PTF_USER_DATA" }
2089
2111
  ]
2090
2112
  );
2091
2113
  const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -2423,7 +2445,8 @@ const ParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2423
2445
  kind: "scalar",
2424
2446
  T: 5
2425
2447
  /* ScalarType.INT32 */
2426
- }
2448
+ },
2449
+ { no: 21, name: "capabilities", kind: "enum", T: protobuf.proto3.getEnumType(ClientInfo_Capability), repeated: true }
2427
2450
  ]
2428
2451
  );
2429
2452
  const ParticipantInfo_State = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -2626,7 +2649,62 @@ const DataTrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2626
2649
  T: 9
2627
2650
  /* ScalarType.STRING */
2628
2651
  },
2629
- { 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 }
2630
2708
  ]
2631
2709
  );
2632
2710
  const DataTrackExtensionParticipantSid = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -2648,6 +2726,26 @@ const DataTrackSubscriptionOptions = /* @__PURE__ */ protobuf.proto3.makeMessage
2648
2726
  { no: 1, name: "target_fps", kind: "scalar", T: 13, opt: true }
2649
2727
  ]
2650
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
+ );
2651
2749
  const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
2652
2750
  "livekit.VideoLayer",
2653
2751
  () => [
@@ -7469,6 +7567,7 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7469
7567
  /* ScalarType.BOOL */
7470
7568
  },
7471
7569
  { no: 16, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
7570
+ { no: 20, name: "media", kind: "message", T: SIPMediaConfig },
7472
7571
  { no: 17, name: "created_at", kind: "message", T: protobuf.Timestamp },
7473
7572
  { no: 18, name: "updated_at", kind: "message", T: protobuf.Timestamp }
7474
7573
  ]
@@ -7484,7 +7583,8 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7484
7583
  { no: 9, name: "auth_realm", kind: "scalar", T: 9, opt: true },
7485
7584
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
7486
7585
  { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
7487
- { no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
7586
+ { no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
7587
+ { no: 10, name: "media", kind: "message", T: SIPMediaConfig }
7488
7588
  ]
7489
7589
  );
7490
7590
  const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -7578,6 +7678,7 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7578
7678
  } },
7579
7679
  { no: 12, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) },
7580
7680
  { no: 13, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
7681
+ { no: 18, name: "media", kind: "message", T: SIPMediaConfig },
7581
7682
  {
7582
7683
  no: 15,
7583
7684
  name: "from_host",
@@ -7601,6 +7702,7 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
7601
7702
  { no: 6, name: "name", kind: "scalar", T: 9, opt: true },
7602
7703
  { no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
7603
7704
  { no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true },
7705
+ { no: 11, name: "media", kind: "message", T: SIPMediaConfig },
7604
7706
  { no: 10, name: "from_host", kind: "scalar", T: 9, opt: true }
7605
7707
  ]
7606
7708
  );
@@ -9442,7 +9544,9 @@ const SignalRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9442
9544
  { no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" },
9443
9545
  { no: 19, name: "publish_data_track_request", kind: "message", T: PublishDataTrackRequest, oneof: "message" },
9444
9546
  { no: 20, name: "unpublish_data_track_request", kind: "message", T: UnpublishDataTrackRequest, oneof: "message" },
9445
- { 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" }
9446
9550
  ]
9447
9551
  );
9448
9552
  const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -9475,7 +9579,9 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9475
9579
  { no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
9476
9580
  { no: 27, name: "publish_data_track_response", kind: "message", T: PublishDataTrackResponse, oneof: "message" },
9477
9581
  { no: 28, name: "unpublish_data_track_response", kind: "message", T: UnpublishDataTrackResponse, oneof: "message" },
9478
- { 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" }
9479
9585
  ]
9480
9586
  );
9481
9587
  const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -9599,7 +9705,9 @@ const PublishDataTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9599
9705
  T: 9
9600
9706
  /* ScalarType.STRING */
9601
9707
  },
9602
- { 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 }
9603
9711
  ]
9604
9712
  );
9605
9713
  const PublishDataTrackResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -9884,6 +9992,65 @@ const UpdateDataSubscription_Update = /* @__PURE__ */ protobuf.proto3.makeMessag
9884
9992
  ],
9885
9993
  { localName: "UpdateDataSubscription_Update" }
9886
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
+ );
9887
10054
  const UpdateTrackSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
9888
10055
  "livekit.UpdateTrackSettings",
9889
10056
  () => [
@@ -10440,7 +10607,8 @@ const RequestResponse_Reason = /* @__PURE__ */ protobuf.proto3.makeEnum(
10440
10607
  { no: 7, name: "INVALID_HANDLE" },
10441
10608
  { no: 8, name: "INVALID_NAME" },
10442
10609
  { no: 9, name: "DUPLICATE_HANDLE" },
10443
- { no: 10, name: "DUPLICATE_NAME" }
10610
+ { no: 10, name: "DUPLICATE_NAME" },
10611
+ { no: 11, name: "INVALID_REQUEST" }
10444
10612
  ]
10445
10613
  );
10446
10614
  const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -10906,7 +11074,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
10906
11074
  ]
10907
11075
  );
10908
11076
 
10909
- const version = "1.47.0";
11077
+ const version = "1.48.1";
10910
11078
 
10911
11079
  exports.Timestamp = protobuf.Timestamp;
10912
11080
  exports.protoInt64 = protobuf.protoInt64;
@@ -10972,6 +11140,8 @@ exports.CreateSIPInboundTrunkRequest = CreateSIPInboundTrunkRequest;
10972
11140
  exports.CreateSIPOutboundTrunkRequest = CreateSIPOutboundTrunkRequest;
10973
11141
  exports.CreateSIPParticipantRequest = CreateSIPParticipantRequest;
10974
11142
  exports.CreateSIPTrunkRequest = CreateSIPTrunkRequest;
11143
+ exports.DataBlob = DataBlob;
11144
+ exports.DataBlobKey = DataBlobKey;
10975
11145
  exports.DataChannelInfo = DataChannelInfo;
10976
11146
  exports.DataChannelReceiveState = DataChannelReceiveState;
10977
11147
  exports.DataConfig = DataConfig;
@@ -10988,7 +11158,12 @@ exports.DataStream_TextHeader = DataStream_TextHeader;
10988
11158
  exports.DataStream_Trailer = DataStream_Trailer;
10989
11159
  exports.DataTrackExtensionID = DataTrackExtensionID;
10990
11160
  exports.DataTrackExtensionParticipantSid = DataTrackExtensionParticipantSid;
11161
+ exports.DataTrackFrameEncoding = DataTrackFrameEncoding;
11162
+ exports.DataTrackFrameEncoding_WellKnownFrameEncoding = DataTrackFrameEncoding_WellKnownFrameEncoding;
10991
11163
  exports.DataTrackInfo = DataTrackInfo;
11164
+ exports.DataTrackSchemaEncoding = DataTrackSchemaEncoding;
11165
+ exports.DataTrackSchemaEncoding_WellKnownSchemaEncoding = DataTrackSchemaEncoding_WellKnownSchemaEncoding;
11166
+ exports.DataTrackSchemaId = DataTrackSchemaId;
10992
11167
  exports.DataTrackSubscriberHandles = DataTrackSubscriberHandles;
10993
11168
  exports.DataTrackSubscriberHandles_PublishedDataTrack = DataTrackSubscriberHandles_PublishedDataTrack;
10994
11169
  exports.DataTrackSubscriptionOptions = DataTrackSubscriptionOptions;
@@ -11028,6 +11203,8 @@ exports.FilterParams = FilterParams;
11028
11203
  exports.ForwardParticipantRequest = ForwardParticipantRequest;
11029
11204
  exports.ForwardParticipantResponse = ForwardParticipantResponse;
11030
11205
  exports.GCPUpload = GCPUpload;
11206
+ exports.GetDataBlobRequest = GetDataBlobRequest;
11207
+ exports.GetDataBlobResponse = GetDataBlobResponse;
11031
11208
  exports.GetSIPInboundTrunkRequest = GetSIPInboundTrunkRequest;
11032
11209
  exports.GetSIPInboundTrunkResponse = GetSIPInboundTrunkResponse;
11033
11210
  exports.GetSIPOutboundTrunkRequest = GetSIPOutboundTrunkRequest;
@@ -11195,6 +11372,8 @@ exports.SpeakersChanged = SpeakersChanged;
11195
11372
  exports.StartEgressRequest = StartEgressRequest;
11196
11373
  exports.StopEgressRequest = StopEgressRequest;
11197
11374
  exports.StorageConfig = StorageConfig;
11375
+ exports.StoreDataBlobRequest = StoreDataBlobRequest;
11376
+ exports.StoreDataBlobResponse = StoreDataBlobResponse;
11198
11377
  exports.StreamInfo = StreamInfo;
11199
11378
  exports.StreamInfoList = StreamInfoList;
11200
11379
  exports.StreamInfo_Status = StreamInfo_Status;