@livekit/protocol 1.32.0 → 1.33.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 +113 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +341 -3
- package/dist/index.d.mts +341 -3
- package/dist/index.d.ts +341 -3
- package/dist/index.mjs +111 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/livekit_analytics_pb.d.ts +147 -0
- package/src/gen/livekit_analytics_pb.js +51 -0
- package/src/gen/livekit_models_pb.d.ts +38 -0
- package/src/gen/livekit_models_pb.js +16 -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 +6 -1
- package/src/gen/livekit_rtc_pb.js +2 -1
- package/src/gen/livekit_sip_pb.d.ts +290 -2
- package/src/gen/livekit_sip_pb.js +72 -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
|
[
|
|
@@ -330,6 +337,13 @@ const Room = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
330
337
|
T: 3
|
|
331
338
|
/* ScalarType.INT64 */
|
|
332
339
|
},
|
|
340
|
+
{
|
|
341
|
+
no: 15,
|
|
342
|
+
name: "creation_time_ms",
|
|
343
|
+
kind: "scalar",
|
|
344
|
+
T: 3
|
|
345
|
+
/* ScalarType.INT64 */
|
|
346
|
+
},
|
|
333
347
|
{
|
|
334
348
|
no: 6,
|
|
335
349
|
name: "turn_password",
|
|
@@ -705,7 +719,8 @@ const TrackInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
705
719
|
/* ScalarType.STRING */
|
|
706
720
|
},
|
|
707
721
|
{ no: 18, name: "version", kind: "message", T: TimedVersion },
|
|
708
|
-
{ 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) }
|
|
709
724
|
]
|
|
710
725
|
);
|
|
711
726
|
const VideoLayer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -836,7 +851,14 @@ const UserPacket = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
836
851
|
{ no: 4, name: "topic", kind: "scalar", T: 9, opt: true },
|
|
837
852
|
{ no: 8, name: "id", kind: "scalar", T: 9, opt: true },
|
|
838
853
|
{ no: 9, name: "start_time", kind: "scalar", T: 4, opt: true },
|
|
839
|
-
{ no: 10, name: "end_time", kind: "scalar", T: 4, opt: true }
|
|
854
|
+
{ no: 10, name: "end_time", kind: "scalar", T: 4, opt: true },
|
|
855
|
+
{
|
|
856
|
+
no: 11,
|
|
857
|
+
name: "nonce",
|
|
858
|
+
kind: "scalar",
|
|
859
|
+
T: 12
|
|
860
|
+
/* ScalarType.BYTES */
|
|
861
|
+
}
|
|
840
862
|
]
|
|
841
863
|
);
|
|
842
864
|
const SipDTMF = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -4254,7 +4276,14 @@ const SendDataRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4254
4276
|
{ no: 3, name: "kind", kind: "enum", T: protobuf.proto3.getEnumType(DataPacket_Kind) },
|
|
4255
4277
|
{ no: 4, name: "destination_sids", kind: "scalar", T: 9, repeated: true },
|
|
4256
4278
|
{ no: 6, name: "destination_identities", kind: "scalar", T: 9, repeated: true },
|
|
4257
|
-
{ no: 5, name: "topic", kind: "scalar", T: 9, opt: true }
|
|
4279
|
+
{ no: 5, name: "topic", kind: "scalar", T: 9, opt: true },
|
|
4280
|
+
{
|
|
4281
|
+
no: 7,
|
|
4282
|
+
name: "nonce",
|
|
4283
|
+
kind: "scalar",
|
|
4284
|
+
T: 12
|
|
4285
|
+
/* ScalarType.BYTES */
|
|
4286
|
+
}
|
|
4258
4287
|
]
|
|
4259
4288
|
);
|
|
4260
4289
|
const SendDataResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -4504,7 +4533,8 @@ const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4504
4533
|
kind: "scalar",
|
|
4505
4534
|
T: 9
|
|
4506
4535
|
/* ScalarType.STRING */
|
|
4507
|
-
}
|
|
4536
|
+
},
|
|
4537
|
+
{ no: 16, name: "backup_codec_policy", kind: "enum", T: protobuf.proto3.getEnumType(BackupCodecPolicy) }
|
|
4508
4538
|
]
|
|
4509
4539
|
);
|
|
4510
4540
|
const TrickleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5193,6 +5223,60 @@ const TrackSubscribed = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5193
5223
|
]
|
|
5194
5224
|
);
|
|
5195
5225
|
|
|
5226
|
+
const SIPStatusCode = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5227
|
+
"livekit.SIPStatusCode",
|
|
5228
|
+
[
|
|
5229
|
+
{ no: 0, name: "SIP_STATUS_UNKNOWN" },
|
|
5230
|
+
{ no: 100, name: "SIP_STATUS_TRYING" },
|
|
5231
|
+
{ no: 180, name: "SIP_STATUS_RINGING" },
|
|
5232
|
+
{ no: 181, name: "SIP_STATUS_CALL_IS_FORWARDED" },
|
|
5233
|
+
{ no: 182, name: "SIP_STATUS_QUEUED" },
|
|
5234
|
+
{ no: 183, name: "SIP_STATUS_SESSION_PROGRESS" },
|
|
5235
|
+
{ no: 200, name: "SIP_STATUS_OK" },
|
|
5236
|
+
{ no: 202, name: "SIP_STATUS_ACCEPTED" },
|
|
5237
|
+
{ no: 301, name: "SIP_STATUS_MOVED_PERMANENTLY" },
|
|
5238
|
+
{ no: 302, name: "SIP_STATUS_MOVED_TEMPORARILY" },
|
|
5239
|
+
{ no: 305, name: "SIP_STATUS_USE_PROXY" },
|
|
5240
|
+
{ no: 400, name: "SIP_STATUS_BAD_REQUEST" },
|
|
5241
|
+
{ no: 401, name: "SIP_STATUS_UNAUTHORIZED" },
|
|
5242
|
+
{ no: 402, name: "SIP_STATUS_PAYMENT_REQUIRED" },
|
|
5243
|
+
{ no: 403, name: "SIP_STATUS_FORBIDDEN" },
|
|
5244
|
+
{ no: 404, name: "SIP_STATUS_NOTFOUND" },
|
|
5245
|
+
{ no: 405, name: "SIP_STATUS_METHOD_NOT_ALLOWED" },
|
|
5246
|
+
{ no: 406, name: "SIP_STATUS_NOT_ACCEPTABLE" },
|
|
5247
|
+
{ no: 407, name: "SIP_STATUS_PROXY_AUTH_REQUIRED" },
|
|
5248
|
+
{ no: 408, name: "SIP_STATUS_REQUEST_TIMEOUT" },
|
|
5249
|
+
{ no: 409, name: "SIP_STATUS_CONFLICT" },
|
|
5250
|
+
{ no: 410, name: "SIP_STATUS_GONE" },
|
|
5251
|
+
{ no: 413, name: "SIP_STATUS_REQUEST_ENTITY_TOO_LARGE" },
|
|
5252
|
+
{ no: 414, name: "SIP_STATUS_REQUEST_URI_TOO_LONG" },
|
|
5253
|
+
{ no: 415, name: "SIP_STATUS_UNSUPPORTED_MEDIA_TYPE" },
|
|
5254
|
+
{ no: 416, name: "SIP_STATUS_REQUESTED_RANGE_NOT_SATISFIABLE" },
|
|
5255
|
+
{ no: 420, name: "SIP_STATUS_BAD_EXTENSION" },
|
|
5256
|
+
{ no: 421, name: "SIP_STATUS_EXTENSION_REQUIRED" },
|
|
5257
|
+
{ no: 423, name: "SIP_STATUS_INTERVAL_TOO_BRIEF" },
|
|
5258
|
+
{ no: 480, name: "SIP_STATUS_TEMPORARILY_UNAVAILABLE" },
|
|
5259
|
+
{ no: 481, name: "SIP_STATUS_CALL_TRANSACTION_DOES_NOT_EXISTS" },
|
|
5260
|
+
{ no: 482, name: "SIP_STATUS_LOOP_DETECTED" },
|
|
5261
|
+
{ no: 483, name: "SIP_STATUS_TOO_MANY_HOPS" },
|
|
5262
|
+
{ no: 484, name: "SIP_STATUS_ADDRESS_INCOMPLETE" },
|
|
5263
|
+
{ no: 485, name: "SIP_STATUS_AMBIGUOUS" },
|
|
5264
|
+
{ no: 486, name: "SIP_STATUS_BUSY_HERE" },
|
|
5265
|
+
{ no: 487, name: "SIP_STATUS_REQUEST_TERMINATED" },
|
|
5266
|
+
{ no: 488, name: "SIP_STATUS_NOT_ACCEPTABLE_HERE" },
|
|
5267
|
+
{ no: 500, name: "SIP_STATUS_INTERNAL_SERVER_ERROR" },
|
|
5268
|
+
{ no: 501, name: "SIP_STATUS_NOT_IMPLEMENTED" },
|
|
5269
|
+
{ no: 502, name: "SIP_STATUS_BAD_GATEWAY" },
|
|
5270
|
+
{ no: 503, name: "SIP_STATUS_SERVICE_UNAVAILABLE" },
|
|
5271
|
+
{ no: 504, name: "SIP_STATUS_GATEWAY_TIMEOUT" },
|
|
5272
|
+
{ no: 505, name: "SIP_STATUS_VERSION_NOT_SUPPORTED" },
|
|
5273
|
+
{ no: 513, name: "SIP_STATUS_MESSAGE_TOO_LARGE" },
|
|
5274
|
+
{ no: 600, name: "SIP_STATUS_GLOBAL_BUSY_EVERYWHERE" },
|
|
5275
|
+
{ no: 603, name: "SIP_STATUS_GLOBAL_DECLINE" },
|
|
5276
|
+
{ no: 604, name: "SIP_STATUS_GLOBAL_DOES_NOT_EXIST_ANYWHERE" },
|
|
5277
|
+
{ no: 606, name: "SIP_STATUS_GLOBAL_NOT_ACCEPTABLE" }
|
|
5278
|
+
]
|
|
5279
|
+
);
|
|
5196
5280
|
const SIPTransport = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5197
5281
|
"livekit.SIPTransport",
|
|
5198
5282
|
[
|
|
@@ -5243,6 +5327,19 @@ const SIPCallDirection = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
5243
5327
|
{ no: 2, name: "SCD_OUTBOUND" }
|
|
5244
5328
|
]
|
|
5245
5329
|
);
|
|
5330
|
+
const SIPStatus = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5331
|
+
"livekit.SIPStatus",
|
|
5332
|
+
() => [
|
|
5333
|
+
{ no: 1, name: "code", kind: "enum", T: protobuf.proto3.getEnumType(SIPStatusCode) },
|
|
5334
|
+
{
|
|
5335
|
+
no: 2,
|
|
5336
|
+
name: "status",
|
|
5337
|
+
kind: "scalar",
|
|
5338
|
+
T: 9
|
|
5339
|
+
/* ScalarType.STRING */
|
|
5340
|
+
}
|
|
5341
|
+
]
|
|
5342
|
+
);
|
|
5246
5343
|
const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5247
5344
|
"livekit.CreateSIPTrunkRequest",
|
|
5248
5345
|
() => [
|
|
@@ -5920,7 +6017,14 @@ const CreateSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
5920
6017
|
T: 8
|
|
5921
6018
|
/* ScalarType.BOOL */
|
|
5922
6019
|
},
|
|
5923
|
-
{ no: 18, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) }
|
|
6020
|
+
{ no: 18, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption) },
|
|
6021
|
+
{
|
|
6022
|
+
no: 19,
|
|
6023
|
+
name: "wait_until_answered",
|
|
6024
|
+
kind: "scalar",
|
|
6025
|
+
T: 8
|
|
6026
|
+
/* ScalarType.BOOL */
|
|
6027
|
+
}
|
|
5924
6028
|
]
|
|
5925
6029
|
);
|
|
5926
6030
|
const SIPParticipantInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6142,7 +6246,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6142
6246
|
]
|
|
6143
6247
|
);
|
|
6144
6248
|
|
|
6145
|
-
const version = "1.
|
|
6249
|
+
const version = "1.33.0";
|
|
6146
6250
|
|
|
6147
6251
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6148
6252
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6157,6 +6261,7 @@ exports.AutoTrackEgress = AutoTrackEgress;
|
|
|
6157
6261
|
exports.AvailabilityRequest = AvailabilityRequest;
|
|
6158
6262
|
exports.AvailabilityResponse = AvailabilityResponse;
|
|
6159
6263
|
exports.AzureBlobUpload = AzureBlobUpload;
|
|
6264
|
+
exports.BackupCodecPolicy = BackupCodecPolicy;
|
|
6160
6265
|
exports.CandidateProtocol = CandidateProtocol;
|
|
6161
6266
|
exports.ChatMessage = ChatMessage;
|
|
6162
6267
|
exports.ClientConfigSetting = ClientConfigSetting;
|
|
@@ -6314,6 +6419,8 @@ exports.SIPInboundTrunkInfo = SIPInboundTrunkInfo;
|
|
|
6314
6419
|
exports.SIPMediaEncryption = SIPMediaEncryption;
|
|
6315
6420
|
exports.SIPOutboundTrunkInfo = SIPOutboundTrunkInfo;
|
|
6316
6421
|
exports.SIPParticipantInfo = SIPParticipantInfo;
|
|
6422
|
+
exports.SIPStatus = SIPStatus;
|
|
6423
|
+
exports.SIPStatusCode = SIPStatusCode;
|
|
6317
6424
|
exports.SIPTransport = SIPTransport;
|
|
6318
6425
|
exports.SIPTrunkInfo = SIPTrunkInfo;
|
|
6319
6426
|
exports.SIPTrunkInfo_TrunkKind = SIPTrunkInfo_TrunkKind;
|