@livekit/protocol 1.36.0 → 1.37.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 +48 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +118 -5
- package/dist/index.d.mts +118 -5
- package/dist/index.d.ts +118 -5
- package/dist/index.mjs +48 -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 +53 -4
- package/src/gen/livekit_models_pb.js +16 -2
- 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 +1 -1
- package/src/gen/livekit_rtc_pb.js +1 -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
|
@@ -177,8 +177,9 @@ const ImageCodec = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
177
177
|
const BackupCodecPolicy = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
178
178
|
"livekit.BackupCodecPolicy",
|
|
179
179
|
[
|
|
180
|
-
{ no: 0, name: "
|
|
181
|
-
{ no: 1, name: "SIMULCAST" }
|
|
180
|
+
{ no: 0, name: "PREFER_REGRESSION" },
|
|
181
|
+
{ no: 1, name: "SIMULCAST" },
|
|
182
|
+
{ no: 2, name: "REGRESSION" }
|
|
182
183
|
]
|
|
183
184
|
);
|
|
184
185
|
const TrackType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -241,7 +242,8 @@ const DisconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
241
242
|
{ no: 10, name: "ROOM_CLOSED" },
|
|
242
243
|
{ no: 11, name: "USER_UNAVAILABLE" },
|
|
243
244
|
{ no: 12, name: "USER_REJECTED" },
|
|
244
|
-
{ no: 13, name: "SIP_TRUNK_FAILURE" }
|
|
245
|
+
{ no: 13, name: "SIP_TRUNK_FAILURE" },
|
|
246
|
+
{ no: 14, name: "CONNECTION_TIMEOUT" }
|
|
245
247
|
]
|
|
246
248
|
);
|
|
247
249
|
const ReconnectReason = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -1253,7 +1255,8 @@ const ClientInfo_SDK = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
1253
1255
|
{ no: 9, name: "PYTHON" },
|
|
1254
1256
|
{ no: 10, name: "CPP" },
|
|
1255
1257
|
{ no: 11, name: "UNITY_WEB" },
|
|
1256
|
-
{ no: 12, name: "NODE" }
|
|
1258
|
+
{ no: 12, name: "NODE" },
|
|
1259
|
+
{ no: 13, name: "UNREAL" }
|
|
1257
1260
|
]
|
|
1258
1261
|
);
|
|
1259
1262
|
const ClientConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1968,6 +1971,25 @@ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1968
1971
|
],
|
|
1969
1972
|
{ localName: "DataStream_Trailer" }
|
|
1970
1973
|
);
|
|
1974
|
+
const WebhookConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
1975
|
+
"livekit.WebhookConfig",
|
|
1976
|
+
() => [
|
|
1977
|
+
{
|
|
1978
|
+
no: 1,
|
|
1979
|
+
name: "url",
|
|
1980
|
+
kind: "scalar",
|
|
1981
|
+
T: 9
|
|
1982
|
+
/* ScalarType.STRING */
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
no: 2,
|
|
1986
|
+
name: "signing_key",
|
|
1987
|
+
kind: "scalar",
|
|
1988
|
+
T: 9
|
|
1989
|
+
/* ScalarType.STRING */
|
|
1990
|
+
}
|
|
1991
|
+
]
|
|
1992
|
+
);
|
|
1971
1993
|
|
|
1972
1994
|
const JobType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
1973
1995
|
"livekit.JobType",
|
|
@@ -2489,7 +2511,8 @@ const ImageFileSuffix = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
2489
2511
|
"livekit.ImageFileSuffix",
|
|
2490
2512
|
[
|
|
2491
2513
|
{ no: 0, name: "IMAGE_SUFFIX_INDEX" },
|
|
2492
|
-
{ no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" }
|
|
2514
|
+
{ no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" },
|
|
2515
|
+
{ no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE" }
|
|
2493
2516
|
]
|
|
2494
2517
|
);
|
|
2495
2518
|
const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2587,7 +2610,8 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
2587
2610
|
{ no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2588
2611
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2589
2612
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2590
|
-
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2613
|
+
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2614
|
+
{ no: 16, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2591
2615
|
]
|
|
2592
2616
|
);
|
|
2593
2617
|
const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2629,7 +2653,8 @@ const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2629
2653
|
{ no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2630
2654
|
{ no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2631
2655
|
{ no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2632
|
-
{ no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2656
|
+
{ no: 13, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2657
|
+
{ no: 14, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2633
2658
|
]
|
|
2634
2659
|
);
|
|
2635
2660
|
const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2661,7 +2686,8 @@ const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType
|
|
|
2661
2686
|
{ no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2662
2687
|
{ no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2663
2688
|
{ no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2664
|
-
{ no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2689
|
+
{ no: 9, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2690
|
+
{ no: 10, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2665
2691
|
]
|
|
2666
2692
|
);
|
|
2667
2693
|
const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2696,7 +2722,8 @@ const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
2696
2722
|
{ no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2697
2723
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2698
2724
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2699
|
-
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true }
|
|
2725
|
+
{ no: 14, name: "image_outputs", kind: "message", T: ImageOutput, repeated: true },
|
|
2726
|
+
{ no: 15, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2700
2727
|
]
|
|
2701
2728
|
);
|
|
2702
2729
|
const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2717,7 +2744,8 @@ const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2717
2744
|
/* ScalarType.STRING */
|
|
2718
2745
|
},
|
|
2719
2746
|
{ no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
|
|
2720
|
-
{ no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" }
|
|
2747
|
+
{ no: 4, name: "websocket_url", kind: "scalar", T: 9, oneof: "output" },
|
|
2748
|
+
{ no: 5, name: "webhooks", kind: "message", T: WebhookConfig, repeated: true }
|
|
2721
2749
|
]
|
|
2722
2750
|
);
|
|
2723
2751
|
const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5637,7 +5665,8 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5637
5665
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5638
5666
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5639
5667
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5640
|
-
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
|
|
5668
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
|
|
5669
|
+
{ no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
5641
5670
|
]
|
|
5642
5671
|
);
|
|
5643
5672
|
const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5735,7 +5764,8 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5735
5764
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5736
5765
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5737
5766
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5738
|
-
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true }
|
|
5767
|
+
{ no: 7, name: "metadata", kind: "scalar", T: 9, opt: true },
|
|
5768
|
+
{ no: 8, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
5739
5769
|
]
|
|
5740
5770
|
);
|
|
5741
5771
|
const GetSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6023,7 +6053,8 @@ const SIPDispatchRuleUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6023
6053
|
kind: "scalar",
|
|
6024
6054
|
T: 9
|
|
6025
6055
|
/* ScalarType.STRING */
|
|
6026
|
-
} }
|
|
6056
|
+
} },
|
|
6057
|
+
{ no: 6, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
6027
6058
|
]
|
|
6028
6059
|
);
|
|
6029
6060
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6268,7 +6299,8 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessag
|
|
|
6268
6299
|
kind: "scalar",
|
|
6269
6300
|
T: 9
|
|
6270
6301
|
/* ScalarType.STRING */
|
|
6271
|
-
} }
|
|
6302
|
+
} },
|
|
6303
|
+
{ no: 6, name: "ringing_timeout", kind: "message", T: protobuf.Duration }
|
|
6272
6304
|
]
|
|
6273
6305
|
);
|
|
6274
6306
|
const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6474,7 +6506,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6474
6506
|
]
|
|
6475
6507
|
);
|
|
6476
6508
|
|
|
6477
|
-
const version = "1.
|
|
6509
|
+
const version = "1.37.0";
|
|
6478
6510
|
|
|
6479
6511
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6480
6512
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6739,6 +6771,7 @@ exports.VideoConfiguration = VideoConfiguration;
|
|
|
6739
6771
|
exports.VideoLayer = VideoLayer;
|
|
6740
6772
|
exports.VideoQuality = VideoQuality;
|
|
6741
6773
|
exports.WebEgressRequest = WebEgressRequest;
|
|
6774
|
+
exports.WebhookConfig = WebhookConfig;
|
|
6742
6775
|
exports.WebhookEvent = WebhookEvent;
|
|
6743
6776
|
exports.WorkerMessage = WorkerMessage;
|
|
6744
6777
|
exports.WorkerPing = WorkerPing;
|