@livekit/protocol 1.29.4 → 1.30.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 +64 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +180 -10
- package/dist/index.d.mts +180 -10
- package/dist/index.d.ts +180 -10
- package/dist/index.mjs +63 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_egress_pb.d.ts +21 -1
- package/src/gen/livekit_egress_pb.js +12 -0
- package/src/gen/livekit_models_pb.d.ts +0 -7
- package/src/gen/livekit_models_pb.js +0 -1
- package/src/gen/livekit_sip_pb.d.ts +159 -1
- package/src/gen/livekit_sip_pb.js +40 -3
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1834,7 +1834,6 @@ const DataStream_Header = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1834
1834
|
/* ScalarType.STRING */
|
|
1835
1835
|
},
|
|
1836
1836
|
{ no: 5, name: "total_length", kind: "scalar", T: 4, opt: true },
|
|
1837
|
-
{ no: 6, name: "total_chunks", kind: "scalar", T: 4, opt: true },
|
|
1838
1837
|
{ no: 7, name: "encryption_type", kind: "enum", T: protobuf.proto3.getEnumType(Encryption_Type) },
|
|
1839
1838
|
{ no: 8, name: "extensions", kind: "map", K: 9, V: {
|
|
1840
1839
|
kind: "scalar",
|
|
@@ -2444,6 +2443,13 @@ const EgressStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
2444
2443
|
{ no: 6, name: "EGRESS_LIMIT_REACHED" }
|
|
2445
2444
|
]
|
|
2446
2445
|
);
|
|
2446
|
+
const EgressSourceType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
2447
|
+
"livekit.EgressSourceType",
|
|
2448
|
+
[
|
|
2449
|
+
{ no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB" },
|
|
2450
|
+
{ no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK" }
|
|
2451
|
+
]
|
|
2452
|
+
);
|
|
2447
2453
|
const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2448
2454
|
"livekit.RoomCompositeEgressRequest",
|
|
2449
2455
|
() => [
|
|
@@ -3133,6 +3139,7 @@ const EgressInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3133
3139
|
T: 9
|
|
3134
3140
|
/* ScalarType.STRING */
|
|
3135
3141
|
},
|
|
3142
|
+
{ no: 26, name: "source_type", kind: "enum", T: protobuf.proto3.getEnumType(EgressSourceType) },
|
|
3136
3143
|
{ no: 3, name: "status", kind: "enum", T: protobuf.proto3.getEnumType(EgressStatus) },
|
|
3137
3144
|
{
|
|
3138
3145
|
no: 10,
|
|
@@ -5147,6 +5154,14 @@ const SIPTransport = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
5147
5154
|
{ no: 3, name: "SIP_TRANSPORT_TLS" }
|
|
5148
5155
|
]
|
|
5149
5156
|
);
|
|
5157
|
+
const SIPHeaderOptions = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5158
|
+
"livekit.SIPHeaderOptions",
|
|
5159
|
+
[
|
|
5160
|
+
{ no: 0, name: "SIP_NO_HEADERS" },
|
|
5161
|
+
{ no: 1, name: "SIP_X_HEADERS" },
|
|
5162
|
+
{ no: 2, name: "SIP_ALL_HEADERS" }
|
|
5163
|
+
]
|
|
5164
|
+
);
|
|
5150
5165
|
const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5151
5166
|
"livekit.SIPCallStatus",
|
|
5152
5167
|
[
|
|
@@ -5371,6 +5386,7 @@ const SIPInboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5371
5386
|
T: 9
|
|
5372
5387
|
/* ScalarType.STRING */
|
|
5373
5388
|
} },
|
|
5389
|
+
{ no: 15, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) },
|
|
5374
5390
|
{ no: 11, name: "ringing_timeout", kind: "message", T: protobuf.Duration },
|
|
5375
5391
|
{ no: 12, name: "max_call_duration", kind: "message", T: protobuf.Duration },
|
|
5376
5392
|
{
|
|
@@ -5449,7 +5465,8 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5449
5465
|
kind: "scalar",
|
|
5450
5466
|
T: 9
|
|
5451
5467
|
/* ScalarType.STRING */
|
|
5452
|
-
} }
|
|
5468
|
+
} },
|
|
5469
|
+
{ no: 12, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) }
|
|
5453
5470
|
]
|
|
5454
5471
|
);
|
|
5455
5472
|
const GetSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5500,7 +5517,10 @@ const ListSIPTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5500
5517
|
);
|
|
5501
5518
|
const ListSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5502
5519
|
"livekit.ListSIPInboundTrunkRequest",
|
|
5503
|
-
[
|
|
5520
|
+
() => [
|
|
5521
|
+
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
|
|
5522
|
+
{ no: 2, name: "numbers", kind: "scalar", T: 9, repeated: true }
|
|
5523
|
+
]
|
|
5504
5524
|
);
|
|
5505
5525
|
const ListSIPInboundTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5506
5526
|
"livekit.ListSIPInboundTrunkResponse",
|
|
@@ -5510,7 +5530,10 @@ const ListSIPInboundTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5510
5530
|
);
|
|
5511
5531
|
const ListSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5512
5532
|
"livekit.ListSIPOutboundTrunkRequest",
|
|
5513
|
-
[
|
|
5533
|
+
() => [
|
|
5534
|
+
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9, repeated: true },
|
|
5535
|
+
{ no: 2, name: "numbers", kind: "scalar", T: 9, repeated: true }
|
|
5536
|
+
]
|
|
5514
5537
|
);
|
|
5515
5538
|
const ListSIPOutboundTrunkResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5516
5539
|
"livekit.ListSIPOutboundTrunkResponse",
|
|
@@ -5633,7 +5656,15 @@ const CreateSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
5633
5656
|
kind: "scalar",
|
|
5634
5657
|
T: 9
|
|
5635
5658
|
/* ScalarType.STRING */
|
|
5636
|
-
} }
|
|
5659
|
+
} },
|
|
5660
|
+
{
|
|
5661
|
+
no: 8,
|
|
5662
|
+
name: "room_preset",
|
|
5663
|
+
kind: "scalar",
|
|
5664
|
+
T: 9
|
|
5665
|
+
/* ScalarType.STRING */
|
|
5666
|
+
},
|
|
5667
|
+
{ no: 9, name: "room_config", kind: "message", T: RoomConfiguration }
|
|
5637
5668
|
]
|
|
5638
5669
|
);
|
|
5639
5670
|
const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5674,12 +5705,23 @@ const SIPDispatchRuleInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5674
5705
|
kind: "scalar",
|
|
5675
5706
|
T: 9
|
|
5676
5707
|
/* ScalarType.STRING */
|
|
5677
|
-
} }
|
|
5708
|
+
} },
|
|
5709
|
+
{
|
|
5710
|
+
no: 9,
|
|
5711
|
+
name: "room_preset",
|
|
5712
|
+
kind: "scalar",
|
|
5713
|
+
T: 9
|
|
5714
|
+
/* ScalarType.STRING */
|
|
5715
|
+
},
|
|
5716
|
+
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration }
|
|
5678
5717
|
]
|
|
5679
5718
|
);
|
|
5680
5719
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5681
5720
|
"livekit.ListSIPDispatchRuleRequest",
|
|
5682
|
-
[
|
|
5721
|
+
() => [
|
|
5722
|
+
{ no: 1, name: "dispatch_rule_ids", kind: "scalar", T: 9, repeated: true },
|
|
5723
|
+
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9, repeated: true }
|
|
5724
|
+
]
|
|
5683
5725
|
);
|
|
5684
5726
|
const ListSIPDispatchRuleResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5685
5727
|
"livekit.ListSIPDispatchRuleResponse",
|
|
@@ -5784,6 +5826,12 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5784
5826
|
T: 8
|
|
5785
5827
|
/* ScalarType.BOOL */
|
|
5786
5828
|
},
|
|
5829
|
+
{ no: 16, name: "headers", kind: "map", K: 9, V: {
|
|
5830
|
+
kind: "scalar",
|
|
5831
|
+
T: 9
|
|
5832
|
+
/* ScalarType.STRING */
|
|
5833
|
+
} },
|
|
5834
|
+
{ no: 17, name: "include_headers", kind: "enum", T: protobuf.proto3.getEnumType(SIPHeaderOptions) },
|
|
5787
5835
|
{ no: 11, name: "ringing_timeout", kind: "message", T: protobuf.Duration },
|
|
5788
5836
|
{ no: 12, name: "max_call_duration", kind: "message", T: protobuf.Duration },
|
|
5789
5837
|
{
|
|
@@ -5858,7 +5906,12 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessag
|
|
|
5858
5906
|
kind: "scalar",
|
|
5859
5907
|
T: 8
|
|
5860
5908
|
/* ScalarType.BOOL */
|
|
5861
|
-
}
|
|
5909
|
+
},
|
|
5910
|
+
{ no: 5, name: "headers", kind: "map", K: 9, V: {
|
|
5911
|
+
kind: "scalar",
|
|
5912
|
+
T: 9
|
|
5913
|
+
/* ScalarType.STRING */
|
|
5914
|
+
} }
|
|
5862
5915
|
]
|
|
5863
5916
|
);
|
|
5864
5917
|
const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6008,7 +6061,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6008
6061
|
]
|
|
6009
6062
|
);
|
|
6010
6063
|
|
|
6011
|
-
const version = "1.
|
|
6064
|
+
const version = "1.30.0";
|
|
6012
6065
|
|
|
6013
6066
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6014
6067
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6060,6 +6113,7 @@ exports.DirectFileOutput = DirectFileOutput;
|
|
|
6060
6113
|
exports.DisabledCodecs = DisabledCodecs;
|
|
6061
6114
|
exports.DisconnectReason = DisconnectReason;
|
|
6062
6115
|
exports.EgressInfo = EgressInfo;
|
|
6116
|
+
exports.EgressSourceType = EgressSourceType;
|
|
6063
6117
|
exports.EgressStatus = EgressStatus;
|
|
6064
6118
|
exports.EncodedFileOutput = EncodedFileOutput;
|
|
6065
6119
|
exports.EncodedFileType = EncodedFileType;
|
|
@@ -6171,6 +6225,7 @@ exports.SIPDispatchRuleDirect = SIPDispatchRuleDirect;
|
|
|
6171
6225
|
exports.SIPDispatchRuleIndividual = SIPDispatchRuleIndividual;
|
|
6172
6226
|
exports.SIPDispatchRuleInfo = SIPDispatchRuleInfo;
|
|
6173
6227
|
exports.SIPFeature = SIPFeature;
|
|
6228
|
+
exports.SIPHeaderOptions = SIPHeaderOptions;
|
|
6174
6229
|
exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
|
|
6175
6230
|
exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
|
|
6176
6231
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|