@livekit/protocol 1.37.1 → 1.39.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 +136 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +230 -2
- package/dist/index.d.mts +230 -2
- package/dist/index.d.ts +230 -2
- package/dist/index.mjs +132 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_agent_pb.d.ts +7 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_analytics_pb.d.ts +16 -1
- package/src/gen/livekit_analytics_pb.js +4 -1
- package/src/gen/livekit_models_pb.d.ts +7 -0
- package/src/gen/livekit_models_pb.js +1 -0
- package/src/gen/livekit_room_pb.d.ts +59 -0
- package/src/gen/livekit_room_pb.js +20 -0
- package/src/gen/livekit_rtc_pb.d.ts +58 -1
- package/src/gen/livekit_rtc_pb.js +15 -0
- package/src/gen/livekit_sip_pb.d.ts +98 -0
- package/src/gen/livekit_sip_pb.js +32 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -243,7 +243,8 @@ const DisconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
243
243
|
{ no: 11, name: "USER_UNAVAILABLE" },
|
|
244
244
|
{ no: 12, name: "USER_REJECTED" },
|
|
245
245
|
{ no: 13, name: "SIP_TRUNK_FAILURE" },
|
|
246
|
-
{ no: 14, name: "CONNECTION_TIMEOUT" }
|
|
246
|
+
{ no: 14, name: "CONNECTION_TIMEOUT" },
|
|
247
|
+
{ no: 15, name: "MEDIA_FAILURE" }
|
|
247
248
|
]
|
|
248
249
|
);
|
|
249
250
|
const ReconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2247,6 +2248,13 @@ const AvailabilityResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2247
2248
|
T: 8
|
|
2248
2249
|
/* ScalarType.BOOL */
|
|
2249
2250
|
},
|
|
2251
|
+
{
|
|
2252
|
+
no: 8,
|
|
2253
|
+
name: "terminate",
|
|
2254
|
+
kind: "scalar",
|
|
2255
|
+
T: 8
|
|
2256
|
+
/* ScalarType.BOOL */
|
|
2257
|
+
},
|
|
2250
2258
|
{
|
|
2251
2259
|
no: 4,
|
|
2252
2260
|
name: "participant_name",
|
|
@@ -4448,6 +4456,36 @@ const ForwardParticipantResponse = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
4448
4456
|
"livekit.ForwardParticipantResponse",
|
|
4449
4457
|
[]
|
|
4450
4458
|
);
|
|
4459
|
+
const MoveParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
4460
|
+
"livekit.MoveParticipantRequest",
|
|
4461
|
+
() => [
|
|
4462
|
+
{
|
|
4463
|
+
no: 1,
|
|
4464
|
+
name: "room",
|
|
4465
|
+
kind: "scalar",
|
|
4466
|
+
T: 9
|
|
4467
|
+
/* ScalarType.STRING */
|
|
4468
|
+
},
|
|
4469
|
+
{
|
|
4470
|
+
no: 2,
|
|
4471
|
+
name: "identity",
|
|
4472
|
+
kind: "scalar",
|
|
4473
|
+
T: 9
|
|
4474
|
+
/* ScalarType.STRING */
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
no: 3,
|
|
4478
|
+
name: "destination_room",
|
|
4479
|
+
kind: "scalar",
|
|
4480
|
+
T: 9
|
|
4481
|
+
/* ScalarType.STRING */
|
|
4482
|
+
}
|
|
4483
|
+
]
|
|
4484
|
+
);
|
|
4485
|
+
const MoveParticipantResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
4486
|
+
"livekit.MoveParticipantResponse",
|
|
4487
|
+
[]
|
|
4488
|
+
);
|
|
4451
4489
|
|
|
4452
4490
|
const SignalTarget = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
4453
4491
|
"livekit.SignalTarget",
|
|
@@ -4517,7 +4555,8 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4517
4555
|
{ no: 20, name: "pong_resp", kind: "message", T: Pong, oneof: "message" },
|
|
4518
4556
|
{ no: 21, name: "subscription_response", kind: "message", T: SubscriptionResponse, oneof: "message" },
|
|
4519
4557
|
{ no: 22, name: "request_response", kind: "message", T: RequestResponse, oneof: "message" },
|
|
4520
|
-
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" }
|
|
4558
|
+
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
4559
|
+
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" }
|
|
4521
4560
|
]
|
|
4522
4561
|
);
|
|
4523
4562
|
const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -4732,7 +4771,8 @@ const ReconnectResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4732
4771
|
"livekit.ReconnectResponse",
|
|
4733
4772
|
() => [
|
|
4734
4773
|
{ no: 1, name: "ice_servers", kind: "message", T: ICEServer, repeated: true },
|
|
4735
|
-
{ no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration }
|
|
4774
|
+
{ no: 2, name: "client_configuration", kind: "message", T: ClientConfiguration },
|
|
4775
|
+
{ no: 3, name: "server_info", kind: "message", T: ServerInfo }
|
|
4736
4776
|
]
|
|
4737
4777
|
);
|
|
4738
4778
|
const TrackPublishedResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5137,6 +5177,21 @@ const SubscriptionPermissionUpdate = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
5137
5177
|
}
|
|
5138
5178
|
]
|
|
5139
5179
|
);
|
|
5180
|
+
const RoomMovedResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5181
|
+
"livekit.RoomMovedResponse",
|
|
5182
|
+
() => [
|
|
5183
|
+
{ no: 1, name: "room", kind: "message", T: Room },
|
|
5184
|
+
{
|
|
5185
|
+
no: 2,
|
|
5186
|
+
name: "token",
|
|
5187
|
+
kind: "scalar",
|
|
5188
|
+
T: 9
|
|
5189
|
+
/* ScalarType.STRING */
|
|
5190
|
+
},
|
|
5191
|
+
{ no: 3, name: "participant", kind: "message", T: ParticipantInfo },
|
|
5192
|
+
{ no: 4, name: "other_participants", kind: "message", T: ParticipantInfo, repeated: true }
|
|
5193
|
+
]
|
|
5194
|
+
);
|
|
5140
5195
|
const SyncState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5141
5196
|
"livekit.SyncState",
|
|
5142
5197
|
() => [
|
|
@@ -5396,6 +5451,14 @@ const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
5396
5451
|
{ no: 4, name: "SCS_ERROR" }
|
|
5397
5452
|
]
|
|
5398
5453
|
);
|
|
5454
|
+
const SIPTransferStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5455
|
+
"livekit.SIPTransferStatus",
|
|
5456
|
+
[
|
|
5457
|
+
{ no: 0, name: "STS_TRANSFER_ONGOING" },
|
|
5458
|
+
{ no: 1, name: "STS_TRANSFER_FAILED" },
|
|
5459
|
+
{ no: 2, name: "STS_TRANSFER_SUCCESSFUL" }
|
|
5460
|
+
]
|
|
5461
|
+
);
|
|
5399
5462
|
const SIPFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5400
5463
|
"livekit.SIPFeature",
|
|
5401
5464
|
[
|
|
@@ -5722,6 +5785,13 @@ const SIPOutboundTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5722
5785
|
T: 9
|
|
5723
5786
|
/* ScalarType.STRING */
|
|
5724
5787
|
},
|
|
5788
|
+
{
|
|
5789
|
+
no: 14,
|
|
5790
|
+
name: "destination_country",
|
|
5791
|
+
kind: "scalar",
|
|
5792
|
+
T: 9
|
|
5793
|
+
/* ScalarType.STRING */
|
|
5794
|
+
},
|
|
5725
5795
|
{ no: 5, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) },
|
|
5726
5796
|
{ no: 6, name: "numbers", kind: "scalar", T: 9, repeated: true },
|
|
5727
5797
|
{
|
|
@@ -5762,6 +5832,7 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5762
5832
|
() => [
|
|
5763
5833
|
{ no: 1, name: "address", kind: "scalar", T: 9, opt: true },
|
|
5764
5834
|
{ no: 2, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport), opt: true },
|
|
5835
|
+
{ no: 9, name: "destination_country", kind: "scalar", T: 9, opt: true },
|
|
5765
5836
|
{ no: 3, name: "numbers", kind: "message", T: ListUpdate },
|
|
5766
5837
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5767
5838
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
@@ -6095,6 +6166,13 @@ const SIPOutboundConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6095
6166
|
T: 9
|
|
6096
6167
|
/* ScalarType.STRING */
|
|
6097
6168
|
},
|
|
6169
|
+
{
|
|
6170
|
+
no: 7,
|
|
6171
|
+
name: "destination_country",
|
|
6172
|
+
kind: "scalar",
|
|
6173
|
+
T: 9
|
|
6174
|
+
/* ScalarType.STRING */
|
|
6175
|
+
},
|
|
6098
6176
|
{ no: 2, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) },
|
|
6099
6177
|
{
|
|
6100
6178
|
no: 3,
|
|
@@ -6434,6 +6512,55 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6434
6512
|
}
|
|
6435
6513
|
]
|
|
6436
6514
|
);
|
|
6515
|
+
const SIPTransferInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6516
|
+
"livekit.SIPTransferInfo",
|
|
6517
|
+
() => [
|
|
6518
|
+
{
|
|
6519
|
+
no: 1,
|
|
6520
|
+
name: "transfer_id",
|
|
6521
|
+
kind: "scalar",
|
|
6522
|
+
T: 9
|
|
6523
|
+
/* ScalarType.STRING */
|
|
6524
|
+
},
|
|
6525
|
+
{
|
|
6526
|
+
no: 2,
|
|
6527
|
+
name: "call_id",
|
|
6528
|
+
kind: "scalar",
|
|
6529
|
+
T: 9
|
|
6530
|
+
/* ScalarType.STRING */
|
|
6531
|
+
},
|
|
6532
|
+
{
|
|
6533
|
+
no: 3,
|
|
6534
|
+
name: "transfer_to",
|
|
6535
|
+
kind: "scalar",
|
|
6536
|
+
T: 9
|
|
6537
|
+
/* ScalarType.STRING */
|
|
6538
|
+
},
|
|
6539
|
+
{
|
|
6540
|
+
no: 4,
|
|
6541
|
+
name: "transfer_initiated_at_ns",
|
|
6542
|
+
kind: "scalar",
|
|
6543
|
+
T: 3
|
|
6544
|
+
/* ScalarType.INT64 */
|
|
6545
|
+
},
|
|
6546
|
+
{
|
|
6547
|
+
no: 5,
|
|
6548
|
+
name: "transfer_completed_at_ns",
|
|
6549
|
+
kind: "scalar",
|
|
6550
|
+
T: 3
|
|
6551
|
+
/* ScalarType.INT64 */
|
|
6552
|
+
},
|
|
6553
|
+
{ no: 6, name: "transfer_status", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransferStatus) },
|
|
6554
|
+
{
|
|
6555
|
+
no: 7,
|
|
6556
|
+
name: "error",
|
|
6557
|
+
kind: "scalar",
|
|
6558
|
+
T: 9
|
|
6559
|
+
/* ScalarType.STRING */
|
|
6560
|
+
},
|
|
6561
|
+
{ no: 8, name: "transfer_status_code", kind: "message", T: SIPStatus }
|
|
6562
|
+
]
|
|
6563
|
+
);
|
|
6437
6564
|
const SIPUri = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
6438
6565
|
"livekit.SIPUri",
|
|
6439
6566
|
() => [
|
|
@@ -6508,7 +6635,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6508
6635
|
]
|
|
6509
6636
|
);
|
|
6510
6637
|
|
|
6511
|
-
const version = "1.
|
|
6638
|
+
const version = "1.39.0";
|
|
6512
6639
|
|
|
6513
6640
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6514
6641
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6629,6 +6756,8 @@ exports.MetricLabel = MetricLabel;
|
|
|
6629
6756
|
exports.MetricSample = MetricSample;
|
|
6630
6757
|
exports.MetricsBatch = MetricsBatch;
|
|
6631
6758
|
exports.MigrateJobRequest = MigrateJobRequest;
|
|
6759
|
+
exports.MoveParticipantRequest = MoveParticipantRequest;
|
|
6760
|
+
exports.MoveParticipantResponse = MoveParticipantResponse;
|
|
6632
6761
|
exports.MuteRoomTrackRequest = MuteRoomTrackRequest;
|
|
6633
6762
|
exports.MuteRoomTrackResponse = MuteRoomTrackResponse;
|
|
6634
6763
|
exports.MuteTrackRequest = MuteTrackRequest;
|
|
@@ -6665,6 +6794,7 @@ exports.RoomAgentDispatch = RoomAgentDispatch;
|
|
|
6665
6794
|
exports.RoomCompositeEgressRequest = RoomCompositeEgressRequest;
|
|
6666
6795
|
exports.RoomConfiguration = RoomConfiguration;
|
|
6667
6796
|
exports.RoomEgress = RoomEgress;
|
|
6797
|
+
exports.RoomMovedResponse = RoomMovedResponse;
|
|
6668
6798
|
exports.RoomParticipantIdentity = RoomParticipantIdentity;
|
|
6669
6799
|
exports.RoomUpdate = RoomUpdate;
|
|
6670
6800
|
exports.RpcAck = RpcAck;
|
|
@@ -6692,6 +6822,8 @@ exports.SIPOutboundTrunkUpdate = SIPOutboundTrunkUpdate;
|
|
|
6692
6822
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|
|
6693
6823
|
exports.SIPStatus = SIPStatus;
|
|
6694
6824
|
exports.SIPStatusCode = SIPStatusCode;
|
|
6825
|
+
exports.SIPTransferInfo = SIPTransferInfo;
|
|
6826
|
+
exports.SIPTransferStatus = SIPTransferStatus;
|
|
6695
6827
|
exports.SIPTransport = SIPTransport;
|
|
6696
6828
|
exports.SIPTrunkInfo = SIPTrunkInfo;
|
|
6697
6829
|
exports.SIPTrunkInfo_TrunkKind = SIPTrunkInfo_TrunkKind;
|