@livekit/protocol 1.30.0 → 1.31.0

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
@@ -738,7 +738,8 @@ const DataPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
738
738
  { no: 11, name: "rpc_ack", kind: "message", T: RpcAck, oneof: "value" },
739
739
  { no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
740
740
  { no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
741
- { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" }
741
+ { no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
742
+ { no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" }
742
743
  ]
743
744
  );
744
745
  const DataPacket_Kind = /* @__PURE__ */ protobuf.proto3.makeEnum(
@@ -1871,22 +1872,40 @@ const DataStream_Chunk = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1871
1872
  },
1872
1873
  {
1873
1874
  no: 4,
1874
- name: "complete",
1875
- kind: "scalar",
1876
- T: 8
1877
- /* ScalarType.BOOL */
1878
- },
1879
- {
1880
- no: 5,
1881
1875
  name: "version",
1882
1876
  kind: "scalar",
1883
1877
  T: 5
1884
1878
  /* ScalarType.INT32 */
1885
1879
  },
1886
- { no: 6, name: "iv", kind: "scalar", T: 12, opt: true }
1880
+ { no: 5, name: "iv", kind: "scalar", T: 12, opt: true }
1887
1881
  ],
1888
1882
  { localName: "DataStream_Chunk" }
1889
1883
  );
1884
+ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
1885
+ "livekit.DataStream.Trailer",
1886
+ () => [
1887
+ {
1888
+ no: 1,
1889
+ name: "stream_id",
1890
+ kind: "scalar",
1891
+ T: 9
1892
+ /* ScalarType.STRING */
1893
+ },
1894
+ {
1895
+ no: 2,
1896
+ name: "reason",
1897
+ kind: "scalar",
1898
+ T: 9
1899
+ /* ScalarType.STRING */
1900
+ },
1901
+ { no: 3, name: "extensions", kind: "map", K: 9, V: {
1902
+ kind: "scalar",
1903
+ T: 9
1904
+ /* ScalarType.STRING */
1905
+ } }
1906
+ ],
1907
+ { localName: "DataStream_Trailer" }
1908
+ );
1890
1909
 
1891
1910
  const JobType = /* @__PURE__ */ protobuf.proto3.makeEnum(
1892
1911
  "livekit.JobType",
@@ -3532,7 +3551,8 @@ const CreateIngressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3532
3551
  },
3533
3552
  { no: 11, name: "enable_transcoding", kind: "scalar", T: 8, opt: true },
3534
3553
  { no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
3535
- { no: 7, name: "video", kind: "message", T: IngressVideoOptions }
3554
+ { no: 7, name: "video", kind: "message", T: IngressVideoOptions },
3555
+ { no: 12, name: "enabled", kind: "scalar", T: 8, opt: true }
3536
3556
  ]
3537
3557
  );
3538
3558
  const IngressAudioOptions = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3683,7 +3703,8 @@ const IngressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3683
3703
  T: 8
3684
3704
  /* ScalarType.BOOL */
3685
3705
  },
3686
- { no: 12, name: "state", kind: "message", T: IngressState }
3706
+ { no: 12, name: "state", kind: "message", T: IngressState },
3707
+ { no: 16, name: "enabled", kind: "scalar", T: 8, opt: true }
3687
3708
  ]
3688
3709
  );
3689
3710
  const IngressState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -3868,7 +3889,8 @@ const UpdateIngressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
3868
3889
  { no: 8, name: "bypass_transcoding", kind: "scalar", T: 8, opt: true },
3869
3890
  { no: 10, name: "enable_transcoding", kind: "scalar", T: 8, opt: true },
3870
3891
  { no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
3871
- { no: 7, name: "video", kind: "message", T: IngressVideoOptions }
3892
+ { no: 7, name: "video", kind: "message", T: IngressVideoOptions },
3893
+ { no: 11, name: "enabled", kind: "scalar", T: 8, opt: true }
3872
3894
  ]
3873
3895
  );
3874
3896
  const ListIngressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5162,6 +5184,14 @@ const SIPHeaderOptions = /* @__PURE__ */ protobuf.proto3.makeEnum(
5162
5184
  { no: 2, name: "SIP_ALL_HEADERS" }
5163
5185
  ]
5164
5186
  );
5187
+ const SIPMediaEncryption = /* @__PURE__ */ protobuf.proto3.makeEnum(
5188
+ "livekit.SIPMediaEncryption",
5189
+ [
5190
+ { no: 0, name: "SIP_MEDIA_ENCRYPT_DISABLE" },
5191
+ { no: 1, name: "SIP_MEDIA_ENCRYPT_ALLOW" },
5192
+ { no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
5193
+ ]
5194
+ );
5165
5195
  const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
5166
5196
  "livekit.SIPCallStatus",
5167
5197
  [
@@ -5179,6 +5209,14 @@ const SIPFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
5179
5209
  { no: 1, name: "KRISP_ENABLED" }
5180
5210
  ]
5181
5211
  );
