@livekit/protocol 1.39.3 → 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 +148 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +277 -12
- package/dist/index.d.mts +277 -12
- package/dist/index.d.ts +277 -12
- package/dist/index.mjs +144 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -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 +63 -0
- package/src/gen/livekit_cloud_agent_pb.js +23 -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 +77 -6
- package/src/gen/livekit_models_pb.js +18 -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(
|
|
@@ -789,6 +806,14 @@ const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
789
806
|
}
|
|
790
807
|
]
|
|
791
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
|
+
);
|
|
792
817
|
const DataPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
793
818
|
"livekit.DataPacket",
|
|
794
819
|
() => [
|
|
@@ -2135,6 +2160,13 @@ const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2135
2160
|
kind: "scalar",
|
|
2136
2161
|
T: 9
|
|
2137
2162
|
/* ScalarType.STRING */
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
no: 8,
|
|
2166
|
+
name: "agent_id",
|
|
2167
|
+
kind: "scalar",
|
|
2168
|
+
T: 9
|
|
2169
|
+
/* ScalarType.STRING */
|
|
2138
2170
|
}
|
|
2139
2171
|
]
|
|
2140
2172
|
);
|
|
@@ -2956,6 +2988,20 @@ const S3Upload = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2956
2988
|
T: 9
|
|
2957
2989
|
/* ScalarType.STRING */
|
|
2958
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
|
+
},
|
|
2959
3005
|
{
|
|
2960
3006
|
no: 3,
|
|
2961
3007
|
name: "region",
|
|
@@ -4437,6 +4483,13 @@ const RoomConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4437
4483
|
T: 13
|
|
4438
4484
|
/* ScalarType.UINT32 */
|
|
4439
4485
|
},
|
|
4486
|
+
{
|
|
4487
|
+
no: 11,
|
|
4488
|
+
name: "metadata",
|
|
4489
|
+
kind: "scalar",
|
|
4490
|
+
T: 9
|
|
4491
|
+
/* ScalarType.STRING */
|
|
4492
|
+
},
|
|
4440
4493
|
{ no: 5, name: "egress", kind: "message", T: RoomEgress },
|
|
4441
4494
|
{
|
|
4442
4495
|
no: 7,
|
|
@@ -4611,7 +4664,9 @@ const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4611
4664
|
kind: "scalar",
|
|
4612
4665
|
T: 9
|
|
4613
4666
|
/* ScalarType.STRING */
|
|
4614
|
-
}
|
|
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) }
|
|
4615
4670
|
]
|
|
4616
4671
|
);
|
|
4617
4672
|
const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5431,6 +5486,90 @@ const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5431
5486
|
}
|
|
5432
5487
|
]
|
|
5433
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
|
+
);
|
|
5434
5573
|
|
|
5435
5574
|
const SIPStatusCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5436
5575
|
"livekit.SIPStatusCode",
|
|
@@ -6705,7 +6844,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6705
6844
|
]
|
|
6706
6845
|
);
|
|
6707
6846
|
|
|
6708
|
-
const version = "1.
|
|
6847
|
+
const version = "1.40.0";
|
|
6709
6848
|
|
|
6710
6849
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6711
6850
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6732,6 +6871,7 @@ exports.Codec = Codec;
|
|
|
6732
6871
|
exports.ConnectionQuality = ConnectionQuality;
|
|
6733
6872
|
exports.ConnectionQualityInfo = ConnectionQualityInfo;
|
|
6734
6873
|
exports.ConnectionQualityUpdate = ConnectionQualityUpdate;
|
|
6874
|
+
exports.ConnectionSettings = ConnectionSettings;
|
|
6735
6875
|
exports.CreateAgentDispatchRequest = CreateAgentDispatchRequest;
|
|
6736
6876
|
exports.CreateIngressRequest = CreateIngressRequest;
|
|
6737
6877
|
exports.CreateRoomRequest = CreateRoomRequest;
|
|
@@ -6801,6 +6941,7 @@ exports.JobState = JobState;
|
|
|
6801
6941
|
exports.JobStatus = JobStatus;
|
|
6802
6942
|
exports.JobTermination = JobTermination;
|
|
6803
6943
|
exports.JobType = JobType;
|
|
6944
|
+
exports.JoinRequest = JoinRequest;
|
|
6804
6945
|
exports.JoinResponse = JoinResponse;
|
|
6805
6946
|
exports.LeaveRequest = LeaveRequest;
|
|
6806
6947
|
exports.LeaveRequest_Action = LeaveRequest_Action;
|
|
@@ -6974,6 +7115,7 @@ exports.VP8MungerState = VP8MungerState;
|
|
|
6974
7115
|
exports.VideoCodec = VideoCodec;
|
|
6975
7116
|
exports.VideoConfiguration = VideoConfiguration;
|
|
6976
7117
|
exports.VideoLayer = VideoLayer;
|
|
7118
|
+
exports.VideoLayer_Mode = VideoLayer_Mode;
|
|
6977
7119
|
exports.VideoQuality = VideoQuality;
|
|
6978
7120
|
exports.WebEgressRequest = WebEgressRequest;
|
|
6979
7121
|
exports.WebhookConfig = WebhookConfig;
|
|
@@ -6982,5 +7124,7 @@ exports.WorkerMessage = WorkerMessage;
|
|
|
6982
7124
|
exports.WorkerPing = WorkerPing;
|
|
6983
7125
|
exports.WorkerPong = WorkerPong;
|
|
6984
7126
|
exports.WorkerStatus = WorkerStatus;
|
|
7127
|
+
exports.WrappedJoinRequest = WrappedJoinRequest;
|
|
7128
|
+
exports.WrappedJoinRequest_Compression = WrappedJoinRequest_Compression;
|
|
6985
7129
|
exports.version = version;
|
|
6986
7130
|
//# sourceMappingURL=index.cjs.map
|