@livekit/protocol 1.39.2 → 1.40.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 +171 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +297 -12
- package/dist/index.d.mts +297 -12
- package/dist/index.d.ts +297 -12
- package/dist/index.mjs +167 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +73 -0
- package/src/gen/livekit_cloud_agent_pb.js +25 -0
- package/src/gen/livekit_egress_pb.d.ts +14 -0
- package/src/gen/livekit_egress_pb.js +2 -0
- package/src/gen/livekit_internal_pb.d.ts +20 -2
- package/src/gen/livekit_internal_pb.js +4 -0
- package/src/gen/livekit_models_pb.d.ts +92 -6
- package/src/gen/livekit_models_pb.js +21 -0
- package/src/gen/livekit_room_pb.d.ts +7 -0
- package/src/gen/livekit_room_pb.js +1 -0
- package/src/gen/livekit_rtc_pb.d.ts +173 -5
- package/src/gen/livekit_rtc_pb.js +57 -1
- package/src/gen/livekit_webhook_pb.d.ts +1 -1
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -299,7 +299,16 @@ const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
299
299
|
const ListUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
300
300
|
"livekit.ListUpdate",
|
|
301
301
|
() => [
|
|
302
|
-
{ no: 1, name: "set", kind: "scalar", T: 9, repeated: true }
|
|
302
|
+
{ no: 1, name: "set", kind: "scalar", T: 9, repeated: true },
|
|
303
|
+
{ no: 2, name: "add", kind: "scalar", T: 9, repeated: true },
|
|
304
|
+
{ no: 3, name: "del", kind: "scalar", T: 9, repeated: true },
|
|
305
|
+
{
|
|
306
|
+
no: 4,
|
|
307
|
+
name: "clear",
|
|
308
|
+
kind: "scalar",
|
|
309
|
+
T: 8
|
|
310
|
+
/* ScalarType.BOOL */
|
|
311
|
+
}
|
|
303
312
|
]
|
|
304
313
|
);
|
|
305
314
|
const Room = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -641,7 +650,15 @@ const SimulcastCodecInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
641
650
|
T: 9
|
|
642
651
|
/* ScalarType.STRING */
|
|
643
652
|
},
|
|
644
|
-
{ no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true }
|
|
653
|
+
{ no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
|
|
654
|
+
{ no: 5, name: "video_layer_mode", kind: "enum", T: protobuf.proto3.getEnumType(VideoLayer_Mode) },
|
|
655
|
+
{
|
|
656
|
+
no: 6,
|
|
657
|
+
name: "sdp_cid",
|
|
658
|
+
kind: "scalar",
|
|
659
|
+
T: 9
|
|
660
|
+
/* ScalarType.STRING */
|
|
661
|
+
}
|
|
645
662
|
]
|
|
646
663
|
);
|
|
647
664
|
const TrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -772,9 +789,31 @@ const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
772
789
|
kind: "scalar",
|
|
773
790
|
T: 13
|
|
774
791
|
/* ScalarType.UINT32 */
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
no: 6,
|
|
795
|
+
name: "spatial_layer",
|
|
796
|
+
kind: "scalar",
|
|
797
|
+
T: 5
|
|
798
|
+
/* ScalarType.INT32 */
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
no: 7,
|
|
802
|
+
name: "rid",
|
|
803
|
+
kind: "scalar",
|
|
804
|
+
T: 9
|
|
805
|
+
/* ScalarType.STRING */
|
|
775
806
|
}
|
|
776
807
|
]
|
|
777
808
|
);
|
|
809
|
+
const VideoLayer_Mode = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
810
|
+
"livekit.VideoLayer.Mode",
|
|
811
|
+
[
|
|
812
|
+
{ no: 0, name: "MODE_UNUSED" },
|
|
813
|
+
{ no: 1, name: "ONE_SPATIAL_LAYER_PER_STREAM" },
|
|
814
|
+
{ no: 2, name: "MULTIPLE_SPATIAL_LAYERS_PER_STREAM" }
|
|
815
|
+
]
|
|
816
|
+
);
|
|
778
817
|
const DataPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
779
818
|
"livekit.DataPacket",
|
|
780
819
|
() => [
|
|
@@ -1272,7 +1311,8 @@ const ClientInfo_SDK = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
1272
1311
|
{ no: 10, name: "CPP" },
|
|
1273
1312
|
{ no: 11, name: "UNITY_WEB" },
|
|
1274
1313
|
{ no: 12, name: "NODE" },
|
|
1275
|
-
{ no: 13, name: "UNREAL" }
|
|
1314
|
+
{ no: 13, name: "UNREAL" },
|
|
1315
|
+
{ no: 14, name: "ESP32" }
|
|
1276
1316
|
]
|
|
1277
1317
|
);
|
|
1278
1318
|
const ClientConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2113,6 +2153,20 @@ const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2113
2153
|
kind: "scalar",
|
|
2114
2154
|
T: 9
|
|
2115
2155
|
/* ScalarType.STRING */
|
|
2156
|
+
},
|
|
2157
|
+
{
|
|
2158
|
+
no: 7,
|
|
2159
|
+
name: "worker_id",
|
|
2160
|
+
kind: "scalar",
|
|
2161
|
+
T: 9
|
|
2162
|
+
/* ScalarType.STRING */
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
no: 8,
|
|
2166
|
+
name: "agent_id",
|
|
2167
|
+
kind: "scalar",
|
|
2168
|
+
T: 9
|
|
2169
|
+
/* ScalarType.STRING */
|
|
2116
2170
|
}
|
|
2117
2171
|
]
|
|
2118
2172
|
);
|
|
@@ -2934,6 +2988,20 @@ const S3Upload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2934
2988
|
T: 9
|
|
2935
2989
|
/* ScalarType.STRING */
|
|
2936
2990
|
},
|
|
2991
|
+
{
|
|
2992
|
+
no: 12,
|
|
2993
|
+
name: "assume_role_arn",
|
|
2994
|
+
kind: "scalar",
|
|
2995
|
+
T: 9
|
|
2996
|
+
/* ScalarType.STRING */
|
|
2997
|
+
},
|
|
2998
|
+
{
|
|
2999
|
+
no: 13,
|
|
3000
|
+
name: "assume_role_external_id",
|
|
3001
|
+
kind: "scalar",
|
|
3002
|
+
T: 9
|
|
3003
|
+
/* ScalarType.STRING */
|
|
3004
|
+
},
|
|
2937
3005
|
{
|
|
2938
3006
|
no: 3,
|
|
2939
3007
|
name: "region",
|
|
@@ -4415,6 +4483,13 @@ const RoomConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4415
4483
|
T: 13
|
|
4416
4484
|
/* ScalarType.UINT32 */
|
|
4417
4485
|
},
|
|
4486
|
+
{
|
|
4487
|
+
no: 11,
|
|
4488
|
+
name: "metadata",
|
|
4489
|
+
kind: "scalar",
|
|
4490
|
+
T: 9
|
|
4491
|
+
/* ScalarType.STRING */
|
|
4492
|
+
},
|
|
4418
4493
|
{ no: 5, name: "egress", kind: "message", T: RoomEgress },
|
|
4419
4494
|
{
|
|
4420
4495
|
no: 7,
|
|
@@ -4589,7 +4664,9 @@ const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4589
4664
|
kind: "scalar",
|
|
4590
4665
|
T: 9
|
|
4591
4666
|
/* ScalarType.STRING */
|
|
4592
|
-
}
|
|
4667
|
+
},
|
|
4668
|
+
{ no: 4, name: "layers", kind: "message", T: VideoLayer, repeated: true },
|
|
4669
|
+
{ no: 5, name: "video_layer_mode", kind: "enum", T: protobuf.proto3.getEnumType(VideoLayer_Mode) }
|
|
4593
4670
|
]
|
|
4594
4671
|
);
|
|
4595
4672
|
const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5409,6 +5486,90 @@ const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5409
5486
|
}
|
|
5410
5487
|
]
|
|
5411
5488
|
);
|
|
5489
|
+
const ConnectionSettings = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5490
|
+
"livekit.ConnectionSettings",
|
|
5491
|
+
() => [
|
|
5492
|
+
{
|
|
5493
|
+
no: 1,
|
|
5494
|
+
name: "auto_subscribe",
|
|
5495
|
+
kind: "scalar",
|
|
5496
|
+
T: 8
|
|
5497
|
+
/* ScalarType.BOOL */
|
|
5498
|
+
},
|
|
5499
|
+
{
|
|
5500
|
+
no: 2,
|
|
5501
|
+
name: "adaptive_stream",
|
|
5502
|
+
kind: "scalar",
|
|
5503
|
+
T: 8
|
|
5504
|
+
/* ScalarType.BOOL */
|
|
5505
|
+
},
|
|
5506
|
+
{ no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8, opt: true },
|
|
5507
|
+
{
|
|
5508
|
+
no: 4,
|
|
5509
|
+
name: "disable_ice_lite",
|
|
5510
|
+
kind: "scalar",
|
|
5511
|
+
T: 8
|
|
5512
|
+
/* ScalarType.BOOL */
|
|
5513
|
+
}
|
|
5514
|
+
]
|
|
5515
|
+
);
|
|
5516
|
+
const JoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5517
|
+
"livekit.JoinRequest",
|
|
5518
|
+
() => [
|
|
5519
|
+
{ no: 1, name: "client_info", kind: "message", T: ClientInfo },
|
|
5520
|
+
{ no: 2, name: "connection_settings", kind: "message", T: ConnectionSettings },
|
|
5521
|
+
{
|
|
5522
|
+
no: 3,
|
|
5523
|
+
name: "metadata",
|
|
5524
|
+
kind: "scalar",
|
|
5525
|
+
T: 9
|
|
5526
|
+
/* ScalarType.STRING */
|
|
5527
|
+
},
|
|
5528
|
+
{ no: 4, name: "participant_attributes", kind: "map", K: 9, V: {
|
|
5529
|
+
kind: "scalar",
|
|
5530
|
+
T: 9
|
|
5531
|
+
/* ScalarType.STRING */
|
|
5532
|
+
} },
|
|
5533
|
+
{ no: 5, name: "add_track_requests", kind: "message", T: AddTrackRequest, repeated: true },
|
|
5534
|
+
{ no: 6, name: "publisher_offer", kind: "message", T: SessionDescription },
|
|
5535
|
+
{
|
|
5536
|
+
no: 7,
|
|
5537
|
+
name: "reconnect",
|
|
5538
|
+
kind: "scalar",
|
|
5539
|
+
T: 8
|
|
5540
|
+
/* ScalarType.BOOL */
|
|
5541
|
+
},
|
|
5542
|
+
{ no: 8, name: "reconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(ReconnectReason) },
|
|
5543
|
+
{
|
|
5544
|
+
no: 9,
|
|
5545
|
+
name: "participant_sid",
|
|
5546
|
+
kind: "scalar",
|
|
5547
|
+
T: 9
|
|
5548
|
+
/* ScalarType.STRING */
|
|
5549
|
+
},
|
|
5550
|
+
{ no: 10, name: "sync_state", kind: "message", T: SyncState }
|
|
5551
|
+
]
|
|
5552
|
+
);
|
|
5553
|
+
const WrappedJoinRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5554
|
+
"livekit.WrappedJoinRequest",
|
|
5555
|
+
() => [
|
|
5556
|
+
{ no: 1, name: "compression", kind: "enum", T: protobuf.proto3.getEnumType(WrappedJoinRequest_Compression) },
|
|
5557
|
+
{
|
|
5558
|
+
no: 2,
|
|
5559
|
+
name: "join_request",
|
|
5560
|
+
kind: "scalar",
|
|
5561
|
+
T: 12
|
|
5562
|
+
/* ScalarType.BYTES */
|
|
5563
|
+
}
|
|
5564
|
+
]
|
|
5565
|
+
);
|
|
5566
|
+
const WrappedJoinRequest_Compression = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5567
|
+
"livekit.WrappedJoinRequest.Compression",
|
|
5568
|
+
[
|
|
5569
|
+
{ no: 0, name: "NONE" },
|
|
5570
|
+
{ no: 1, name: "GZIP" }
|
|
5571
|
+
]
|
|
5572
|
+
);
|
|
5412
5573
|
|
|
5413
5574
|
const SIPStatusCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5414
5575
|
"livekit.SIPStatusCode",
|
|
@@ -6683,7 +6844,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6683
6844
|
]
|
|
6684
6845
|
);
|
|
6685
6846
|
|
|
6686
|
-
const version = "1.
|
|
6847
|
+
const version = "1.40.0";
|
|
6687
6848
|
|
|
6688
6849
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6689
6850
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6710,6 +6871,7 @@ exports.Codec = Codec;
|
|
|
6710
6871
|
exports.ConnectionQuality = ConnectionQuality;
|
|
6711
6872
|
exports.ConnectionQualityInfo = ConnectionQualityInfo;
|
|
6712
6873
|
exports.ConnectionQualityUpdate = ConnectionQualityUpdate;
|
|
6874
|
+
exports.ConnectionSettings = ConnectionSettings;
|
|
6713
6875
|
exports.CreateAgentDispatchRequest = CreateAgentDispatchRequest;
|
|
6714
6876
|
exports.CreateIngressRequest = CreateIngressRequest;
|
|
6715
6877
|
exports.CreateRoomRequest = CreateRoomRequest;
|
|
@@ -6779,6 +6941,7 @@ exports.JobState = JobState;
|
|
|
6779
6941
|
exports.JobStatus = JobStatus;
|
|
6780
6942
|
exports.JobTermination = JobTermination;
|
|
6781
6943
|
exports.JobType = JobType;
|
|
6944
|
+
exports.JoinRequest = JoinRequest;
|
|
6782
6945
|
exports.JoinResponse = JoinResponse;
|
|
6783
6946
|
exports.LeaveRequest = LeaveRequest;
|
|
6784
6947
|
exports.LeaveRequest_Action = LeaveRequest_Action;
|
|
@@ -6952,6 +7115,7 @@ exports.VP8MungerState = VP8MungerState;
|
|
|
6952
7115
|
exports.VideoCodec = VideoCodec;
|
|
6953
7116
|
exports.VideoConfiguration = VideoConfiguration;
|
|
6954
7117
|
exports.VideoLayer = VideoLayer;
|
|
7118
|
+
exports.VideoLayer_Mode = VideoLayer_Mode;
|
|
6955
7119
|
exports.VideoQuality = VideoQuality;
|
|
6956
7120
|
exports.WebEgressRequest = WebEgressRequest;
|
|
6957
7121
|
exports.WebhookConfig = WebhookConfig;
|
|
@@ -6960,5 +7124,7 @@ exports.WorkerMessage = WorkerMessage;
|
|
|
6960
7124
|
exports.WorkerPing = WorkerPing;
|
|
6961
7125
|
exports.WorkerPong = WorkerPong;
|
|
6962
7126
|
exports.WorkerStatus = WorkerStatus;
|
|
7127
|
+
exports.WrappedJoinRequest = WrappedJoinRequest;
|
|
7128
|
+
exports.WrappedJoinRequest_Compression = WrappedJoinRequest_Compression;
|
|
6963
7129
|
exports.version = version;
|
|
6964
7130
|
//# sourceMappingURL=index.cjs.map
|