@livekit/protocol 1.32.1 → 1.34.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 +141 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +427 -3
- package/dist/index.d.mts +427 -3
- package/dist/index.d.ts +427 -3
- package/dist/index.mjs +137 -6
- 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 +475 -0
- package/src/gen/livekit_analytics_pb.js +130 -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 +26 -0
- package/src/gen/livekit_models_pb.js +14 -0
- package/src/gen/livekit_rtc_pb.d.ts +6 -1
- package/src/gen/livekit_rtc_pb.js +2 -1
- package/src/gen/livekit_sip_pb.d.ts +357 -2
- package/src/gen/livekit_sip_pb.js +88 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -174,6 +174,13 @@ const ImageCodec = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
174
174
|
{ no: 1, name: "IC_JPEG" }
|
|
175
175
|
]
|
|
176
176
|
);
|
|
177
|
+
const BackupCodecPolicy = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
178
|
+
"livekit.BackupCodecPolicy",
|
|
179
|
+
[
|
|
180
|
+
{ no: 0, name: "REGRESSION" },
|
|
181
|
+
{ no: 1, name: "SIMULCAST" }
|
|
182
|
+
]
|
|
183
|
+
);
|
|
177
184
|
const TrackType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
178
185
|
"livekit.TrackType",
|
|
179
186
|
[
|
|
@@ -712,7 +719,8 @@ const TrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
712
719
|
/* ScalarType.STRING */
|
|
713
720
|
},
|
|
714
721
|
{ no: 18, name: "version", kind: "message", T: TimedVersion },
|
|
715
|
-
{ no: 19, name: "audio_features", kind: "enum", T: protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true }
|
|
722
|
+
{ no: 19, name: "audio_features", kind: "enum", T: protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true },
|
|
723
|
+
{ no: 20, name: "backup_codec_policy", kind: "enum", T: protobuf.proto3.getEnumType(BackupCodecPolicy) }
|
|
716
724
|
]
|
|
717
725
|
);
|
|
718
726
|
const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1951,7 +1959,8 @@ const JobType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
1951
1959
|
"livekit.JobType",
|
|
1952
1960
|
[
|
|
1953
1961
|
{ no: 0, name: "JT_ROOM" },
|
|
1954
|
-
{ no: 1, name: "JT_PUBLISHER" }
|
|
1962
|
+
{ no: 1, name: "JT_PUBLISHER" },
|
|
1963
|
+
{ no: 2, name: "JT_PARTICIPANT" }
|
|
1955
1964
|
]
|
|
1956
1965
|
);
|
|
1957
1966
|
const WorkerStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2477,6 +2486,14 @@ const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
2477
2486
|
{ no: 2, name: "SRT" }
|
|
2478
2487
|
]
|
|
2479
2488
|
);
|
|
2489
|
+
const AudioMixing = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
2490
|
+
"livekit.AudioMixing",
|
|
2491
|
+
[
|
|
2492
|
+
{ no: 0, name: "DEFAULT_MIXING" },
|
|
2493
|
+
{ no: 1, name: "DUAL_CHANNEL_AGENT" },
|
|
2494
|
+
{ no: 2, name: "DUAL_CHANNEL_ALTERNATE" }
|
|
2495
|
+
]
|
|
2496
|
+
);
|
|
2480
2497
|
const EncodingOptionsPreset = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
2481
2498
|
"livekit.EncodingOptionsPreset",
|
|
2482
2499
|
[
|
|
@@ -2533,6 +2550,7 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
2533
2550
|
T: 8
|
|
2534
2551
|
/* ScalarType.BOOL */
|
|
2535
2552
|
},
|
|
2553
|
+
{ no: 15, name: "audio_mixing", kind: "enum", T: protobuf.proto3.getEnumType(AudioMixing) },
|
|
2536
2554
|
{
|
|
2537
2555
|
no: 4,
|
|
2538
2556
|
name: "video_only",
|
|
@@ -4525,7 +4543,8 @@ const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4525
4543
|
kind: "scalar",
|
|
4526
4544
|
T: 9
|
|
4527
4545
|
/* ScalarType.STRING */
|
|
4528
|
-
}
|
|
4546
|
+
},
|
|
4547
|
+
{ no: 16, name: "backup_codec_policy", kind: "enum", T: protobuf.proto3.getEnumType(BackupCodecPolicy) }
|
|
4529
4548
|
]
|
|
4530
4549
|
);
|
|
4531
4550
|
const TrickleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5214,6 +5233,60 @@ const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5214
5233
|
]
|
|
5215
5234
|
);
|
|
5216
5235
|
|
|
5236
|
+
const SIPStatusCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5237
|
+
"livekit.SIPStatusCode",
|
|
5238
|
+
[
|
|
5239
|
+
{ no: 0, name: "SIP_STATUS_UNKNOWN" },
|
|
5240
|
+
{ no: 100, name: "SIP_STATUS_TRYING" },
|
|
5241
|
+
{ no: 180, name: "SIP_STATUS_RINGING" },
|
|
5242
|
+
{ no: 181, name: "SIP_STATUS_CALL_IS_FORWARDED" },
|
|
5243
|
+
{ no: 182, name: "SIP_STATUS_QUEUED" },
|
|
5244
|
+
{ no: 183, name: "SIP_STATUS_SESSION_PROGRESS" },
|
|
5245
|
+
{ no: 200, name: "SIP_STATUS_OK" },
|
|
5246
|
+
{ no: 202, name: "SIP_STATUS_ACCEPTED" },
|
|
5247
|
+
{ no: 301, name: "SIP_STATUS_MOVED_PERMANENTLY" },
|
|
5248
|
+
{ no: 302, name: "SIP_STATUS_MOVED_TEMPORARILY" },
|
|
5249
|
+
{ no: 305, name: "SIP_STATUS_USE_PROXY" },
|
|
5250
|
+
{ no: 400, name: "SIP_STATUS_BAD_REQUEST" },
|
|
5251
|
+
{ no: 401, name: "SIP_STATUS_UNAUTHORIZED" },
|
|
5252
|
+
{ no: 402, name: "SIP_STATUS_PAYMENT_REQUIRED" },
|
|
5253
|
+
{ no: 403, name: "SIP_STATUS_FORBIDDEN" },
|
|
5254
|
+
{ no: 404, name: "SIP_STATUS_NOTFOUND" },
|
|
5255
|
+
{ no: 405, name: "SIP_STATUS_METHOD_NOT_ALLOWED" },
|
|
5256
|
+
{ no: 406, name: "SIP_STATUS_NOT_ACCEPTABLE" },
|
|
5257
|
+
{ no: 407, name: "SIP_STATUS_PROXY_AUTH_REQUIRED" },
|
|
5258
|
+
{ no: 408, name: "SIP_STATUS_REQUEST_TIMEOUT" },
|
|
5259
|
+
{ no: 409, name: "SIP_STATUS_CONFLICT" },
|
|
5260
|
+
{ no: 410, name: "SIP_STATUS_GONE" },
|
|
5261
|
+
{ no: 413, name: "SIP_STATUS_REQUEST_ENTITY_TOO_LARGE" },
|
|
5262
|
+
{ no: 414, name: "SIP_STATUS_REQUEST_URI_TOO_LONG" },
|
|
5263
|
+
{ no: 415, name: "SIP_STATUS_UNSUPPORTED_MEDIA_TYPE" },
|
|
5264
|
+
{ no: 416, name: "SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE" },
|
|
5265
|
+
{ no: 420, name: "SIP_STATUS_BAD_EXTENSION" },
|
|
5266
|
+
{ no: 421, name: "SIP_STATUS_EXTENSION_REQUIRED" },
|
|
5267
|
+
{ no: 423, name: "SIP_STATUS_INTERVAL_TOO_BRIEF" },
|
|
5268
|
+
{ no: 480, name: "SIP_STATUS_TEMPORARILY_UNAVAILABLE" },
|
|
5269
|
+
{ no: 481, name: "SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS" },
|
|
5270
|
+
{ no: 482, name: "SIP_STATUS_LOOP_DETECTED" },
|
|
5271
|
+
{ no: 483, name: "SIP_STATUS_TOO_MANY_HOPS" },
|
|
5272
|
+
{ no: 484, name: "SIP_STATUS_ADDRESS_INCOMPLETE" },
|
|
5273
|
+
{ no: 485, name: "SIP_STATUS_AMBIGUOUS" },
|
|
5274
|
+
{ no: 486, name: "SIP_STATUS_BUSY_HERE" },
|
|
5275
|
+
{ no: 487, name: "SIP_STATUS_REQUEST_TERMINATED" },
|
|
5276
|
+
{ no: 488, name: "SIP_STATUS_NOT_ACCEPTABLE_HERE" },
|
|
5277
|
+
{ no: 500, name: "SIP_STATUS_INTERNAL_SERVER_ERROR" },
|
|
5278
|
+
{ no: 501, name: "SIP_STATUS_NOT_IMPLEMENTED" },
|
|
5279
|
+
{ no: 502, name: "SIP_STATUS_BAD_GATEWAY" },
|
|
5280
|
+
{ no: 503, name: "SIP_STATUS_SERVICE_UNAVAILABLE" },
|
|
5281
|
+
{ no: 504, name: "SIP_STATUS_GATEWAY_TIMEOUT" },
|
|
5282
|
+
{ no: 505, name: "SIP_STATUS_VERSION_NOT_SUPPORTED" },
|
|
5283
|
+
{ no: 513, name: "SIP_STATUS_MESSAGE_TOO_LARGE" },
|
|
5284
|
+
{ no: 600, name: "SIP_STATUS_GLOBAL_BUSY_EVERYWHERE" },
|
|
5285
|
+
{ no: 603, name: "SIP_STATUS_GLOBAL_DECLINE" },
|
|
5286
|
+
{ no: 604, name: "SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE" },
|
|
5287
|
+
{ no: 606, name: "SIP_STATUS_GLOBAL_NOT_ACCEPTABLE" }
|
|
5288
|
+
]
|
|
5289
|
+
);
|
|
5217
5290
|
const SIPTransport = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5218
5291
|
"livekit.SIPTransport",
|
|
5219
5292
|
[
|
|
@@ -5264,6 +5337,19 @@ const SIPCallDirection = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
5264
5337
|
{ no: 2, name: "SCD_OUTBOUND" }
|
|
5265
5338
|
]
|
|
5266
5339
|
);
|
|
5340
|
+
const SIPStatus = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5341
|
+
"livekit.SIPStatus",
|
|
5342
|
+
() => [
|
|
5343
|
+
{ no: 1, name: "code", kind: "enum", T: protobuf.proto3.getEnumType(SIPStatusCode) },
|
|
5344
|
+
{
|
|
5345
|
+
no: 2,
|
|
5346
|
+
name: "status",
|
|
5347
|
+
kind: "scalar",
|
|
5348
|
+
T: 9
|
|
5349
|
+
/* ScalarType.STRING */
|
|
5350
|
+
}
|
|
5351
|
+
]
|
|
5352
|
+
);
|
|
5267
5353
|
const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5268
5354
|
"livekit.CreateSIPTrunkRequest",
|
|
5269
5355
|
() => [
|
|
@@ -5841,6 +5927,43 @@ const DeleteSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessage
|
|
|
5841
5927
|
}
|
|
5842
5928
|
]
|
|
5843
5929
|
);
|
|
5930
|
+
const SIPOutboundConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5931
|
+
"livekit.SIPOutboundConfig",
|
|
5932
|
+
() => [
|
|
5933
|
+
{
|
|
5934
|
+
no: 1,
|
|
5935
|
+
name: "hostname",
|
|
5936
|
+
kind: "scalar",
|
|
5937
|
+
T: 9
|
|
5938
|
+
/* ScalarType.STRING */
|
|
5939
|
+
},
|
|
5940
|
+
{ no: 2, name: "transport", kind: "enum", T: protobuf.proto3.getEnumType(SIPTransport) },
|
|
5941
|
+
{
|
|
5942
|
+
no: 3,
|
|
5943
|
+
name: "auth_username",
|
|
5944
|
+
kind: "scalar",
|
|
5945
|
+
T: 9
|
|
5946
|
+
/* ScalarType.STRING */
|
|
5947
|
+
},
|
|
5948
|
+
{
|
|
5949
|
+
no: 4,
|
|
5950
|
+
name: "auth_password",
|
|
5951
|
+
kind: "scalar",
|
|
5952
|
+
T: 9
|
|
5953
|
+
/* ScalarType.STRING */
|
|
5954
|
+
},
|
|
5955
|
+
{ no: 5, name: "headers_to_attributes", kind: "map", K: 9, V: {
|
|
5956
|
+
kind: "scalar",
|
|
5957
|
+
T: 9
|
|
5958
|
+
/* ScalarType.STRING */
|
|
5959
|
+
} },
|
|
5960
|
+
{ no: 6, name: "attributes_to_headers", kind: "map", K: 9, V: {
|
|
5961
|
+
kind: "scalar",
|
|
5962
|
+
T: 9
|
|
5963
|
+
/* ScalarType.STRING */
|
|
5964
|
+
} }
|
|
5965
|
+
]
|
|
5966
|
+
);
|
|
5844
5967
|
const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5845
5968
|
"livekit.CreateSIPParticipantRequest",
|
|
5846
5969
|
() => [
|
|
@@ -5851,6 +5974,7 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5851
5974
|
T: 9
|
|
5852
5975
|
/* ScalarType.STRING */
|
|
5853
5976
|
},
|
|
5977
|
+
{ no: 20, name: "trunk", kind: "message", T: SIPOutboundConfig },
|
|
5854
5978
|
{
|
|
5855
5979
|
no: 2,
|
|
5856
5980
|
name: "sip_call_to",
|
|
@@ -5941,7 +6065,14 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5941
6065
|
T: 8
|
|
5942
6066
|
/* ScalarType.BOOL */
|
|
5943
6067
|
},
|
|
5944
|
-
{ no: 18, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
|
|
6068
|
+
{ no: 18, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
|
|
6069
|
+
{
|
|
6070
|
+
no: 19,
|
|
6071
|
+
name: "wait_until_answered",
|
|
6072
|
+
kind: "scalar",
|
|
6073
|
+
T: 8
|
|
6074
|
+
/* ScalarType.BOOL */
|
|
6075
|
+
}
|
|
5945
6076
|
]
|
|
5946
6077
|
);
|
|
5947
6078
|
const SIPParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6163,7 +6294,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6163
6294
|
]
|
|
6164
6295
|
);
|
|
6165
6296
|
|
|
6166
|
-
const version = "1.
|
|
6297
|
+
const version = "1.34.0";
|
|
6167
6298
|
|
|
6168
6299
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6169
6300
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6172,12 +6303,14 @@ exports.AgentDispatch = AgentDispatch;
|
|
|
6172
6303
|
exports.AgentDispatchState = AgentDispatchState;
|
|
6173
6304
|
exports.AliOSSUpload = AliOSSUpload;
|
|
6174
6305
|
exports.AudioCodec = AudioCodec;
|
|
6306
|
+
exports.AudioMixing = AudioMixing;
|
|
6175
6307
|
exports.AudioTrackFeature = AudioTrackFeature;
|
|
6176
6308
|
exports.AutoParticipantEgress = AutoParticipantEgress;
|
|
6177
6309
|
exports.AutoTrackEgress = AutoTrackEgress;
|
|
6178
6310
|
exports.AvailabilityRequest = AvailabilityRequest;
|
|
6179
6311
|
exports.AvailabilityResponse = AvailabilityResponse;
|
|
6180
6312
|
exports.AzureBlobUpload = AzureBlobUpload;
|
|
6313
|
+
exports.BackupCodecPolicy = BackupCodecPolicy;
|
|
6181
6314
|
exports.CandidateProtocol = CandidateProtocol;
|
|
6182
6315
|
exports.ChatMessage = ChatMessage;
|
|
6183
6316
|
exports.ClientConfigSetting = ClientConfigSetting;
|
|
@@ -6333,8 +6466,11 @@ exports.SIPFeature = SIPFeature;
|
|
|
6333
6466
|
exports.SIPHeaderOptions = SIPHeaderOptions;
|
|
6334
6467
|
exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
|
|
6335
6468
|
exports.SIPMediaEncryption = SIPMediaEncryption;
|
|
6469
|
+
exports.SIPOutboundConfig = SIPOutboundConfig;
|
|
6336
6470
|
exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
|
|
6337
6471
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|
|
6472
|
+
exports.SIPStatus = SIPStatus;
|
|
6473
|
+
exports.SIPStatusCode = SIPStatusCode;
|
|
6338
6474
|
exports.SIPTransport = SIPTransport;
|
|
6339
6475
|
exports.SIPTrunkInfo = SIPTrunkInfo;
|
|
6340
6476
|
exports.SIPTrunkInfo_TrunkKind = SIPTrunkInfo_TrunkKind;
|