@livekit/protocol 1.43.4 → 1.44.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 +73 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +135 -11
- package/dist/index.d.mts +135 -11
- package/dist/index.d.ts +135 -11
- package/dist/index.mjs +73 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -1
- package/src/gen/agent/livekit_agent_text_pb.d.ts +281 -0
- package/src/gen/agent/livekit_agent_text_pb.js +106 -0
- package/src/gen/livekit_agent_dispatch_pb.d.ts +1 -1
- package/src/gen/livekit_analytics_pb.d.ts +8 -1
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +424 -0
- package/src/gen/livekit_cloud_agent_pb.js +166 -0
- package/src/gen/livekit_connector_twilio_pb.d.ts +1 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +37 -3
- package/src/gen/livekit_connector_whatsapp_pb.js +12 -0
- package/src/gen/livekit_egress_pb.d.ts +7 -2
- package/src/gen/livekit_egress_pb.js +1 -0
- package/src/gen/livekit_ingress_pb.d.ts +13 -1
- package/src/gen/livekit_ingress_pb.js +3 -1
- 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 +57 -2
- package/src/gen/livekit_models_pb.js +8 -0
- package/src/gen/livekit_rtc_pb.d.ts +5 -0
- package/src/gen/livekit_rtc_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +14 -2
- package/src/gen/livekit_sip_pb.js +2 -0
- package/src/gen/version.js +1 -1
|
@@ -42,7 +42,7 @@ export declare enum WhatsAppCallDirection {
|
|
|
42
42
|
*/
|
|
43
43
|
export declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallRequest> {
|
|
44
44
|
/**
|
|
45
|
-
* Required - The number of the business that is initiating the call
|
|
45
|
+
* Required - The phone number id of the business that is initiating the call
|
|
46
46
|
*
|
|
47
47
|
* @generated from field: string whatsapp_phone_number_id = 1;
|
|
48
48
|
*/
|
|
@@ -92,6 +92,7 @@ export declare class DialWhatsAppCallRequest extends Message<DialWhatsAppCallReq
|
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Optional - Identity of the participant in LiveKit room
|
|
95
|
+
* This is used for logging purposes, so it is advised to not put PII in this field.
|
|
95
96
|
*
|
|
96
97
|
* @generated from field: string participant_identity = 7;
|
|
97
98
|
*/
|
|
@@ -187,12 +188,21 @@ export declare class DisconnectWhatsAppCallRequest extends Message<DisconnectWha
|
|
|
187
188
|
whatsappCallId: string;
|
|
188
189
|
|
|
189
190
|
/**
|
|
190
|
-
*
|
|
191
|
+
* The API key of the whatsapp business.
|
|
192
|
+
* Required if the DisconnectReason is BUSINESS_INITIATED.
|
|
193
|
+
* Optional for USER_INITIATED as no API call to WhatsApp is needed.
|
|
191
194
|
*
|
|
192
195
|
* @generated from field: string whatsapp_api_key = 2;
|
|
193
196
|
*/
|
|
194
197
|
whatsappApiKey: string;
|
|
195
198
|
|
|
199
|
+
/**
|
|
200
|
+
* The reason for disconnecting the call
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: livekit.DisconnectWhatsAppCallRequest.DisconnectReason disconnect_reason = 3;
|
|
203
|
+
*/
|
|
204
|
+
disconnectReason: DisconnectWhatsAppCallRequest_DisconnectReason;
|
|
205
|
+
|
|
196
206
|
constructor(data?: PartialMessage<DisconnectWhatsAppCallRequest>);
|
|
197
207
|
|
|
198
208
|
static readonly runtime: typeof proto3;
|
|
@@ -208,6 +218,29 @@ export declare class DisconnectWhatsAppCallRequest extends Message<DisconnectWha
|
|
|
208
218
|
static equals(a: DisconnectWhatsAppCallRequest | PlainMessage<DisconnectWhatsAppCallRequest> | undefined, b: DisconnectWhatsAppCallRequest | PlainMessage<DisconnectWhatsAppCallRequest> | undefined): boolean;
|
|
209
219
|
}
|
|
210
220
|
|
|
221
|
+
/**
|
|
222
|
+
* @generated from enum livekit.DisconnectWhatsAppCallRequest.DisconnectReason
|
|
223
|
+
*/
|
|
224
|
+
export declare enum DisconnectWhatsAppCallRequest_DisconnectReason {
|
|
225
|
+
/**
|
|
226
|
+
* The call is being disconnected by the business
|
|
227
|
+
*
|
|
228
|
+
* @generated from enum value: BUSINESS_INITIATED = 0;
|
|
229
|
+
*/
|
|
230
|
+
BUSINESS_INITIATED = 0,
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The call is disconnected by the user.
|
|
234
|
+
* This can be tracked as part of call terminate webhook
|
|
235
|
+
* https://developers.facebook.com/documentation/business-messaging/whatsapp/calling/user-initiated-calls#call-terminate-webhook
|
|
236
|
+
* Note that this webhook will also be sent when the call is disconnected by the business.
|
|
237
|
+
* Calling the API twice in such cases will result in an error.
|
|
238
|
+
*
|
|
239
|
+
* @generated from enum value: USER_INITIATED = 1;
|
|
240
|
+
*/
|
|
241
|
+
USER_INITIATED = 1,
|
|
242
|
+
}
|
|
243
|
+
|
|
211
244
|
/**
|
|
212
245
|
* @generated from message livekit.DisconnectWhatsAppCallResponse
|
|
213
246
|
*/
|
|
@@ -285,7 +318,7 @@ export declare class ConnectWhatsAppCallResponse extends Message<ConnectWhatsApp
|
|
|
285
318
|
*/
|
|
286
319
|
export declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCallRequest> {
|
|
287
320
|
/**
|
|
288
|
-
* Required - The number of the business that is conencting the call
|
|
321
|
+
* Required - The phone number id of the business that is conencting the call
|
|
289
322
|
*
|
|
290
323
|
* @generated from field: string whatsapp_phone_number_id = 1;
|
|
291
324
|
*/
|
|
@@ -343,6 +376,7 @@ export declare class AcceptWhatsAppCallRequest extends Message<AcceptWhatsAppCal
|
|
|
343
376
|
|
|
344
377
|
/**
|
|
345
378
|
* Optional - Identity of the participant in LiveKit room
|
|
379
|
+
* This is used for logging purposes, so it is advised to not put PII in this field.
|
|
346
380
|
*
|
|
347
381
|
* @generated from field: string participant_identity = 8;
|
|
348
382
|
*/
|
|
@@ -72,6 +72,18 @@ export const DisconnectWhatsAppCallRequest = /*@__PURE__*/ proto3.makeMessageTyp
|
|
|
72
72
|
() => [
|
|
73
73
|
{ no: 1, name: "whatsapp_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
74
74
|
{ no: 2, name: "whatsapp_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
75
|
+
{ no: 3, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectWhatsAppCallRequest_DisconnectReason) },
|
|
76
|
+
],
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from enum livekit.DisconnectWhatsAppCallRequest.DisconnectReason
|
|
81
|
+
*/
|
|
82
|
+
export const DisconnectWhatsAppCallRequest_DisconnectReason = /*@__PURE__*/ proto3.makeEnum(
|
|
83
|
+
"livekit.DisconnectWhatsAppCallRequest.DisconnectReason",
|
|
84
|
+
[
|
|
85
|
+
{no: 0, name: "BUSINESS_INITIATED"},
|
|
86
|
+
{no: 1, name: "USER_INITIATED"},
|
|
75
87
|
],
|
|
76
88
|
);
|
|
77
89
|
|
|
@@ -1789,12 +1789,17 @@ export declare class EgressInfo extends Message<EgressInfo> {
|
|
|
1789
1789
|
manifestLocation: string;
|
|
1790
1790
|
|
|
1791
1791
|
/**
|
|
1792
|
-
* next ID: 27
|
|
1793
|
-
*
|
|
1794
1792
|
* @generated from field: bool backup_storage_used = 25;
|
|
1795
1793
|
*/
|
|
1796
1794
|
backupStorageUsed: boolean;
|
|
1797
1795
|
|
|
1796
|
+
/**
|
|
1797
|
+
* next ID: 28
|
|
1798
|
+
*
|
|
1799
|
+
* @generated from field: int32 retry_count = 27;
|
|
1800
|
+
*/
|
|
1801
|
+
retryCount: number;
|
|
1802
|
+
|
|
1798
1803
|
constructor(data?: PartialMessage<EgressInfo>);
|
|
1799
1804
|
|
|
1800
1805
|
static readonly runtime: typeof proto3;
|
|
@@ -511,6 +511,7 @@ export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
511
511
|
{ no: 20, name: "image_results", kind: "message", T: ImagesInfo, repeated: true },
|
|
512
512
|
{ no: 23, name: "manifest_location", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
513
513
|
{ no: 25, name: "backup_storage_used", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
514
|
+
{ no: 27, name: "retry_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
514
515
|
],
|
|
515
516
|
);
|
|
516
517
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
-
import type { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js";
|
|
22
|
+
import type { AudioCodec, TokenPagination, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @generated from enum livekit.IngressInput
|
|
@@ -783,6 +783,11 @@ export declare class UpdateIngressRequest extends Message<UpdateIngressRequest>
|
|
|
783
783
|
* @generated from message livekit.ListIngressRequest
|
|
784
784
|
*/
|
|
785
785
|
export declare class ListIngressRequest extends Message<ListIngressRequest> {
|
|
786
|
+
/**
|
|
787
|
+
* @generated from field: livekit.TokenPagination page_token = 3;
|
|
788
|
+
*/
|
|
789
|
+
pageToken?: TokenPagination;
|
|
790
|
+
|
|
786
791
|
/**
|
|
787
792
|
* when blank, lists all ingress endpoints
|
|
788
793
|
*
|
|
@@ -819,6 +824,13 @@ export declare class ListIngressRequest extends Message<ListIngressRequest> {
|
|
|
819
824
|
*/
|
|
820
825
|
export declare class ListIngressResponse extends Message<ListIngressResponse> {
|
|
821
826
|
/**
|
|
827
|
+
* @generated from field: livekit.TokenPagination next_page_token = 2;
|
|
828
|
+
*/
|
|
829
|
+
nextPageToken?: TokenPagination;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* next field id: 3
|
|
833
|
+
*
|
|
822
834
|
* @generated from field: repeated livekit.IngressInfo items = 1;
|
|
823
835
|
*/
|
|
824
836
|
items: IngressInfo[];
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// @ts-nocheck
|
|
19
19
|
|
|
20
20
|
import { proto3 } from "@bufbuild/protobuf";
|
|
21
|
-
import { AudioCodec, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js";
|
|
21
|
+
import { AudioCodec, TokenPagination, TrackInfo, TrackSource, VideoCodec, VideoLayer } from "./livekit_models_pb.js";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* @generated from enum livekit.IngressInput
|
|
@@ -245,6 +245,7 @@ export const UpdateIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
245
245
|
export const ListIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
246
246
|
"livekit.ListIngressRequest",
|
|
247
247
|
() => [
|
|
248
|
+
{ no: 3, name: "page_token", kind: "message", T: TokenPagination },
|
|
248
249
|
{ no: 1, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
249
250
|
{ no: 2, name: "ingress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
250
251
|
],
|
|
@@ -256,6 +257,7 @@ export const ListIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
256
257
|
export const ListIngressResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
257
258
|
"livekit.ListIngressResponse",
|
|
258
259
|
() => [
|
|
260
|
+
{ no: 2, name: "next_page_token", kind: "message", T: TokenPagination },
|
|
259
261
|
{ no: 1, name: "items", kind: "message", T: IngressInfo, repeated: true },
|
|
260
262
|
],
|
|
261
263
|
);
|
|
@@ -665,6 +665,11 @@ export declare class StartSession extends Message<StartSession> {
|
|
|
665
665
|
*/
|
|
666
666
|
autoSubscribe: boolean;
|
|
667
667
|
|
|
668
|
+
/**
|
|
669
|
+
* @generated from field: optional bool auto_subscribe_data_track = 25;
|
|
670
|
+
*/
|
|
671
|
+
autoSubscribeDataTrack?: boolean;
|
|
672
|
+
|
|
668
673
|
/**
|
|
669
674
|
* @generated from field: bool hidden = 10 [deprecated = true];
|
|
670
675
|
* @deprecated
|
|
@@ -191,6 +191,7 @@ export const StartSession = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
191
191
|
{ no: 3, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
192
192
|
{ no: 4, name: "reconnect", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
193
193
|
{ no: 9, name: "auto_subscribe", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
194
|
+
{ no: 25, name: "auto_subscribe_data_track", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
194
195
|
{ no: 10, name: "hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
195
196
|
{ no: 11, name: "client", kind: "message", T: ClientInfo },
|
|
196
197
|
{ no: 12, name: "recorder", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
@@ -789,6 +789,13 @@ export declare class ParticipantPermission extends Message<ParticipantPermission
|
|
|
789
789
|
*/
|
|
790
790
|
canSubscribeMetrics: boolean;
|
|
791
791
|
|
|
792
|
+
/**
|
|
793
|
+
* if a participant can manage an agent session via RemoteSession (control and access state)
|
|
794
|
+
*
|
|
795
|
+
* @generated from field: bool can_manage_agent_session = 13;
|
|
796
|
+
*/
|
|
797
|
+
canManageAgentSession: boolean;
|
|
798
|
+
|
|
792
799
|
constructor(data?: PartialMessage<ParticipantPermission>);
|
|
793
800
|
|
|
794
801
|
static readonly runtime: typeof proto3;
|
|
@@ -900,6 +907,13 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
900
907
|
*/
|
|
901
908
|
dataTracks: DataTrackInfo[];
|
|
902
909
|
|
|
910
|
+
/**
|
|
911
|
+
* protocol version used for client feature compatibility
|
|
912
|
+
*
|
|
913
|
+
* @generated from field: int32 client_protocol = 20;
|
|
914
|
+
*/
|
|
915
|
+
clientProtocol: number;
|
|
916
|
+
|
|
903
917
|
constructor(data?: PartialMessage<ParticipantInfo>);
|
|
904
918
|
|
|
905
919
|
static readonly runtime: typeof proto3;
|
|
@@ -990,11 +1004,18 @@ export declare enum ParticipantInfo_Kind {
|
|
|
990
1004
|
/**
|
|
991
1005
|
* Connectors participants
|
|
992
1006
|
*
|
|
993
|
-
* NEXT_ID: 8
|
|
994
|
-
*
|
|
995
1007
|
* @generated from enum value: CONNECTOR = 7;
|
|
996
1008
|
*/
|
|
997
1009
|
CONNECTOR = 7,
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* Bridge participants
|
|
1013
|
+
*
|
|
1014
|
+
* NEXT_ID: 9
|
|
1015
|
+
*
|
|
1016
|
+
* @generated from enum value: BRIDGE = 8;
|
|
1017
|
+
*/
|
|
1018
|
+
BRIDGE = 8,
|
|
998
1019
|
}
|
|
999
1020
|
|
|
1000
1021
|
/**
|
|
@@ -1020,6 +1041,13 @@ export declare enum ParticipantInfo_KindDetail {
|
|
|
1020
1041
|
* @generated from enum value: CONNECTOR_TWILIO = 3;
|
|
1021
1042
|
*/
|
|
1022
1043
|
CONNECTOR_TWILIO = 3,
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* NEXT_ID: 5
|
|
1047
|
+
*
|
|
1048
|
+
* @generated from enum value: BRIDGE_RTSP = 4;
|
|
1049
|
+
*/
|
|
1050
|
+
BRIDGE_RTSP = 4,
|
|
1023
1051
|
}
|
|
1024
1052
|
|
|
1025
1053
|
/**
|
|
@@ -1409,6 +1437,11 @@ export declare class VideoLayer extends Message<VideoLayer> {
|
|
|
1409
1437
|
*/
|
|
1410
1438
|
rid: string;
|
|
1411
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* @generated from field: uint32 repair_ssrc = 8;
|
|
1442
|
+
*/
|
|
1443
|
+
repairSsrc: number;
|
|
1444
|
+
|
|
1412
1445
|
constructor(data?: PartialMessage<VideoLayer>);
|
|
1413
1446
|
|
|
1414
1447
|
static readonly runtime: typeof proto3;
|
|
@@ -2068,6 +2101,13 @@ export declare class RpcRequest extends Message<RpcRequest> {
|
|
|
2068
2101
|
*/
|
|
2069
2102
|
version: number;
|
|
2070
2103
|
|
|
2104
|
+
/**
|
|
2105
|
+
* Compressed payload data. When set, this field is used instead of `payload`.
|
|
2106
|
+
*
|
|
2107
|
+
* @generated from field: bytes compressed_payload = 6;
|
|
2108
|
+
*/
|
|
2109
|
+
compressedPayload: Uint8Array;
|
|
2110
|
+
|
|
2071
2111
|
constructor(data?: PartialMessage<RpcRequest>);
|
|
2072
2112
|
|
|
2073
2113
|
static readonly runtime: typeof proto3;
|
|
@@ -2131,6 +2171,14 @@ export declare class RpcResponse extends Message<RpcResponse> {
|
|
|
2131
2171
|
*/
|
|
2132
2172
|
value: RpcError;
|
|
2133
2173
|
case: "error";
|
|
2174
|
+
} | {
|
|
2175
|
+
/**
|
|
2176
|
+
* Compressed payload data. When set, this field is used instead of `payload`.
|
|
2177
|
+
*
|
|
2178
|
+
* @generated from field: bytes compressed_payload = 4;
|
|
2179
|
+
*/
|
|
2180
|
+
value: Uint8Array;
|
|
2181
|
+
case: "compressedPayload";
|
|
2134
2182
|
} | { case: undefined; value?: undefined };
|
|
2135
2183
|
|
|
2136
2184
|
constructor(data?: PartialMessage<RpcResponse>);
|
|
@@ -2352,6 +2400,13 @@ export declare class ClientInfo extends Message<ClientInfo> {
|
|
|
2352
2400
|
*/
|
|
2353
2401
|
otherSdks: string;
|
|
2354
2402
|
|
|
2403
|
+
/**
|
|
2404
|
+
* client protocol version
|
|
2405
|
+
*
|
|
2406
|
+
* @generated from field: int32 client_protocol = 12;
|
|
2407
|
+
*/
|
|
2408
|
+
clientProtocol: number;
|
|
2409
|
+
|
|
2355
2410
|
constructor(data?: PartialMessage<ClientInfo>);
|
|
2356
2411
|
|
|
2357
2412
|
static readonly runtime: typeof proto3;
|
|
@@ -311,6 +311,7 @@ export const ParticipantPermission = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
311
311
|
{ no: 10, name: "can_update_metadata", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
312
312
|
{ no: 11, name: "agent", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
313
313
|
{ no: 12, name: "can_subscribe_metrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
314
|
+
{ no: 13, name: "can_manage_agent_session", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
314
315
|
],
|
|
315
316
|
);
|
|
316
317
|
|
|
@@ -337,6 +338,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
337
338
|
{ no: 16, name: "disconnect_reason", kind: "enum", T: proto3.getEnumType(DisconnectReason) },
|
|
338
339
|
{ no: 18, name: "kind_details", kind: "enum", T: proto3.getEnumType(ParticipantInfo_KindDetail), repeated: true },
|
|
339
340
|
{ no: 19, name: "data_tracks", kind: "message", T: DataTrackInfo, repeated: true },
|
|
341
|
+
{ no: 20, name: "client_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
340
342
|
],
|
|
341
343
|
);
|
|
342
344
|
|
|
@@ -365,6 +367,7 @@ export const ParticipantInfo_Kind = /*@__PURE__*/ proto3.makeEnum(
|
|
|
365
367
|
{no: 3, name: "SIP"},
|
|
366
368
|
{no: 4, name: "AGENT"},
|
|
367
369
|
{no: 7, name: "CONNECTOR"},
|
|
370
|
+
{no: 8, name: "BRIDGE"},
|
|
368
371
|
],
|
|
369
372
|
);
|
|
370
373
|
|
|
@@ -378,6 +381,7 @@ export const ParticipantInfo_KindDetail = /*@__PURE__*/ proto3.makeEnum(
|
|
|
378
381
|
{no: 1, name: "FORWARDED"},
|
|
379
382
|
{no: 2, name: "CONNECTOR_WHATSAPP"},
|
|
380
383
|
{no: 3, name: "CONNECTOR_TWILIO"},
|
|
384
|
+
{no: 4, name: "BRIDGE_RTSP"},
|
|
381
385
|
],
|
|
382
386
|
);
|
|
383
387
|
|
|
@@ -494,6 +498,7 @@ export const VideoLayer = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
494
498
|
{ no: 5, name: "ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
495
499
|
{ no: 6, name: "spatial_layer", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
496
500
|
{ no: 7, name: "rid", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
501
|
+
{ no: 8, name: "repair_ssrc", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
497
502
|
],
|
|
498
503
|
);
|
|
499
504
|
|
|
@@ -686,6 +691,7 @@ export const RpcRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
686
691
|
{ no: 3, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
687
692
|
{ no: 4, name: "response_timeout_ms", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
688
693
|
{ no: 5, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
694
|
+
{ no: 6, name: "compressed_payload", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
689
695
|
],
|
|
690
696
|
);
|
|
691
697
|
|
|
@@ -708,6 +714,7 @@ export const RpcResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
708
714
|
{ no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
709
715
|
{ no: 2, name: "payload", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "value" },
|
|
710
716
|
{ no: 3, name: "error", kind: "message", T: RpcError, oneof: "value" },
|
|
717
|
+
{ no: 4, name: "compressed_payload", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "value" },
|
|
711
718
|
],
|
|
712
719
|
);
|
|
713
720
|
|
|
@@ -782,6 +789,7 @@ export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
782
789
|
{ no: 9, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
783
790
|
{ no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
784
791
|
{ no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
792
|
+
{ no: 12, name: "client_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
785
793
|
],
|
|
786
794
|
);
|
|
787
795
|
|
|
@@ -2586,6 +2586,11 @@ export declare class ConnectionSettings extends Message<ConnectionSettings> {
|
|
|
2586
2586
|
*/
|
|
2587
2587
|
disableIceLite: boolean;
|
|
2588
2588
|
|
|
2589
|
+
/**
|
|
2590
|
+
* @generated from field: optional bool auto_subscribe_data_track = 5;
|
|
2591
|
+
*/
|
|
2592
|
+
autoSubscribeDataTrack?: boolean;
|
|
2593
|
+
|
|
2589
2594
|
constructor(data?: PartialMessage<ConnectionSettings>);
|
|
2590
2595
|
|
|
2591
2596
|
static readonly runtime: typeof proto3;
|
|
@@ -799,6 +799,7 @@ export const ConnectionSettings = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
799
799
|
{ no: 2, name: "adaptive_stream", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
800
800
|
{ no: 3, name: "subscriber_allow_pause", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
801
801
|
{ no: 4, name: "disable_ice_lite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
802
|
+
{ no: 5, name: "auto_subscribe_data_track", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
802
803
|
],
|
|
803
804
|
);
|
|
804
805
|
|
|
@@ -2031,12 +2031,19 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
2031
2031
|
hidePhoneNumber: boolean;
|
|
2032
2032
|
|
|
2033
2033
|
/**
|
|
2034
|
-
* Dispatch Rule will only accept a call made
|
|
2034
|
+
* Dispatch Rule will only accept a call made from these numbers (if set).
|
|
2035
2035
|
*
|
|
2036
2036
|
* @generated from field: repeated string inbound_numbers = 7;
|
|
2037
2037
|
*/
|
|
2038
2038
|
inboundNumbers: string[];
|
|
2039
2039
|
|
|
2040
|
+
/**
|
|
2041
|
+
* Dispatch Rule will only accept a call made to these numbers (if set).
|
|
2042
|
+
*
|
|
2043
|
+
* @generated from field: repeated string numbers = 13;
|
|
2044
|
+
*/
|
|
2045
|
+
numbers: string[];
|
|
2046
|
+
|
|
2040
2047
|
/**
|
|
2041
2048
|
* Human-readable name for the Dispatch Rule.
|
|
2042
2049
|
*
|
|
@@ -2080,7 +2087,7 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
2080
2087
|
krispEnabled: boolean;
|
|
2081
2088
|
|
|
2082
2089
|
/**
|
|
2083
|
-
* NEXT ID:
|
|
2090
|
+
* NEXT ID: 14
|
|
2084
2091
|
*
|
|
2085
2092
|
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
2086
2093
|
*/
|
|
@@ -2729,6 +2736,11 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
2729
2736
|
*/
|
|
2730
2737
|
providerInfo?: ProviderInfo;
|
|
2731
2738
|
|
|
2739
|
+
/**
|
|
2740
|
+
* @generated from field: string sip_call_id = 28;
|
|
2741
|
+
*/
|
|
2742
|
+
sipCallId: string;
|
|
2743
|
+
|
|
2732
2744
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
2733
2745
|
|
|
2734
2746
|
static readonly runtime: typeof proto3;
|
|
@@ -622,6 +622,7 @@ export const SIPDispatchRuleInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
622
622
|
{ no: 3, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
623
623
|
{ no: 4, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
624
624
|
{ no: 7, name: "inbound_numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
625
|
+
{ no: 13, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
625
626
|
{ no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
626
627
|
{ no: 6, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
627
628
|
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
@@ -792,6 +793,7 @@ export const SIPCallInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
792
793
|
{ no: 25, name: "pcap_file_link", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
793
794
|
{ no: 26, name: "call_context", kind: "message", T: Any, repeated: true },
|
|
794
795
|
{ no: 27, name: "provider_info", kind: "message", T: ProviderInfo },
|
|
796
|
+
{ no: 28, name: "sip_call_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
795
797
|
],
|
|
796
798
|
);
|
|
797
799
|
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.
|
|
2
|
+
export const version = '1.44.1';
|