@livekit/protocol 1.42.0 → 1.42.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 +67 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +152 -6
- package/dist/index.d.mts +152 -6
- package/dist/index.d.ts +152 -6
- package/dist/index.mjs +64 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +54 -0
- package/src/gen/livekit_cloud_agent_pb.js +16 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +434 -0
- package/src/gen/livekit_connector_whatsapp_pb.js +144 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +46 -5
- package/src/gen/livekit_models_pb.js +13 -0
- package/src/gen/livekit_rtc_pb.d.ts +37 -0
- package/src/gen/livekit_rtc_pb.js +12 -0
- package/src/gen/livekit_sip_pb.d.ts +63 -0
- package/src/gen/livekit_sip_pb.js +25 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -630,7 +630,8 @@ const ParticipantInfo_Kind = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
630
630
|
{ no: 1, name: "INGRESS" },
|
|
631
631
|
{ no: 2, name: "EGRESS" },
|
|
632
632
|
{ no: 3, name: "SIP" },
|
|
633
|
-
{ no: 4, name: "AGENT" }
|
|
633
|
+
{ no: 4, name: "AGENT" },
|
|
634
|
+
{ no: 7, name: "CONNECTOR" }
|
|
634
635
|
]
|
|
635
636
|
);
|
|
636
637
|
const ParticipantInfo_KindDetail = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
@@ -2095,6 +2096,13 @@ const DataStream_Trailer = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2095
2096
|
],
|
|
2096
2097
|
{ localName: "DataStream_Trailer" }
|
|
2097
2098
|
);
|
|
2099
|
+
const FilterParams = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2100
|
+
"livekit.FilterParams",
|
|
2101
|
+
() => [
|
|
2102
|
+
{ no: 1, name: "include_events", kind: "scalar", T: 9, repeated: true },
|
|
2103
|
+
{ no: 2, name: "exclude_events", kind: "scalar", T: 9, repeated: true }
|
|
2104
|
+
]
|
|
2105
|
+
);
|
|
2098
2106
|
const WebhookConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
2099
2107
|
"livekit.WebhookConfig",
|
|
2100
2108
|
() => [
|
|
@@ -2111,7 +2119,8 @@ const WebhookConfig = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2111
2119
|
kind: "scalar",
|
|
2112
2120
|
T: 9
|
|
2113
2121
|
/* ScalarType.STRING */
|
|
2114
|
-
}
|
|
2122
|
+
},
|
|
2123
|
+
{ no: 3, name: "filter_params", kind: "message", T: FilterParams }
|
|
2115
2124
|
]
|
|
2116
2125
|
);
|
|
2117
2126
|
const SubscribedAudioCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -2199,7 +2208,14 @@ const Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
2199
2208
|
T: 9
|
|
2200
2209
|
/* ScalarType.STRING */
|
|
2201
2210
|
},
|
|
2202
|
-
{ no: 8, name: "state", kind: "message", T: JobState }
|
|
2211
|
+
{ no: 8, name: "state", kind: "message", T: JobState },
|
|
2212
|
+
{
|
|
2213
|
+
no: 10,
|
|
2214
|
+
name: "enable_recording",
|
|
2215
|
+
kind: "scalar",
|
|
2216
|
+
T: 8
|
|
2217
|
+
/* ScalarType.BOOL */
|
|
2218
|
+
}
|
|
2203
2219
|
]
|
|
2204
2220
|
);
|
|
2205
2221
|
const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -4787,7 +4803,8 @@ const SignalResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4787
4803
|
{ no: 23, name: "track_subscribed", kind: "message", T: TrackSubscribed, oneof: "message" },
|
|
4788
4804
|
{ no: 24, name: "room_moved", kind: "message", T: RoomMovedResponse, oneof: "message" },
|
|
4789
4805
|
{ no: 25, name: "media_sections_requirement", kind: "message", T: MediaSectionsRequirement, oneof: "message" },
|
|
4790
|
-
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" }
|
|
4806
|
+
{ no: 26, name: "subscribed_audio_codec_update", kind: "message", T: SubscribedAudioCodecUpdate, oneof: "message" },
|
|
4807
|
+
{ no: 27, name: "mapped_answer", kind: "message", T: MappedSessionDescription, oneof: "message" }
|
|
4791
4808
|
]
|
|
4792
4809
|
);
|
|
4793
4810
|
const SimulcastCodec = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -5066,6 +5083,17 @@ const SessionDescription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5066
5083
|
}
|
|
5067
5084
|
]
|
|
5068
5085
|
);
|
|
5086
|
+
const MappedSessionDescription = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5087
|
+
"livekit.MappedSessionDescription",
|
|
5088
|
+
() => [
|
|
5089
|
+
{ no: 1, name: "session_description", kind: "message", T: SessionDescription },
|
|
5090
|
+
{ no: 2, name: "mid_to_track_id", kind: "map", K: 9, V: {
|
|
5091
|
+
kind: "scalar",
|
|
5092
|
+
T: 9
|
|
5093
|
+
/* ScalarType.STRING */
|
|
5094
|
+
} }
|
|
5095
|
+
]
|
|
5096
|
+
);
|
|
5069
5097
|
const ParticipantUpdate = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5070
5098
|
"livekit.ParticipantUpdate",
|
|
5071
5099
|
() => [
|
|
@@ -5833,6 +5861,14 @@ const SIPMediaEncryption = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
5833
5861
|
{ no: 2, name: "SIP_MEDIA_ENCRYPT_REQUIRE" }
|
|
5834
5862
|
]
|
|
5835
5863
|
);
|
|
5864
|
+
const ProviderType = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5865
|
+
"livekit.ProviderType",
|
|
5866
|
+
[
|
|
5867
|
+
{ no: 0, name: "PROVIDER_TYPE_UNKNOWN", localName: "UNKNOWN" },
|
|
5868
|
+
{ no: 1, name: "PROVIDER_TYPE_INTERNAL", localName: "INTERNAL" },
|
|
5869
|
+
{ no: 2, name: "PROVIDER_TYPE_EXTERNAL", localName: "EXTERNAL" }
|
|
5870
|
+
]
|
|
5871
|
+
);
|
|
5836
5872
|
const SIPCallStatus = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
5837
5873
|
"livekit.SIPCallStatus",
|
|
5838
5874
|
[
|
|
@@ -5943,6 +5979,26 @@ const CreateSIPTrunkRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
5943
5979
|
}
|
|
5944
5980
|
]
|
|
5945
5981
|
);
|
|
5982
|
+
const ProviderInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5983
|
+
"livekit.ProviderInfo",
|
|
5984
|
+
() => [
|
|
5985
|
+
{
|
|
5986
|
+
no: 1,
|
|
5987
|
+
name: "id",
|
|
5988
|
+
kind: "scalar",
|
|
5989
|
+
T: 9
|
|
5990
|
+
/* ScalarType.STRING */
|
|
5991
|
+
},
|
|
5992
|
+
{
|
|
5993
|
+
no: 2,
|
|
5994
|
+
name: "name",
|
|
5995
|
+
kind: "scalar",
|
|
5996
|
+
T: 9
|
|
5997
|
+
/* ScalarType.STRING */
|
|
5998
|
+
},
|
|
5999
|
+
{ no: 3, name: "type", kind: "enum", T: protobuf.proto3.getEnumType(ProviderType) }
|
|
6000
|
+
]
|
|
6001
|
+
);
|
|
5946
6002
|
const SIPTrunkInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
5947
6003
|
"livekit.SIPTrunkInfo",
|
|
5948
6004
|
() => [
|
|
@@ -6910,7 +6966,8 @@ const SIPCallInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
6910
6966
|
T: 9
|
|
6911
6967
|
/* ScalarType.STRING */
|
|
6912
6968
|
},
|
|
6913
|
-
{ no: 26, name: "call_context", kind: "message", T: protobuf.Any, repeated: true }
|
|
6969
|
+
{ no: 26, name: "call_context", kind: "message", T: protobuf.Any, repeated: true },
|
|
6970
|
+
{ no: 27, name: "provider_info", kind: "message", T: ProviderInfo }
|
|
6914
6971
|
]
|
|
6915
6972
|
);
|
|
6916
6973
|
const SIPTransferInfo = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -7071,7 +7128,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
7071
7128
|
]
|
|
7072
7129
|
);
|
|
7073
7130
|
|
|
7074
|
-
const version = "1.42.
|
|
7131
|
+
const version = "1.42.1";
|
|
7075
7132
|
|
|
7076
7133
|
exports.protoInt64 = protobuf.protoInt64;
|
|
7077
7134
|
exports.ActiveSpeakerUpdate = ActiveSpeakerUpdate;
|
|
@@ -7140,6 +7197,7 @@ exports.Encryption = Encryption;
|
|
|
7140
7197
|
exports.Encryption_Type = Encryption_Type;
|
|
7141
7198
|
exports.EventMetric = EventMetric;
|
|
7142
7199
|
exports.FileInfo = FileInfo;
|
|
7200
|
+
exports.FilterParams = FilterParams;
|
|
7143
7201
|
exports.ForwardParticipantRequest = ForwardParticipantRequest;
|
|
7144
7202
|
exports.ForwardParticipantResponse = ForwardParticipantResponse;
|
|
7145
7203
|
exports.GCPUpload = GCPUpload;
|
|
@@ -7193,6 +7251,7 @@ exports.ListSIPOutboundTrunkResponse = ListSIPOutboundTrunkResponse;
|
|
|
7193
7251
|
exports.ListSIPTrunkRequest = ListSIPTrunkRequest;
|
|
7194
7252
|
exports.ListSIPTrunkResponse = ListSIPTrunkResponse;
|
|
7195
7253
|
exports.ListUpdate = ListUpdate;
|
|
7254
|
+
exports.MappedSessionDescription = MappedSessionDescription;
|
|
7196
7255
|
exports.MediaSectionsRequirement = MediaSectionsRequirement;
|
|
7197
7256
|
exports.MetricLabel = MetricLabel;
|
|
7198
7257
|
exports.MetricSample = MetricSample;
|
|
@@ -7218,6 +7277,8 @@ exports.PerformRpcResponse = PerformRpcResponse;
|
|
|
7218
7277
|
exports.Ping = Ping;
|
|
7219
7278
|
exports.PlayoutDelay = PlayoutDelay;
|
|
7220
7279
|
exports.Pong = Pong;
|
|
7280
|
+
exports.ProviderInfo = ProviderInfo;
|
|
7281
|
+
exports.ProviderType = ProviderType;
|
|
7221
7282
|
exports.ProxyConfig = ProxyConfig;
|
|
7222
7283
|
exports.RTCPSenderReportState = RTCPSenderReportState;
|
|
7223
7284
|
exports.RTPDrift = RTPDrift;
|