@livekit/protocol 1.36.1 → 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 +45 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -2
- package/dist/index.d.mts +107 -2
- package/dist/index.d.ts +107 -2
- package/dist/index.mjs +45 -14
- 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 +42 -1
- package/src/gen/livekit_models_pb.js +14 -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 +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
|
@@ -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(
|
|
@@ -1254,7 +1255,8 @@ const ClientInfo_SDK = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
1254
1255
|
{ no: 9, name: "PYTHON" },
|
|
1255
1256
|
{ no: 10, name: "CPP" },
|
|
1256
1257
|
{ no: 11, name: "UNITY_WEB" },
|
|
1257
|
-
{ no: 12, name: "NODE" }
|
|
1258
|
+
{ no: 12, name: "NODE" },
|
|
1259
|
+
{ no: 13, name: "UNREAL" }
|
|
1258
1260
|
]
|
|
1259
1261
|
);
|
|
1260
1262
|
const ClientConfiguration = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -1969,6 +1971,25 @@ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1969
1971
|
],
|
|
1970
1972
|
{ localName: "DataStream_Trailer" }
|
|
1971
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
|
+
);
|
|
1972
1993
|
|
|
1973
1994
|
const JobType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
1974
1995
|
"livekit.JobType",
|
|
@@ -2490,7 +2511,8 @@ const ImageFileSuffix = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
2490
2511
|
"livekit.ImageFileSuffix",
|
|
2491
2512
|
[
|
|
2492
2513
|
{ no: 0, name: "IMAGE_SUFFIX_INDEX" },
|
|
2493
|
-
{ no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" }
|
|
2514
|
+
{ no: 1, name: "IMAGE_SUFFIX_TIMESTAMP" },
|
|
2515
|
+
{ no: 2, name: "IMAGE_SUFFIX_NONE_OVERWRITE" }
|
|
2494
2516
|
]
|
|
2495
2517
|
);
|
|
2496
2518
|
const StreamProtocol = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2588,7 +2610,8 @@ const RoomCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
2588
2610
|
{ no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2589
2611
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2590
2612
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2591
|
-
{ 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 }
|
|
2592
2615
|
]
|
|
2593
2616
|
);
|
|
2594
2617
|
const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2630,7 +2653,8 @@ const WebEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2630
2653
|
{ no: 9, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2631
2654
|
{ no: 10, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2632
2655
|
{ no: 11, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2633
|
-
{ 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 }
|
|
2634
2658
|
]
|
|
2635
2659
|
);
|
|
2636
2660
|
const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2662,7 +2686,8 @@ const ParticipantEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType
|
|
|
2662
2686
|
{ no: 6, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2663
2687
|
{ no: 7, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2664
2688
|
{ no: 8, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2665
|
-
{ 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 }
|
|
2666
2691
|
]
|
|
2667
2692
|
);
|
|
2668
2693
|
const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2697,7 +2722,8 @@ const TrackCompositeEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageT
|
|
|
2697
2722
|
{ no: 11, name: "file_outputs", kind: "message", T: EncodedFileOutput, repeated: true },
|
|
2698
2723
|
{ no: 12, name: "stream_outputs", kind: "message", T: StreamOutput, repeated: true },
|
|
2699
2724
|
{ no: 13, name: "segment_outputs", kind: "message", T: SegmentedFileOutput, repeated: true },
|
|
2700
|
-
{ 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 }
|
|
2701
2727
|
]
|
|
2702
2728
|
);
|
|
2703
2729
|
const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2718,7 +2744,8 @@ const TrackEgressRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2718
2744
|
/* ScalarType.STRING */
|
|
2719
2745
|
},
|
|
2720
2746
|
{ no: 3, name: "file", kind: "message", T: DirectFileOutput, oneof: "output" },
|
|
2721
|
-
{ 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 }
|
|
2722
2749
|
]
|
|
2723
2750
|
);
|
|
2724
2751
|
const EncodedFileOutput = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5638,7 +5665,8 @@ const SIPInboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5638
5665
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5639
5666
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5640
5667
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5641
|
-
{ 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 }
|
|
5642
5670
|
]
|
|
5643
5671
|
);
|
|
5644
5672
|
const CreateSIPOutboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5736,7 +5764,8 @@ const SIPOutboundTrunkUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5736
5764
|
{ no: 4, name: "auth_username", kind: "scalar", T: 9, opt: true },
|
|
5737
5765
|
{ no: 5, name: "auth_password", kind: "scalar", T: 9, opt: true },
|
|
5738
5766
|
{ no: 6, name: "name", kind: "scalar", T: 9, opt: true },
|
|
5739
|
-
{ 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 }
|
|
5740
5769
|
]
|
|
5741
5770
|
);
|
|
5742
5771
|
const GetSIPInboundTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6024,7 +6053,8 @@ const SIPDispatchRuleUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6024
6053
|
kind: "scalar",
|
|
6025
6054
|
T: 9
|
|
6026
6055
|
/* ScalarType.STRING */
|
|
6027
|
-
} }
|
|
6056
|
+
} },
|
|
6057
|
+
{ no: 6, name: "media_encryption", kind: "enum", T: protobuf.proto3.getEnumType(SIPMediaEncryption), opt: true }
|
|
6028
6058
|
]
|
|
6029
6059
|
);
|
|
6030
6060
|
const ListSIPDispatchRuleRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6269,7 +6299,8 @@ const TransferSIPParticipantRequest = /* @__PURE__ */ protobuf.proto3.makeMessag
|
|
|
6269
6299
|
kind: "scalar",
|
|
6270
6300
|
T: 9
|
|
6271
6301
|
/* ScalarType.STRING */
|
|
6272
|
-
} }
|
|
6302
|
+
} },
|
|
6303
|
+
{ no: 6, name: "ringing_timeout", kind: "message", T: protobuf.Duration }
|
|
6273
6304
|
]
|
|
6274
6305
|
);
|
|
6275
6306
|
const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -6475,7 +6506,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6475
6506
|
]
|
|
6476
6507
|
);
|
|
6477
6508
|
|
|
6478
|
-
const version = "1.
|
|
6509
|
+
const version = "1.37.0";
|
|
6479
6510
|
|
|
6480
6511
|
exports.protoInt64 = protobuf.protoInt64;
|
|
6481
6512
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -6740,6 +6771,7 @@ exports.VideoConfiguration = VideoConfiguration;
|
|
|
6740
6771
|
exports.VideoLayer = VideoLayer;
|
|
6741
6772
|
exports.VideoQuality = VideoQuality;
|
|
6742
6773
|
exports.WebEgressRequest = WebEgressRequest;
|
|
6774
|
+
exports.WebhookConfig = WebhookConfig;
|
|
6743
6775
|
exports.WebhookEvent = WebhookEvent;
|
|
6744
6776
|
exports.WorkerMessage = WorkerMessage;
|
|
6745
6777
|
exports.WorkerPing = WorkerPing;
|