5212
+ const SIPCallDirection = /* @__PURE__ */ protobuf.proto3.makeEnum(
5213
+ "livekit.SIPCallDirection",
5214
+ [
5215
+ { no: 0, name: "SCD_UNKNOWN" },
5216
+ { no: 1, name: "SCD_INBOUND" },
5217
+ { no: 2, name: "SCD_OUTBOUND" }
5218
+ ]
5219
+ );
5182
5220
  const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5183
5221
  "livekit.CreateSIPTrunkRequest",
5184
5222
  () => [
@@ -5395,7 +5433,8 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5395
5433
  kind: "scalar",
5396
5434
  T: 8
5397
5435
  /* ScalarType.BOOL */
5398
- }
5436
+ },
5437
+ { no: 16, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
5399
5438
  ]
5400
5439
  );
5401
5440
  const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5466,7 +5505,8 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5466
5505
  T: 9
5467
5506
  /* ScalarType.STRING */
5468
5507
  } },
5469
- { no: 12, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) }
5508
+ { no: 12, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) },
5509
+ { no: 13, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
5470
5510
  ]
5471
5511
  );
5472
5512
  const GetSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5713,7 +5753,15 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5713
5753
  T: 9
5714
5754
  /* ScalarType.STRING */
5715
5755
  },
5716
- { no: 10, name: "room_config", kind: "message", T: RoomConfiguration }
5756
+ { no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
5757
+ {
5758
+ no: 11,
5759
+ name: "krisp_enabled",
5760
+ kind: "scalar",
5761
+ T: 8
5762
+ /* ScalarType.BOOL */
5763
+ },
5764
+ { no: 12, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
5717
5765
  ]
5718
5766
  );
5719
5767
  const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5836,11 +5884,12 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
5836
5884
  { no: 12, name: "max_call_duration", kind: "message", T: protobuf.Duration },
5837
5885
  {
5838
5886
  no: 14,
5839
- name: "enable_krisp",
5887
+ name: "krisp_enabled",
5840
5888
  kind: "scalar",
5841
5889
  T: 8
5842
5890
  /* ScalarType.BOOL */
5843
- }
5891
+ },
5892
+ { no: 18, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
5844
5893
  ]
5845
5894
  );
5846
5895
  const SIPParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
@@ -5955,6 +6004,7 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
5955
6004
  { no: 6, name: "from_uri", kind: "message", T: SIPUri },
5956
6005
  { no: 7, name: "to_uri", kind: "message", T: SIPUri },
5957
6006
  { no: 14, name: "enabled_features", kind: "enum", T: protobuf.proto3.getEnumType(SIPFeature), repeated: true },
6007
+ { no: 15, name: "call_direction", kind: "enum", T: protobuf.proto3.getEnumType(SIPCallDirection) },
5958
6008
  { no: 8, name: "call_status", kind: "enum", T: protobuf.proto3.getEnumType(SIPCallStatus) },
5959
6009
  {
5960
6010
  no: 9,
@@ -6061,7 +6111,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
6061
6111
  ]
6062
6112
  );
6063
6113
 
6064
- const version = "1.30.0";
6114
+ const version = "1.31.0";
6065
6115
 
6066
6116
  exports.protoInt64 = protobuf.protoInt64;
6067
6117
  exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
@@ -6103,6 +6153,7 @@ exports.DataStream_FileHeader = DataStream_FileHeader;
6103
6153
  exports.DataStream_Header = DataStream_Header;
6104
6154
  exports.DataStream_OperationType = DataStream_OperationType;
6105
6155
  exports.DataStream_TextHeader = DataStream_TextHeader;
6156
+ exports.DataStream_Trailer = DataStream_Trailer;
6106
6157
  exports.DeleteAgentDispatchRequest = DeleteAgentDispatchRequest;
6107
6158
  exports.DeleteIngressRequest = DeleteIngressRequest;
6108
6159
  exports.DeleteRoomRequest = DeleteRoomRequest;
@@ -6217,6 +6268,7 @@ exports.RpcError = RpcError;
6217
6268
  exports.RpcRequest = RpcRequest;
6218
6269
  exports.RpcResponse = RpcResponse;
6219
6270
  exports.S3Upload = S3Upload;
6271
+ exports.SIPCallDirection = SIPCallDirection;
6220
6272
  exports.SIPCallInfo = SIPCallInfo;
6221
6273
  exports.SIPCallStatus = SIPCallStatus;
6222
6274
  exports.SIPDispatchRule = SIPDispatchRule;
@@ -6227,6 +6279,7 @@ exports.SIPDispatchRuleInfo = SIPDispatchRuleInfo;
6227
6279
  exports.SIPFeature = SIPFeature;
6228
6280
  exports.SIPHeaderOptions = SIPHeaderOptions;
6229
6281
  exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
6282
+ exports.SIPMediaEncryption = SIPMediaEncryption;
6230
6283
  exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
6231
6284
  exports.SIPParticipantInfo = SIPParticipantInfo;
6232
6285
  exports.SIPTransport = SIPTransport;