@livekit/protocol 1.31.0 → 1.32.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 +42 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +78 -22
- package/dist/index.d.mts +78 -22
- package/dist/index.d.ts +78 -22
- package/dist/index.mjs +41 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_models_pb.d.ts +57 -21
- package/src/gen/livekit_models_pb.js +21 -9
- package/src/gen/livekit_sip_pb.d.ts +21 -1
- package/src/gen/livekit_sip_pb.js +7 -2
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -266,6 +266,25 @@ const AudioTrackFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
266
266
|
{ no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" }
|
|
267
267
|
]
|
|
268
268
|
);
|
|
269
|
+
const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
270
|
+
"livekit.Pagination",
|
|
271
|
+
() => [
|
|
272
|
+
{
|
|
273
|
+
no: 1,
|
|
274
|
+
name: "after_id",
|
|
275
|
+
kind: "scalar",
|
|
276
|
+
T: 9
|
|
277
|
+
/* ScalarType.STRING */
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
no: 2,
|
|
281
|
+
name: "limit",
|
|
282
|
+
kind: "scalar",
|
|
283
|
+
T: 5
|
|
284
|
+
/* ScalarType.INT32 */
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
);
|
|
269
288
|
const Room = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
270
289
|
"livekit.Room",
|
|
271
290
|
() => [
|
|
@@ -490,6 +509,13 @@ const ParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
490
509
|
T: 3
|
|
491
510
|
/* ScalarType.INT64 */
|
|
492
511
|
},
|
|
512
|
+
{
|
|
513
|
+
no: 17,
|
|
514
|
+
name: "joined_at_ms",
|
|
515
|
+
kind: "scalar",
|
|
516
|
+
T: 3
|
|
517
|
+
/* ScalarType.INT64 */
|
|
518
|
+
},
|
|
493
519
|
{
|
|
494
520
|
no: 9,
|
|
495
521
|
name: "name",
|
|
@@ -1790,18 +1816,18 @@ const DataStream_TextHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1790
1816
|
],
|
|
1791
1817
|
{ localName: "DataStream_TextHeader" }
|
|
1792
1818
|
);
|
|
1793
|
-
const
|
|
1794
|
-
"livekit.DataStream.
|
|
1819
|
+
const DataStream_ByteHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1820
|
+
"livekit.DataStream.ByteHeader",
|
|
1795
1821
|
() => [
|
|
1796
1822
|
{
|
|
1797
1823
|
no: 1,
|
|
1798
|
-
name: "
|
|
1824
|
+
name: "name",
|
|
1799
1825
|
kind: "scalar",
|
|
1800
1826
|
T: 9
|
|
1801
1827
|
/* ScalarType.STRING */
|
|
1802
1828
|
}
|
|
1803
1829
|
],
|
|
1804
|
-
{ localName: "
|
|
1830
|
+
{ localName: "DataStream_ByteHeader" }
|
|
1805
1831
|
);
|
|
1806
1832
|
const DataStream_Header = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1807
1833
|
"livekit.DataStream.Header",
|
|
@@ -1836,13 +1862,13 @@ const DataStream_Header = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1836
1862
|
},
|
|
1837
1863
|
{ no: 5, name: "total_length", kind: "scalar", T: 4, opt: true },
|
|
1838
1864
|
{ no: 7, name: "encryption_type", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) },
|
|
1839
|
-
{ no: 8, name: "
|
|
1865
|
+
{ no: 8, name: "attributes", kind: "map", K: 9, V: {
|
|
1840
1866
|
kind: "scalar",
|
|
1841
1867
|
T: 9
|
|
1842
1868
|
/* ScalarType.STRING */
|
|
1843
1869
|
} },
|
|
1844
1870
|
{ no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
|
|
1845
|
-
{ no: 10, name: "
|
|
1871
|
+
{ no: 10, name: "byte_header", kind: "message", T: DataStream_ByteHeader, oneof: "content_header" }
|
|
1846
1872
|
],
|
|
1847
1873
|
{ localName: "DataStream_Header" }
|
|
1848
1874
|
);
|
|
@@ -1898,7 +1924,7 @@ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1898
1924
|
T: 9
|
|
1899
1925
|
/* ScalarType.STRING */
|
|
1900
1926
|
},
|
|
1901
|
-
{ no: 3, name: "
|
|
1927
|
+
{ no: 3, name: "attributes", kind: "map", K: 9, V: {
|
|
1902
1928
|
kind: "scalar",
|
|
1903
1929
|
T: 9
|
|
1904
1930
|
/* ScalarType.STRING */
|
|
@@ -5547,7 +5573,9 @@ const GetSIPOutboundTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5547
5573
|
);
|
|
5548
5574
|
const ListSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5549
5575
|
"livekit.ListSIPTrunkRequest",
|
|
5550
|
-
[
|
|
5576
|
+
() => [
|
|
5577
|
+
{ no: 1, name: "page", kind: "message", T: Pagination }
|
|
5578
|
+
]
|
|
5551
5579
|
);
|
|
5552
5580
|
const ListSIPTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5553
5581
|
"livekit.ListSIPTrunkResponse",
|
|
@@ -5558,6 +5586,7 @@ const ListSIPTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5558
5586
|
const ListSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5559
5587
|
"livekit.ListSIPInboundTrunkRequest",
|
|
5560
5588
|
() => [
|
|
5589
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
5561
5590
|
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
|
|
5562
5591
|
{ no: 2, name: "numbers", kind: "scalar", T: 9, repeated: true }
|
|
5563
5592
|
]
|
|
@@ -5571,6 +5600,7 @@ const ListSIPInboundTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5571
5600
|
const ListSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5572
5601
|
"livekit.ListSIPOutboundTrunkRequest",
|
|
5573
5602
|
() => [
|
|
5603
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
5574
5604
|
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
|
|
5575
5605
|
{ no: 2, name: "numbers", kind: "scalar", T: 9, repeated: true }
|
|
5576
5606
|
]
|
|
@@ -5767,6 +5797,7 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5767
5797
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5768
5798
|
"livekit.ListSIPDispatchRuleRequest",
|
|
5769
5799
|
() => [
|
|
5800
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
5770
5801
|
{ no: 1, name: "dispatch_rule_ids", kind: "scalar", T: 9, repeated: true },
|
|
5771
5802
|
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }
|
|
5772
5803
|
]
|
|
@@ -6111,7 +6142,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6111
6142
|
]
|
|
6112
6143
|
);
|
|
6113
6144
|
|
|
6114
|
-
const version = "1.
|
|
6145
|
+
const version = "1.32.0";
|
|
6115
6146
|
|
|
6116
6147
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6117
6148
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6148,8 +6179,8 @@ exports.DataChannelInfo = DataChannelInfo;
|
|
|
6148
6179
|
exports.DataPacket = DataPacket;
|
|
6149
6180
|
exports.DataPacket_Kind = DataPacket_Kind;
|
|
6150
6181
|
exports.DataStream = DataStream;
|
|
6182
|
+
exports.DataStream_ByteHeader = DataStream_ByteHeader;
|
|
6151
6183
|
exports.DataStream_Chunk = DataStream_Chunk;
|
|
6152
|
-
exports.DataStream_FileHeader = DataStream_FileHeader;
|
|
6153
6184
|
exports.DataStream_Header = DataStream_Header;
|
|
6154
6185
|
exports.DataStream_OperationType = DataStream_OperationType;
|
|
6155
6186
|
exports.DataStream_TextHeader = DataStream_TextHeader;
|
|
@@ -6230,6 +6261,7 @@ exports.MigrateJobRequest = MigrateJobRequest;
|
|
|
6230
6261
|
exports.MuteRoomTrackRequest = MuteRoomTrackRequest;
|
|
6231
6262
|
exports.MuteRoomTrackResponse = MuteRoomTrackResponse;
|
|
6232
6263
|
exports.MuteTrackRequest = MuteTrackRequest;
|
|
6264
|
+
exports.Pagination = Pagination;
|
|
6233
6265
|
exports.ParticipantEgressRequest = ParticipantEgressRequest;
|
|
6234
6266
|
exports.ParticipantInfo = ParticipantInfo;
|
|
6235
6267
|
exports.ParticipantInfo_Kind = ParticipantInfo_Kind;
|