@livekit/protocol 1.36.1 → 1.37.1
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 +49 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +127 -4
- package/dist/index.d.mts +127 -4
- package/dist/index.d.ts +127 -4
- package/dist/index.mjs +49 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +1 -1
- package/src/gen/livekit_agent_dispatch_pb.js +1 -1
- package/src/gen/livekit_agent_pb.d.ts +1 -1
- package/src/gen/livekit_agent_pb.js +1 -1
- package/src/gen/livekit_analytics_pb.d.ts +1 -1
- package/src/gen/livekit_analytics_pb.js +1 -1
- package/src/gen/livekit_cloud_agent_pb.d.ts +1 -1
- package/src/gen/livekit_cloud_agent_pb.js +1 -1
- package/src/gen/livekit_egress_pb.d.ts +44 -2
- package/src/gen/livekit_egress_pb.js +8 -2
- package/src/gen/livekit_ingress_pb.d.ts +1 -1
- package/src/gen/livekit_ingress_pb.js +1 -1
- package/src/gen/livekit_internal_pb.d.ts +180 -21
- package/src/gen/livekit_internal_pb.js +36 -1
- package/src/gen/livekit_metrics_pb.d.ts +1 -1
- package/src/gen/livekit_metrics_pb.js +1 -1
- package/src/gen/livekit_models_pb.d.ts +49 -1
- package/src/gen/livekit_models_pb.js +15 -1
- package/src/gen/livekit_room_pb.d.ts +1 -1
- package/src/gen/livekit_room_pb.js +1 -1
- package/src/gen/livekit_rtc_pb.d.ts +14 -3
- package/src/gen/livekit_rtc_pb.js +2 -1
- package/src/gen/livekit_sip_pb.d.ts +23 -1
- package/src/gen/livekit_sip_pb.js +5 -1
- package/src/gen/livekit_webhook_pb.d.ts +1 -1
- package/src/gen/livekit_webhook_pb.js +1 -1
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -242,7 +242,8 @@ const DisconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
242
242
|
{ no: 10, name: "ROOM_CLOSED" },
|
|
243
243
|
{ no: 11, name: "USER_UNAVAILABLE" },
|
|
244
244
|
{ no: 12, name: "USER_REJECTED" },
|
|
245
|
-
{ no: 13, name: "SIP_TRUNK_FAILURE" }
|
|
245
|
+
{ no: 13, name: "SIP_TRUNK_FAILURE" },
|
|
246
|
+
{ no: 14, name: "CONNECTION_TIMEOUT" }
|
|
246
247
|
]
|
|
247
248
|
);
|
|
248
249
|
const ReconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -271,7 +272,8 @@ const AudioTrackFeature = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
271
272
|
{ no: 2, name: "TF_AUTO_GAIN_CONTROL" },
|
|
272
273
|
{ no: 3, name: "TF_ECHO_CANCELLATION" },
|
|
273
274
|
{ no: 4, name: "TF_NOISE_SUPPRESSION" },
|
|
274
|
-
{ no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" }
|
|
275
|
+
{ no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION" },
|
|
276
|
+
{ no: 6, name: "TF_PRECONNECT_BUFFER" }
|
|
275
277
|
]
|
|
276
278
|
);
|
|
277
279
|
const Pagination = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1254,7 +1256,8 @@ const ClientInfo_SDK = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
1254
1256
|
{ no: 9, name: "PYTHON" },
|
|
1255
1257
|
{ no: 10, name: "CPP" },
|
|
1256
1258
|
{ no: 11, name: "UNITY_WEB" },
|
|
1257
|
-
{ no: 12, name: "NODE" }
|
|
1259
|
+
{ no: 12, name: "NODE" },
|
|
1260
|
+
{ no: 13, name: "UNREAL" }
|
|
1258
1261
|
]
|
|
1259
1262
|
);
|
|
1260
1263
|
const ClientConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1969,6 +1972,25 @@ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1969
1972
|
],
|
|
1970
1973
|
{ localName: "DataStream_Trailer" }
|
|
1971
1974
|
);
|
|
1975
|
+
const WebhookConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1976
|
+
"livekit.WebhookConfig",
|
|
1977
|
+
() => [
|
|
1978
|
+
{
|
|
1979
|
+
no: 1,
|
|
1980
|
+
name: "url",
|
|
1981
|
+
kind: "scalar",
|
|
1982
|
+
T: 9
|
|
1983
|
+
/* ScalarType.STRING */
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
no: 2,
|
|
1987
|
+
name: "signing_key",
|
|
1988
|
+
kind: "scalar",
|
|
1989
|
+
T: 9
|
|
1990
|
+
/* ScalarType.STRING */
|
|
1991
|
+
}
|
|
1992
|
+
]
|
|
1993
|
+
);
|
|
1972
1994
|
|
|
1973
1995
|
const JobType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
1974
1996
|
"livekit.JobType",
|
|
@@ -2490,7 +2512,8 @@ const ImageFileSuffix = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
2490
2512
|
"livekit.ImageFileSuffix",
|
|
2491
2513
|
[
|
|
2492
2514
|
{ no: 0, name: "IMAGE_SUFFIX_INDEX" },
|
|
2493
|
-
{ no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" }
|
|
2515
|
+
{ no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" },
|
|
2516
|
+
{ no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE" }
|
|
2494
2517
|
]
|
|
2495
2518
|
);
|
|
2496
2519
|
const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2588,7 +2611,8 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
2588
2611
|
{ no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2589
2612
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2590
2613
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2591
|
-
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2614
|
+
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2615
|
+
{ no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2592
2616
|
]
|
|
2593
2617
|
);
|
|
2594
2618
|
const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2630,7 +2654,8 @@ const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2630
2654
|
{ no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2631
2655
|
{ no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2632
2656
|
{ no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2633
|
-
{ no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2657
|
+
{ no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2658
|
+
{ no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2634
2659
|
]
|
|
2635
2660
|
);
|
|
2636
2661
|
const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2662,7 +2687,8 @@ const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType
|
|
|
2662
2687
|
{ no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2663
2688
|
{ no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2664
2689
|
{ no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2665
|
-
{ no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2690
|
+
{ no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2691
|
+
{ no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2666
2692
|
]
|
|
2667
2693
|
);
|
|
2668
2694
|
const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2697,7 +2723,8 @@ const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
2697
2723
|
{ no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2698
2724
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2699
2725
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2700
|
-
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2726
|
+
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2727
|
+
{ no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2701
2728
|
]
|
|
2702
2729
|
);
|
|
2703
2730
|
const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2718,7 +2745,8 @@ const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2718
2745
|
/* ScalarType.STRING */
|
|
2719
2746
|
},
|
|
2720
2747
|
{ no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
|
|
2721
|
-
{ no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" }
|
|
2748
|
+
{ no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" },
|
|
2749
|
+
{ no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2722
2750
|
]
|
|
2723
2751
|
);
|
|
2724
2752
|
const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -4589,7 +4617,8 @@ const AddTrackRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4589
4617
|
T: 9
|
|
4590
4618
|
/* ScalarType.STRING */
|
|
4591
4619
|
},
|
|
4592
|
-
{ no: 16, name: "backup_codec_policy", kind: "enum", T: protobuf.proto3.getEnumType(BackupCodecPolicy) }
|
|
4620
|
+
{ no: 16, name: "backup_codec_policy", kind: "enum", T: protobuf.proto3.getEnumType(BackupCodecPolicy) },
|
|
4621
|
+
{ no: 17, name: "audio_features", kind: "enum", T: protobuf.proto3.getEnumType(AudioTrackFeature), repeated: true }
|
|
4593
4622
|
]
|
|
4594
4623
|
);
|
|
4595
4624
|
const TrickleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5638,7 +5667,8 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5638
5667
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5639
5668
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5640
5669
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5641
|
-
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
|
|
5670
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
|
|
5671
|
+
{ no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
5642
5672
|
]
|
|
5643
5673
|
);
|
|
5644
5674
|
const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5736,7 +5766,8 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5736
5766
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5737
5767
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5738
5768
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5739
|
-
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
|
|
5769
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
|
|
5770
|
+
{ no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
5740
5771
|
]
|
|
5741
5772
|
);
|
|
5742
5773
|
const GetSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6024,7 +6055,8 @@ const SIPDispatchRuleUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6024
6055
|
kind: "scalar",
|
|
6025
6056
|
T: 9
|
|
6026
6057
|
/* ScalarType.STRING */
|
|
6027
|
-
} }
|
|
6058
|
+
} },
|
|
6059
|
+
{ no: 6, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
6028
6060
|
]
|
|
6029
6061
|
);
|
|
6030
6062
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6269,7 +6301,8 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessag
|
|
|
6269
6301
|
kind: "scalar",
|
|
6270
6302
|
T: 9
|
|
6271
6303
|
/* ScalarType.STRING */
|
|
6272
|
-
} }
|
|
6304
|
+
} },
|
|
6305
|
+
{ no: 6, name: "ringing_timeout", kind: "message", T: protobuf.Duration }
|
|
6273
6306
|
]
|
|
6274
6307
|
);
|
|
6275
6308
|
const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6475,7 +6508,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6475
6508
|
]
|
|
6476
6509
|
);
|
|
6477
6510
|
|
|
6478
|
-
const version = "1.
|
|
6511
|
+
const version = "1.37.1";
|
|
6479
6512
|
|
|
6480
6513
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6481
6514
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6740,6 +6773,7 @@ exports.VideoConfiguration = VideoConfiguration;
|
|
|
6740
6773
|
exports.VideoLayer = VideoLayer;
|
|
6741
6774
|
exports.VideoQuality = VideoQuality;
|
|
6742
6775
|
exports.WebEgressRequest = WebEgressRequest;
|
|
6776
|
+
exports.WebhookConfig = WebhookConfig;
|
|
6743
6777
|
exports.WebhookEvent = WebhookEvent;
|
|
6744
6778
|
exports.WorkerMessage = WorkerMessage;
|
|
6745
6779
|
exports.WorkerPing = WorkerPing;
|