@livekit/protocol 1.33.0 → 1.35.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 +144 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +229 -9
- package/dist/index.d.mts +229 -9
- package/dist/index.d.ts +229 -9
- package/dist/index.mjs +141 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- 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 +328 -0
- package/src/gen/livekit_analytics_pb.js +79 -0
- package/src/gen/livekit_egress_pb.d.ts +33 -0
- package/src/gen/livekit_egress_pb.js +13 -0
- 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_sip_pb.d.ts +122 -7
- package/src/gen/livekit_sip_pb.js +28 -3
- package/src/gen/livekit_webhook_pb.d.ts +2 -1
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -584,7 +584,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
584
584
|
{ no: 1, name: "INGRESS" },
|
|
585
585
|
{ no: 2, name: "EGRESS" },
|
|
586
586
|
{ no: 3, name: "SIP" },
|
|
587
|
-
{ no: 4, name: "AGENT" }
|
|
587
|
+
{ no: 4, name: "AGENT" },
|
|
588
|
+
{ no: 5, name: "FORWARDED" }
|
|
588
589
|
]
|
|
589
590
|
);
|
|
590
591
|
const Encryption = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1959,7 +1960,8 @@ const JobType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
1959
1960
|
"livekit.JobType",
|
|
1960
1961
|
[
|
|
1961
1962
|
{ no: 0, name: "JT_ROOM" },
|
|
1962
|
-
{ no: 1, name: "JT_PUBLISHER" }
|
|
1963
|
+
{ no: 1, name: "JT_PUBLISHER" },
|
|
1964
|
+
{ no: 2, name: "JT_PARTICIPANT" }
|
|
1963
1965
|
]
|
|
1964
1966
|
);
|
|
1965
1967
|
const WorkerStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2485,6 +2487,14 @@ const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
2485
2487
|
{ no: 2, name: "SRT" }
|
|
2486
2488
|
]
|
|
2487
2489
|
);
|
|
2490
|
+
const AudioMixing = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
2491
|
+
"livekit.AudioMixing",
|
|
2492
|
+
[
|
|
2493
|
+
{ no: 0, name: "DEFAULT_MIXING" },
|
|
2494
|
+
{ no: 1, name: "DUAL_CHANNEL_AGENT" },
|
|
2495
|
+
{ no: 2, name: "DUAL_CHANNEL_ALTERNATE" }
|
|
2496
|
+
]
|
|
2497
|
+
);
|
|
2488
2498
|
const EncodingOptionsPreset = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
2489
2499
|
"livekit.EncodingOptionsPreset",
|
|
2490
2500
|
[
|
|
@@ -2541,6 +2551,7 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
2541
2551
|
T: 8
|
|
2542
2552
|
/* ScalarType.BOOL */
|
|
2543
2553
|
},
|
|
2554
|
+
{ no: 15, name: "audio_mixing", kind: "enum", T: protobuf.proto3.getEnumType(AudioMixing) },
|
|
2544
2555
|
{
|
|
2545
2556
|
no: 4,
|
|
2546
2557
|
name: "video_only",
|
|
@@ -4365,6 +4376,36 @@ const RoomConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4365
4376
|
{ no: 10, name: "agents", kind: "message", T: RoomAgentDispatch, repeated: true }
|
|
4366
4377
|
]
|
|
4367
4378
|
);
|
|
4379
|
+
const ForwardParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
4380
|
+
"livekit.ForwardParticipantRequest",
|
|
4381
|
+
() => [
|
|
4382
|
+
{
|
|
4383
|
+
no: 1,
|
|
4384
|
+
name: "room",
|
|
4385
|
+
kind: "scalar",
|
|
4386
|
+
T: 9
|
|
4387
|
+
/* ScalarType.STRING */
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
no: 2,
|
|
4391
|
+
name: "identity",
|
|
4392
|
+
kind: "scalar",
|
|
4393
|
+
T: 9
|
|
4394
|
+
/* ScalarType.STRING */
|
|
4395
|
+
},
|
|
4396
|
+
{
|
|
4397
|
+
no: 3,
|
|
4398
|
+
name: "destination_room",
|
|
4399
|
+
kind: "scalar",
|
|
4400
|
+
T: 9
|
|
4401
|
+
/* ScalarType.STRING */
|
|
4402
|
+
}
|
|
4403
|
+
]
|
|
4404
|
+
);
|
|
4405
|
+
const ForwardParticipantResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
4406
|
+
"livekit.ForwardParticipantResponse",
|
|
4407
|
+
[]
|
|
4408
|
+
);
|
|
4368
4409
|
|
|
4369
4410
|
const SignalTarget = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
4370
4411
|
"livekit.SignalTarget",
|
|
@@ -5917,6 +5958,43 @@ const DeleteSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
5917
5958
|
}
|
|
5918
5959
|
]
|
|
5919
5960
|
);
|
|
5961
|
+
const SIPOutboundConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5962
|
+
"livekit.SIPOutboundConfig",
|
|
5963
|
+
() => [
|
|
5964
|
+
{
|
|
5965
|
+
no: 1,
|
|
5966
|
+
name: "hostname",
|
|
5967
|
+
kind: "scalar",
|
|
5968
|
+
T: 9
|
|
5969
|
+
/* ScalarType.STRING */
|
|
5970
|
+
},
|
|
5971
|
+
{ no: 2, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) },
|
|
5972
|
+
{
|
|
5973
|
+
no: 3,
|
|
5974
|
+
name: "auth_username",
|
|
5975
|
+
kind: "scalar",
|
|
5976
|
+
T: 9
|
|
5977
|
+
/* ScalarType.STRING */
|
|
5978
|
+
},
|
|
5979
|
+
{
|
|
5980
|
+
no: 4,
|
|
5981
|
+
name: "auth_password",
|
|
5982
|
+
kind: "scalar",
|
|
5983
|
+
T: 9
|
|
5984
|
+
/* ScalarType.STRING */
|
|
5985
|
+
},
|
|
5986
|
+
{ no: 5, name: "headers_to_attributes", kind: "map", K: 9, V: {
|
|
5987
|
+
kind: "scalar",
|
|
5988
|
+
T: 9
|
|
5989
|
+
/* ScalarType.STRING */
|
|
5990
|
+
} },
|
|
5991
|
+
{ no: 6, name: "attributes_to_headers", kind: "map", K: 9, V: {
|
|
5992
|
+
kind: "scalar",
|
|
5993
|
+
T: 9
|
|
5994
|
+
/* ScalarType.STRING */
|
|
5995
|
+
} }
|
|
5996
|
+
]
|
|
5997
|
+
);
|
|
5920
5998
|
const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5921
5999
|
"livekit.CreateSIPParticipantRequest",
|
|
5922
6000
|
() => [
|
|
@@ -5927,6 +6005,7 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5927
6005
|
T: 9
|
|
5928
6006
|
/* ScalarType.STRING */
|
|
5929
6007
|
},
|
|
6008
|
+
{ no: 20, name: "trunk", kind: "message", T: SIPOutboundConfig },
|
|
5930
6009
|
{
|
|
5931
6010
|
no: 2,
|
|
5932
6011
|
name: "sip_call_to",
|
|
@@ -6115,6 +6194,20 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6115
6194
|
T: 9
|
|
6116
6195
|
/* ScalarType.STRING */
|
|
6117
6196
|
},
|
|
6197
|
+
{
|
|
6198
|
+
no: 16,
|
|
6199
|
+
name: "dispatch_rule_id",
|
|
6200
|
+
kind: "scalar",
|
|
6201
|
+
T: 9
|
|
6202
|
+
/* ScalarType.STRING */
|
|
6203
|
+
},
|
|
6204
|
+
{
|
|
6205
|
+
no: 17,
|
|
6206
|
+
name: "region",
|
|
6207
|
+
kind: "scalar",
|
|
6208
|
+
T: 9
|
|
6209
|
+
/* ScalarType.STRING */
|
|
6210
|
+
},
|
|
6118
6211
|
{
|
|
6119
6212
|
no: 3,
|
|
6120
6213
|
name: "room_name",
|
|
@@ -6136,11 +6229,13 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6136
6229
|
T: 9
|
|
6137
6230
|
/* ScalarType.STRING */
|
|
6138
6231
|
},
|
|
6232
|
+
{ no: 18, name: "participant_attributes", kind: "map", K: 9, V: {
|
|
6233
|
+
kind: "scalar",
|
|
6234
|
+
T: 9
|
|
6235
|
+
/* ScalarType.STRING */
|
|
6236
|
+
} },
|
|
6139
6237
|
{ no: 6, name: "from_uri", kind: "message", T: SIPUri },
|
|
6140
6238
|
{ no: 7, name: "to_uri", kind: "message", T: SIPUri },
|
|
6141
|
-
{ no: 14, name: "enabled_features", kind: "enum", T: protobuf.proto3.getEnumType(SIPFeature), repeated: true },
|
|
6142
|
-
{ no: 15, name: "call_direction", kind: "enum", T: protobuf.proto3.getEnumType(SIPCallDirection) },
|
|
6143
|
-
{ no: 8, name: "call_status", kind: "enum", T: protobuf.proto3.getEnumType(SIPCallStatus) },
|
|
6144
6239
|
{
|
|
6145
6240
|
no: 9,
|
|
6146
6241
|
name: "created_at",
|
|
@@ -6162,6 +6257,30 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6162
6257
|
T: 3
|
|
6163
6258
|
/* ScalarType.INT64 */
|
|
6164
6259
|
},
|
|
6260
|
+
{ no: 14, name: "enabled_features", kind: "enum", T: protobuf.proto3.getEnumType(SIPFeature), repeated: true },
|
|
6261
|
+
{ no: 15, name: "call_direction", kind: "enum", T: protobuf.proto3.getEnumType(SIPCallDirection) },
|
|
6262
|
+
{ no: 8, name: "call_status", kind: "enum", T: protobuf.proto3.getEnumType(SIPCallStatus) },
|
|
6263
|
+
{
|
|
6264
|
+
no: 22,
|
|
6265
|
+
name: "created_at_ns",
|
|
6266
|
+
kind: "scalar",
|
|
6267
|
+
T: 3
|
|
6268
|
+
/* ScalarType.INT64 */
|
|
6269
|
+
},
|
|
6270
|
+
{
|
|
6271
|
+
no: 23,
|
|
6272
|
+
name: "started_at_ns",
|
|
6273
|
+
kind: "scalar",
|
|
6274
|
+
T: 3
|
|
6275
|
+
/* ScalarType.INT64 */
|
|
6276
|
+
},
|
|
6277
|
+
{
|
|
6278
|
+
no: 24,
|
|
6279
|
+
name: "ended_at_ns",
|
|
6280
|
+
kind: "scalar",
|
|
6281
|
+
T: 3
|
|
6282
|
+
/* ScalarType.INT64 */
|
|
6283
|
+
},
|
|
6165
6284
|
{ no: 12, name: "disconnect_reason", kind: "enum", T: protobuf.proto3.getEnumType(DisconnectReason) },
|
|
6166
6285
|
{
|
|
6167
6286
|
no: 13,
|
|
@@ -6169,6 +6288,21 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6169
6288
|
kind: "scalar",
|
|
6170
6289
|
T: 9
|
|
6171
6290
|
/* ScalarType.STRING */
|
|
6291
|
+
},
|
|
6292
|
+
{ no: 19, name: "call_status_code", kind: "message", T: SIPStatus },
|
|
6293
|
+
{
|
|
6294
|
+
no: 20,
|
|
6295
|
+
name: "audio_codec",
|
|
6296
|
+
kind: "scalar",
|
|
6297
|
+
T: 9
|
|
6298
|
+
/* ScalarType.STRING */
|
|
6299
|
+
},
|
|
6300
|
+
{
|
|
6301
|
+
no: 21,
|
|
6302
|
+
name: "media_encryption",
|
|
6303
|
+
kind: "scalar",
|
|
6304
|
+
T: 9
|
|
6305
|
+
/* ScalarType.STRING */
|
|
6172
6306
|
}
|
|
6173
6307
|
]
|
|
6174
6308
|
);
|
|
@@ -6246,7 +6380,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6246
6380
|
]
|
|
6247
6381
|
);
|
|
6248
6382
|
|
|
6249
|
-
const version = "1.
|
|
6383
|
+
const version = "1.35.0";
|
|
6250
6384
|
|
|
6251
6385
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6252
6386
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6255,6 +6389,7 @@ exports.AgentDispatch = AgentDispatch;
|
|
|
6255
6389
|
exports.AgentDispatchState = AgentDispatchState;
|
|
6256
6390
|
exports.AliOSSUpload = AliOSSUpload;
|
|
6257
6391
|
exports.AudioCodec = AudioCodec;
|
|
6392
|
+
exports.AudioMixing = AudioMixing;
|
|
6258
6393
|
exports.AudioTrackFeature = AudioTrackFeature;
|
|
6259
6394
|
exports.AutoParticipantEgress = AutoParticipantEgress;
|
|
6260
6395
|
exports.AutoTrackEgress = AutoTrackEgress;
|
|
@@ -6310,6 +6445,8 @@ exports.Encryption = Encryption;
|
|
|
6310
6445
|
exports.Encryption_Type = Encryption_Type;
|
|
6311
6446
|
exports.EventMetric = EventMetric;
|
|
6312
6447
|
exports.FileInfo = FileInfo;
|
|
6448
|
+
exports.ForwardParticipantRequest = ForwardParticipantRequest;
|
|
6449
|
+
exports.ForwardParticipantResponse = ForwardParticipantResponse;
|
|
6313
6450
|
exports.GCPUpload = GCPUpload;
|
|
6314
6451
|
exports.GetSIPInboundTrunkRequest = GetSIPInboundTrunkRequest;
|
|
6315
6452
|
exports.GetSIPInboundTrunkResponse = GetSIPInboundTrunkResponse;
|
|
@@ -6417,6 +6554,7 @@ exports.SIPFeature = SIPFeature;
|
|
|
6417
6554
|
exports.SIPHeaderOptions = SIPHeaderOptions;
|
|
6418
6555
|
exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
|
|
6419
6556
|
exports.SIPMediaEncryption = SIPMediaEncryption;
|
|
6557
|
+
exports.SIPOutboundConfig = SIPOutboundConfig;
|
|
6420
6558
|
exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
|
|
6421
6559
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|
|
6422
6560
|
exports.SIPStatus = SIPStatus;
|