@livekit/protocol 1.31.0 → 1.32.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 +65 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +97 -22
- package/dist/index.d.mts +97 -22
- package/dist/index.d.ts +97 -22
- package/dist/index.mjs +64 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_models_pb.d.ts +69 -21
- package/src/gen/livekit_models_pb.js +23 -9
- package/src/gen/livekit_room_pb.d.ts +7 -0
- package/src/gen/livekit_room_pb.js +1 -0
- 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
|
() => [
|
|
@@ -311,6 +330,13 @@ const Room = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
311
330
|
T: 3
|
|
312
331
|
/* ScalarType.INT64 */
|
|
313
332
|
},
|
|
333
|
+
{
|
|
334
|
+
no: 15,
|
|
335
|
+
name: "creation_time_ms",
|
|
336
|
+
kind: "scalar",
|
|
337
|
+
T: 3
|
|
338
|
+
/* ScalarType.INT64 */
|
|
339
|
+
},
|
|
314
340
|
{
|
|
315
341
|
no: 6,
|
|
316
342
|
name: "turn_password",
|
|
@@ -490,6 +516,13 @@ const ParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
490
516
|
T: 3
|
|
491
517
|
/* ScalarType.INT64 */
|
|
492
518
|
},
|
|
519
|
+
{
|
|
520
|
+
no: 17,
|
|
521
|
+
name: "joined_at_ms",
|
|
522
|
+
kind: "scalar",
|
|
523
|
+
T: 3
|
|
524
|
+
/* ScalarType.INT64 */
|
|
525
|
+
},
|
|
493
526
|
{
|
|
494
527
|
no: 9,
|
|
495
528
|
name: "name",
|
|
@@ -810,7 +843,14 @@ const UserPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
810
843
|
{ no: 4, name: "topic", kind: "scalar", T: 9, opt: true },
|
|
811
844
|
{ no: 8, name: "id", kind: "scalar", T: 9, opt: true },
|
|
812
845
|
{ no: 9, name: "start_time", kind: "scalar", T: 4, opt: true },
|
|
813
|
-
{ no: 10, name: "end_time", kind: "scalar", T: 4, opt: true }
|
|
846
|
+
{ no: 10, name: "end_time", kind: "scalar", T: 4, opt: true },
|
|
847
|
+
{
|
|
848
|
+
no: 11,
|
|
849
|
+
name: "nonce",
|
|
850
|
+
kind: "scalar",
|
|
851
|
+
T: 12
|
|
852
|
+
/* ScalarType.BYTES */
|
|
853
|
+
}
|
|
814
854
|
]
|
|
815
855
|
);
|
|
816
856
|
const SipDTMF = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1790,18 +1830,18 @@ const DataStream_TextHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1790
1830
|
],
|
|
1791
1831
|
{ localName: "DataStream_TextHeader" }
|
|
1792
1832
|
);
|
|
1793
|
-
const
|
|
1794
|
-
"livekit.DataStream.
|
|
1833
|
+
const DataStream_ByteHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1834
|
+
"livekit.DataStream.ByteHeader",
|
|
1795
1835
|
() => [
|
|
1796
1836
|
{
|
|
1797
1837
|
no: 1,
|
|
1798
|
-
name: "
|
|
1838
|
+
name: "name",
|
|
1799
1839
|
kind: "scalar",
|
|
1800
1840
|
T: 9
|
|
1801
1841
|
/* ScalarType.STRING */
|
|
1802
1842
|
}
|
|
1803
1843
|
],
|
|
1804
|
-
{ localName: "
|
|
1844
|
+
{ localName: "DataStream_ByteHeader" }
|
|
1805
1845
|
);
|
|
1806
1846
|
const DataStream_Header = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1807
1847
|
"livekit.DataStream.Header",
|
|
@@ -1836,13 +1876,13 @@ const DataStream_Header = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1836
1876
|
},
|
|
1837
1877
|
{ no: 5, name: "total_length", kind: "scalar", T: 4, opt: true },
|
|
1838
1878
|
{ no: 7, name: "encryption_type", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) },
|
|
1839
|
-
{ no: 8, name: "
|
|
1879
|
+
{ no: 8, name: "attributes", kind: "map", K: 9, V: {
|
|
1840
1880
|
kind: "scalar",
|
|
1841
1881
|
T: 9
|
|
1842
1882
|
/* ScalarType.STRING */
|
|
1843
1883
|
} },
|
|
1844
1884
|
{ no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
|
|
1845
|
-
{ no: 10, name: "
|
|
1885
|
+
{ no: 10, name: "byte_header", kind: "message", T: DataStream_ByteHeader, oneof: "content_header" }
|
|
1846
1886
|
],
|
|
1847
1887
|
{ localName: "DataStream_Header" }
|
|
1848
1888
|
);
|
|
@@ -1898,7 +1938,7 @@ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1898
1938
|
T: 9
|
|
1899
1939
|
/* ScalarType.STRING */
|
|
1900
1940
|
},
|
|
1901
|
-
{ no: 3, name: "
|
|
1941
|
+
{ no: 3, name: "attributes", kind: "map", K: 9, V: {
|
|
1902
1942
|
kind: "scalar",
|
|
1903
1943
|
T: 9
|
|
1904
1944
|
/* ScalarType.STRING */
|
|
@@ -4228,7 +4268,14 @@ const SendDataRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4228
4268
|
{ no: 3, name: "kind", kind: "enum", T: protobuf.proto3.getEnumType(DataPacket_Kind) },
|
|
4229
4269
|
{ no: 4, name: "destination_sids", kind: "scalar", T: 9, repeated: true },
|
|
4230
4270
|
{ no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
4231
|
-
{ no: 5, name: "topic", kind: "scalar", T: 9, opt: true }
|
|
4271
|
+
{ no: 5, name: "topic", kind: "scalar", T: 9, opt: true },
|
|
4272
|
+
{
|
|
4273
|
+
no: 7,
|
|
4274
|
+
name: "nonce",
|
|
4275
|
+
kind: "scalar",
|
|
4276
|
+
T: 12
|
|
4277
|
+
/* ScalarType.BYTES */
|
|
4278
|
+
}
|
|
4232
4279
|
]
|
|
4233
4280
|
);
|
|
4234
4281
|
const SendDataResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5547,7 +5594,9 @@ const GetSIPOutboundTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5547
5594
|
);
|
|
5548
5595
|
const ListSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5549
5596
|
"livekit.ListSIPTrunkRequest",
|
|
5550
|
-
[
|
|
5597
|
+
() => [
|
|
5598
|
+
{ no: 1, name: "page", kind: "message", T: Pagination }
|
|
5599
|
+
]
|
|
5551
5600
|
);
|
|
5552
5601
|
const ListSIPTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5553
5602
|
"livekit.ListSIPTrunkResponse",
|
|
@@ -5558,6 +5607,7 @@ const ListSIPTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5558
5607
|
const ListSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5559
5608
|
"livekit.ListSIPInboundTrunkRequest",
|
|
5560
5609
|
() => [
|
|
5610
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
5561
5611
|
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
|
|
5562
5612
|
{ no: 2, name: "numbers", kind: "scalar", T: 9, repeated: true }
|
|
5563
5613
|
]
|
|
@@ -5571,6 +5621,7 @@ const ListSIPInboundTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5571
5621
|
const ListSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5572
5622
|
"livekit.ListSIPOutboundTrunkRequest",
|
|
5573
5623
|
() => [
|
|
5624
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
5574
5625
|
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
|
|
5575
5626
|
{ no: 2, name: "numbers", kind: "scalar", T: 9, repeated: true }
|
|
5576
5627
|
]
|
|
@@ -5767,6 +5818,7 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5767
5818
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5768
5819
|
"livekit.ListSIPDispatchRuleRequest",
|
|
5769
5820
|
() => [
|
|
5821
|
+
{ no: 3, name: "page", kind: "message", T: Pagination },
|
|
5770
5822
|
{ no: 1, name: "dispatch_rule_ids", kind: "scalar", T: 9, repeated: true },
|
|
5771
5823
|
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }
|
|
5772
5824
|
]
|
|
@@ -6111,7 +6163,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6111
6163
|
]
|
|
6112
6164
|
);
|
|
6113
6165
|
|
|
6114
|
-
const version = "1.
|
|
6166
|
+
const version = "1.32.1";
|
|
6115
6167
|
|
|
6116
6168
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6117
6169
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6148,8 +6200,8 @@ exports.DataChannelInfo = DataChannelInfo;
|
|
|
6148
6200
|
exports.DataPacket = DataPacket;
|
|
6149
6201
|
exports.DataPacket_Kind = DataPacket_Kind;
|
|
6150
6202
|
exports.DataStream = DataStream;
|
|
6203
|
+
exports.DataStream_ByteHeader = DataStream_ByteHeader;
|
|
6151
6204
|
exports.DataStream_Chunk = DataStream_Chunk;
|
|
6152
|
-
exports.DataStream_FileHeader = DataStream_FileHeader;
|
|
6153
6205
|
exports.DataStream_Header = DataStream_Header;
|
|
6154
6206
|
exports.DataStream_OperationType = DataStream_OperationType;
|
|
6155
6207
|
exports.DataStream_TextHeader = DataStream_TextHeader;
|
|
@@ -6230,6 +6282,7 @@ exports.MigrateJobRequest = MigrateJobRequest;
|
|
|
6230
6282
|
exports.MuteRoomTrackRequest = MuteRoomTrackRequest;
|
|
6231
6283
|
exports.MuteRoomTrackResponse = MuteRoomTrackResponse;
|
|
6232
6284
|
exports.MuteTrackRequest = MuteTrackRequest;
|
|
6285
|
+
exports.Pagination = Pagination;
|
|
6233
6286
|
exports.ParticipantEgressRequest = ParticipantEgressRequest;
|
|
6234
6287
|
exports.ParticipantInfo = ParticipantInfo;
|
|
6235
6288
|
exports.ParticipantInfo_Kind = ParticipantInfo_Kind;
|