@livekit/protocol 1.29.4 → 1.31.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 +132 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +327 -21
- package/dist/index.d.mts +327 -21
- package/dist/index.d.ts +327 -21
- package/dist/index.mjs +128 -25
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_egress_pb.d.ts +21 -1
- package/src/gen/livekit_egress_pb.js +12 -0
- package/src/gen/livekit_ingress_pb.d.ts +21 -0
- package/src/gen/livekit_ingress_pb.js +3 -0
- package/src/gen/livekit_models_pb.d.ts +48 -16
- package/src/gen/livekit_models_pb.js +16 -4
- package/src/gen/livekit_sip_pb.d.ts +237 -3
- package/src/gen/livekit_sip_pb.js +71 -4
- package/src/gen/version.js +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1516,6 +1516,12 @@ declare class DataPacket extends Message<DataPacket> {
|
|
|
1516
1516
|
*/
|
|
1517
1517
|
value: DataStream_Chunk;
|
|
1518
1518
|
case: "streamChunk";
|
|
1519
|
+
} | {
|
|
1520
|
+
/**
|
|
1521
|
+
* @generated from field: livekit.DataStream.Trailer stream_trailer = 15;
|
|
1522
|
+
*/
|
|
1523
|
+
value: DataStream_Trailer;
|
|
1524
|
+
case: "streamTrailer";
|
|
1519
1525
|
} | { case: undefined; value?: undefined };
|
|
1520
1526
|
|
|
1521
1527
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -3092,13 +3098,6 @@ declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
3092
3098
|
*/
|
|
3093
3099
|
totalLength?: bigint;
|
|
3094
3100
|
|
|
3095
|
-
/**
|
|
3096
|
-
* only populated for finite streams, if it's a stream of unknown size this stays empty
|
|
3097
|
-
*
|
|
3098
|
-
* @generated from field: optional uint64 total_chunks = 6;
|
|
3099
|
-
*/
|
|
3100
|
-
totalChunks?: bigint;
|
|
3101
|
-
|
|
3102
3101
|
/**
|
|
3103
3102
|
* defaults to NONE
|
|
3104
3103
|
*
|
|
@@ -3170,24 +3169,17 @@ declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
|
3170
3169
|
*/
|
|
3171
3170
|
content: Uint8Array;
|
|
3172
3171
|
|
|
3173
|
-
/**
|
|
3174
|
-
* true only if this is the last chunk of this stream - can also be sent with empty content
|
|
3175
|
-
*
|
|
3176
|
-
* @generated from field: bool complete = 4;
|
|
3177
|
-
*/
|
|
3178
|
-
complete: boolean;
|
|
3179
|
-
|
|
3180
3172
|
/**
|
|
3181
3173
|
* a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced
|
|
3182
3174
|
*
|
|
3183
|
-
* @generated from field: int32 version =
|
|
3175
|
+
* @generated from field: int32 version = 4;
|
|
3184
3176
|
*/
|
|
3185
3177
|
version: number;
|
|
3186
3178
|
|
|
3187
3179
|
/**
|
|
3188
3180
|
* optional, initialization vector for AES-GCM encryption
|
|
3189
3181
|
*
|
|
3190
|
-
* @generated from field: optional bytes iv =
|
|
3182
|
+
* @generated from field: optional bytes iv = 5;
|
|
3191
3183
|
*/
|
|
3192
3184
|
iv?: Uint8Array;
|
|
3193
3185
|
|
|
@@ -3206,6 +3198,46 @@ declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
|
3206
3198
|
static equals(a: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined, b: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined): boolean;
|
|
3207
3199
|
}
|
|
3208
3200
|
|
|
3201
|
+
/**
|
|
3202
|
+
* @generated from message livekit.DataStream.Trailer
|
|
3203
|
+
*/
|
|
3204
|
+
declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
3205
|
+
/**
|
|
3206
|
+
* unique identifier for this data stream
|
|
3207
|
+
*
|
|
3208
|
+
* @generated from field: string stream_id = 1;
|
|
3209
|
+
*/
|
|
3210
|
+
streamId: string;
|
|
3211
|
+
|
|
3212
|
+
/**
|
|
3213
|
+
* reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)
|
|
3214
|
+
*
|
|
3215
|
+
* @generated from field: string reason = 2;
|
|
3216
|
+
*/
|
|
3217
|
+
reason: string;
|
|
3218
|
+
|
|
3219
|
+
/**
|
|
3220
|
+
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
3221
|
+
*
|
|
3222
|
+
* @generated from field: map<string, string> extensions = 3;
|
|
3223
|
+
*/
|
|
3224
|
+
extensions: { [key: string]: string };
|
|
3225
|
+
|
|
3226
|
+
constructor(data?: PartialMessage<DataStream_Trailer>);
|
|
3227
|
+
|
|
3228
|
+
static readonly runtime: typeof proto3;
|
|
3229
|
+
static readonly typeName = "livekit.DataStream.Trailer";
|
|
3230
|
+
static readonly fields: FieldList;
|
|
3231
|
+
|
|
3232
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_Trailer;
|
|
3233
|
+
|
|
3234
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
3235
|
+
|
|
3236
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
3237
|
+
|
|
3238
|
+
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3209
3241
|
// Copyright 2023 LiveKit, Inc.
|
|
3210
3242
|
//
|
|
3211
3243
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -4392,6 +4424,21 @@ declare enum EgressStatus {
|
|
|
4392
4424
|
EGRESS_LIMIT_REACHED = 6,
|
|
4393
4425
|
}
|
|
4394
4426
|
|
|
4427
|
+
/**
|
|
4428
|
+
* @generated from enum livekit.EgressSourceType
|
|
4429
|
+
*/
|
|
4430
|
+
declare enum EgressSourceType {
|
|
4431
|
+
/**
|
|
4432
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0;
|
|
4433
|
+
*/
|
|
4434
|
+
WEB = 0,
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1;
|
|
4438
|
+
*/
|
|
4439
|
+
SDK = 1,
|
|
4440
|
+
}
|
|
4441
|
+
|
|
4395
4442
|
/**
|
|
4396
4443
|
* composite using a web browser
|
|
4397
4444
|
*
|
|
@@ -5732,6 +5779,11 @@ declare class EgressInfo extends Message<EgressInfo> {
|
|
|
5732
5779
|
*/
|
|
5733
5780
|
roomName: string;
|
|
5734
5781
|
|
|
5782
|
+
/**
|
|
5783
|
+
* @generated from field: livekit.EgressSourceType source_type = 26;
|
|
5784
|
+
*/
|
|
5785
|
+
sourceType: EgressSourceType;
|
|
5786
|
+
|
|
5735
5787
|
/**
|
|
5736
5788
|
* @generated from field: livekit.EgressStatus status = 3;
|
|
5737
5789
|
*/
|
|
@@ -5856,7 +5908,7 @@ declare class EgressInfo extends Message<EgressInfo> {
|
|
|
5856
5908
|
manifestLocation: string;
|
|
5857
5909
|
|
|
5858
5910
|
/**
|
|
5859
|
-
* next ID:
|
|
5911
|
+
* next ID: 27
|
|
5860
5912
|
*
|
|
5861
5913
|
* @generated from field: bool backup_storage_used = 25;
|
|
5862
5914
|
*/
|
|
@@ -6443,6 +6495,13 @@ declare class CreateIngressRequest extends Message<CreateIngressRequest> {
|
|
|
6443
6495
|
*/
|
|
6444
6496
|
video?: IngressVideoOptions;
|
|
6445
6497
|
|
|
6498
|
+
/**
|
|
6499
|
+
* The default value is true and when set to false, the new connection attempts will be rejected
|
|
6500
|
+
*
|
|
6501
|
+
* @generated from field: optional bool enabled = 12;
|
|
6502
|
+
*/
|
|
6503
|
+
enabled?: boolean;
|
|
6504
|
+
|
|
6446
6505
|
constructor(data?: PartialMessage<CreateIngressRequest>);
|
|
6447
6506
|
|
|
6448
6507
|
static readonly runtime: typeof proto3;
|
|
@@ -6717,6 +6776,13 @@ declare class IngressInfo extends Message<IngressInfo> {
|
|
|
6717
6776
|
*/
|
|
6718
6777
|
state?: IngressState;
|
|
6719
6778
|
|
|
6779
|
+
/**
|
|
6780
|
+
* The default value is true and when set to false, the new connection attempts will be rejected
|
|
6781
|
+
*
|
|
6782
|
+
* @generated from field: optional bool enabled = 16;
|
|
6783
|
+
*/
|
|
6784
|
+
enabled?: boolean;
|
|
6785
|
+
|
|
6720
6786
|
constructor(data?: PartialMessage<IngressInfo>);
|
|
6721
6787
|
|
|
6722
6788
|
static readonly runtime: typeof proto3;
|
|
@@ -6973,6 +7039,13 @@ declare class UpdateIngressRequest extends Message<UpdateIngressRequest> {
|
|
|
6973
7039
|
*/
|
|
6974
7040
|
video?: IngressVideoOptions;
|
|
6975
7041
|
|
|
7042
|
+
/**
|
|
7043
|
+
* The default value is true and when set to false, the new connection attempts will be rejected
|
|
7044
|
+
*
|
|
7045
|
+
* @generated from field: optional bool enabled = 11;
|
|
7046
|
+
*/
|
|
7047
|
+
enabled?: boolean;
|
|
7048
|
+
|
|
6976
7049
|
constructor(data?: PartialMessage<UpdateIngressRequest>);
|
|
6977
7050
|
|
|
6978
7051
|
static readonly runtime: typeof proto3;
|
|
@@ -9871,6 +9944,58 @@ declare enum SIPTransport {
|
|
|
9871
9944
|
SIP_TRANSPORT_TLS = 3,
|
|
9872
9945
|
}
|
|
9873
9946
|
|
|
9947
|
+
/**
|
|
9948
|
+
* @generated from enum livekit.SIPHeaderOptions
|
|
9949
|
+
*/
|
|
9950
|
+
declare enum SIPHeaderOptions {
|
|
9951
|
+
/**
|
|
9952
|
+
* do not map any headers, except ones mapped explicitly
|
|
9953
|
+
*
|
|
9954
|
+
* @generated from enum value: SIP_NO_HEADERS = 0;
|
|
9955
|
+
*/
|
|
9956
|
+
SIP_NO_HEADERS = 0,
|
|
9957
|
+
|
|
9958
|
+
/**
|
|
9959
|
+
* map all X-* headers to sip.h.x-* attributes
|
|
9960
|
+
*
|
|
9961
|
+
* @generated from enum value: SIP_X_HEADERS = 1;
|
|
9962
|
+
*/
|
|
9963
|
+
SIP_X_HEADERS = 1,
|
|
9964
|
+
|
|
9965
|
+
/**
|
|
9966
|
+
* map all headers to sip.h.* attributes
|
|
9967
|
+
*
|
|
9968
|
+
* @generated from enum value: SIP_ALL_HEADERS = 2;
|
|
9969
|
+
*/
|
|
9970
|
+
SIP_ALL_HEADERS = 2,
|
|
9971
|
+
}
|
|
9972
|
+
|
|
9973
|
+
/**
|
|
9974
|
+
* @generated from enum livekit.SIPMediaEncryption
|
|
9975
|
+
*/
|
|
9976
|
+
declare enum SIPMediaEncryption {
|
|
9977
|
+
/**
|
|
9978
|
+
* do not enable encryption
|
|
9979
|
+
*
|
|
9980
|
+
* @generated from enum value: SIP_MEDIA_ENCRYPT_DISABLE = 0;
|
|
9981
|
+
*/
|
|
9982
|
+
SIP_MEDIA_ENCRYPT_DISABLE = 0,
|
|
9983
|
+
|
|
9984
|
+
/**
|
|
9985
|
+
* use encryption if available
|
|
9986
|
+
*
|
|
9987
|
+
* @generated from enum value: SIP_MEDIA_ENCRYPT_ALLOW = 1;
|
|
9988
|
+
*/
|
|
9989
|
+
SIP_MEDIA_ENCRYPT_ALLOW = 1,
|
|
9990
|
+
|
|
9991
|
+
/**
|
|
9992
|
+
* require encryption
|
|
9993
|
+
*
|
|
9994
|
+
* @generated from enum value: SIP_MEDIA_ENCRYPT_REQUIRE = 2;
|
|
9995
|
+
*/
|
|
9996
|
+
SIP_MEDIA_ENCRYPT_REQUIRE = 2,
|
|
9997
|
+
}
|
|
9998
|
+
|
|
9874
9999
|
/**
|
|
9875
10000
|
* @generated from enum livekit.SIPCallStatus
|
|
9876
10001
|
*/
|
|
@@ -9926,6 +10051,26 @@ declare enum SIPFeature {
|
|
|
9926
10051
|
KRISP_ENABLED = 1,
|
|
9927
10052
|
}
|
|
9928
10053
|
|
|
10054
|
+
/**
|
|
10055
|
+
* @generated from enum livekit.SIPCallDirection
|
|
10056
|
+
*/
|
|
10057
|
+
declare enum SIPCallDirection {
|
|
10058
|
+
/**
|
|
10059
|
+
* @generated from enum value: SCD_UNKNOWN = 0;
|
|
10060
|
+
*/
|
|
10061
|
+
SCD_UNKNOWN = 0,
|
|
10062
|
+
|
|
10063
|
+
/**
|
|
10064
|
+
* @generated from enum value: SCD_INBOUND = 1;
|
|
10065
|
+
*/
|
|
10066
|
+
SCD_INBOUND = 1,
|
|
10067
|
+
|
|
10068
|
+
/**
|
|
10069
|
+
* @generated from enum value: SCD_OUTBOUND = 2;
|
|
10070
|
+
*/
|
|
10071
|
+
SCD_OUTBOUND = 2,
|
|
10072
|
+
}
|
|
10073
|
+
|
|
9929
10074
|
/**
|
|
9930
10075
|
* @generated from message livekit.CreateSIPTrunkRequest
|
|
9931
10076
|
* @deprecated
|
|
@@ -10259,6 +10404,18 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
10259
10404
|
*/
|
|
10260
10405
|
attributesToHeaders: { [key: string]: string };
|
|
10261
10406
|
|
|
10407
|
+
/**
|
|
10408
|
+
* Map SIP headers from INVITE to sip.h.* participant attributes automatically.
|
|
10409
|
+
*
|
|
10410
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
10411
|
+
*
|
|
10412
|
+
* When mapping INVITE headers to response headers with attributes_to_headers map,
|
|
10413
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
10414
|
+
*
|
|
10415
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 15;
|
|
10416
|
+
*/
|
|
10417
|
+
includeHeaders: SIPHeaderOptions;
|
|
10418
|
+
|
|
10262
10419
|
/**
|
|
10263
10420
|
* Max time for the caller to wait for track subscription.
|
|
10264
10421
|
*
|
|
@@ -10278,6 +10435,11 @@ declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
10278
10435
|
*/
|
|
10279
10436
|
krispEnabled: boolean;
|
|
10280
10437
|
|
|
10438
|
+
/**
|
|
10439
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 16;
|
|
10440
|
+
*/
|
|
10441
|
+
mediaEncryption: SIPMediaEncryption;
|
|
10442
|
+
|
|
10281
10443
|
constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
|
|
10282
10444
|
|
|
10283
10445
|
static readonly runtime: typeof proto3;
|
|
@@ -10401,6 +10563,23 @@ declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo> {
|
|
|
10401
10563
|
*/
|
|
10402
10564
|
attributesToHeaders: { [key: string]: string };
|
|
10403
10565
|
|
|
10566
|
+
/**
|
|
10567
|
+
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
|
|
10568
|
+
*
|
|
10569
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
10570
|
+
*
|
|
10571
|
+
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
|
|
10572
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
10573
|
+
*
|
|
10574
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 12;
|
|
10575
|
+
*/
|
|
10576
|
+
includeHeaders: SIPHeaderOptions;
|
|
10577
|
+
|
|
10578
|
+
/**
|
|
10579
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 13;
|
|
10580
|
+
*/
|
|
10581
|
+
mediaEncryption: SIPMediaEncryption;
|
|
10582
|
+
|
|
10404
10583
|
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
|
|
10405
10584
|
|
|
10406
10585
|
static readonly runtime: typeof proto3;
|
|
@@ -10558,9 +10737,26 @@ declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse> {
|
|
|
10558
10737
|
}
|
|
10559
10738
|
|
|
10560
10739
|
/**
|
|
10740
|
+
* ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
10741
|
+
*
|
|
10561
10742
|
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
10562
10743
|
*/
|
|
10563
10744
|
declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
|
|
10745
|
+
/**
|
|
10746
|
+
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
10747
|
+
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
10748
|
+
*
|
|
10749
|
+
* @generated from field: repeated string trunk_ids = 1;
|
|
10750
|
+
*/
|
|
10751
|
+
trunkIds: string[];
|
|
10752
|
+
|
|
10753
|
+
/**
|
|
10754
|
+
* Only list trunks that contain one of the numbers, including wildcard trunks.
|
|
10755
|
+
*
|
|
10756
|
+
* @generated from field: repeated string numbers = 2;
|
|
10757
|
+
*/
|
|
10758
|
+
numbers: string[];
|
|
10759
|
+
|
|
10564
10760
|
constructor(data?: PartialMessage<ListSIPInboundTrunkRequest>);
|
|
10565
10761
|
|
|
10566
10762
|
static readonly runtime: typeof proto3;
|
|
@@ -10601,9 +10797,26 @@ declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundTrunkRes
|
|
|
10601
10797
|
}
|
|
10602
10798
|
|
|
10603
10799
|
/**
|
|
10800
|
+
* ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
10801
|
+
*
|
|
10604
10802
|
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
10605
10803
|
*/
|
|
10606
10804
|
declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
|
|
10805
|
+
/**
|
|
10806
|
+
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
10807
|
+
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
10808
|
+
*
|
|
10809
|
+
* @generated from field: repeated string trunk_ids = 1;
|
|
10810
|
+
*/
|
|
10811
|
+
trunkIds: string[];
|
|
10812
|
+
|
|
10813
|
+
/**
|
|
10814
|
+
* Only list trunks that contain one of the numbers, including wildcard trunks.
|
|
10815
|
+
*
|
|
10816
|
+
* @generated from field: repeated string numbers = 2;
|
|
10817
|
+
*/
|
|
10818
|
+
numbers: string[];
|
|
10819
|
+
|
|
10607
10820
|
constructor(data?: PartialMessage<ListSIPOutboundTrunkRequest>);
|
|
10608
10821
|
|
|
10609
10822
|
static readonly runtime: typeof proto3;
|
|
@@ -10878,6 +11091,20 @@ declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispatchRule
|
|
|
10878
11091
|
*/
|
|
10879
11092
|
attributes: { [key: string]: string };
|
|
10880
11093
|
|
|
11094
|
+
/**
|
|
11095
|
+
* Cloud-only, config preset to use
|
|
11096
|
+
*
|
|
11097
|
+
* @generated from field: string room_preset = 8;
|
|
11098
|
+
*/
|
|
11099
|
+
roomPreset: string;
|
|
11100
|
+
|
|
11101
|
+
/**
|
|
11102
|
+
* RoomConfiguration to use if the participant initiates the room
|
|
11103
|
+
*
|
|
11104
|
+
* @generated from field: livekit.RoomConfiguration room_config = 9;
|
|
11105
|
+
*/
|
|
11106
|
+
roomConfig?: RoomConfiguration;
|
|
11107
|
+
|
|
10881
11108
|
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
|
|
10882
11109
|
|
|
10883
11110
|
static readonly runtime: typeof proto3;
|
|
@@ -10947,6 +11174,32 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
10947
11174
|
*/
|
|
10948
11175
|
attributes: { [key: string]: string };
|
|
10949
11176
|
|
|
11177
|
+
/**
|
|
11178
|
+
* Cloud-only, config preset to use
|
|
11179
|
+
*
|
|
11180
|
+
* @generated from field: string room_preset = 9;
|
|
11181
|
+
*/
|
|
11182
|
+
roomPreset: string;
|
|
11183
|
+
|
|
11184
|
+
/**
|
|
11185
|
+
* RoomConfiguration to use if the participant initiates the room
|
|
11186
|
+
*
|
|
11187
|
+
* @generated from field: livekit.RoomConfiguration room_config = 10;
|
|
11188
|
+
*/
|
|
11189
|
+
roomConfig?: RoomConfiguration;
|
|
11190
|
+
|
|
11191
|
+
/**
|
|
11192
|
+
* @generated from field: bool krisp_enabled = 11;
|
|
11193
|
+
*/
|
|
11194
|
+
krispEnabled: boolean;
|
|
11195
|
+
|
|
11196
|
+
/**
|
|
11197
|
+
* NEXT ID: 13
|
|
11198
|
+
*
|
|
11199
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
11200
|
+
*/
|
|
11201
|
+
mediaEncryption: SIPMediaEncryption;
|
|
11202
|
+
|
|
10950
11203
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
10951
11204
|
|
|
10952
11205
|
static readonly runtime: typeof proto3;
|
|
@@ -10963,9 +11216,26 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
10963
11216
|
}
|
|
10964
11217
|
|
|
10965
11218
|
/**
|
|
11219
|
+
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
|
|
11220
|
+
*
|
|
10966
11221
|
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
10967
11222
|
*/
|
|
10968
11223
|
declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
|
|
11224
|
+
/**
|
|
11225
|
+
* Rule IDs to list. If this option is set, the response will contains rules in the same order.
|
|
11226
|
+
* If any of the rules is missing, a nil item in that position will be sent in the response.
|
|
11227
|
+
*
|
|
11228
|
+
* @generated from field: repeated string dispatch_rule_ids = 1;
|
|
11229
|
+
*/
|
|
11230
|
+
dispatchRuleIds: string[];
|
|
11231
|
+
|
|
11232
|
+
/**
|
|
11233
|
+
* Only list rules that contain one of the Trunk IDs, including wildcard rules.
|
|
11234
|
+
*
|
|
11235
|
+
* @generated from field: repeated string trunk_ids = 2;
|
|
11236
|
+
*/
|
|
11237
|
+
trunkIds: string[];
|
|
11238
|
+
|
|
10969
11239
|
constructor(data?: PartialMessage<ListSIPDispatchRuleRequest>);
|
|
10970
11240
|
|
|
10971
11241
|
static readonly runtime: typeof proto3;
|
|
@@ -11121,6 +11391,25 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
|
|
|
11121
11391
|
*/
|
|
11122
11392
|
hidePhoneNumber: boolean;
|
|
11123
11393
|
|
|
11394
|
+
/**
|
|
11395
|
+
* These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
|
|
11396
|
+
*
|
|
11397
|
+
* @generated from field: map<string, string> headers = 16;
|
|
11398
|
+
*/
|
|
11399
|
+
headers: { [key: string]: string };
|
|
11400
|
+
|
|
11401
|
+
/**
|
|
11402
|
+
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
|
|
11403
|
+
*
|
|
11404
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
11405
|
+
*
|
|
11406
|
+
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
|
|
11407
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
11408
|
+
*
|
|
11409
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 17;
|
|
11410
|
+
*/
|
|
11411
|
+
includeHeaders: SIPHeaderOptions;
|
|
11412
|
+
|
|
11124
11413
|
/**
|
|
11125
11414
|
* Max time for the callee to answer the call.
|
|
11126
11415
|
*
|
|
@@ -11138,11 +11427,16 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
|
|
|
11138
11427
|
/**
|
|
11139
11428
|
* Enable voice isolation for the callee.
|
|
11140
11429
|
*
|
|
11141
|
-
*
|
|
11430
|
+
* @generated from field: bool krisp_enabled = 14;
|
|
11431
|
+
*/
|
|
11432
|
+
krispEnabled: boolean;
|
|
11433
|
+
|
|
11434
|
+
/**
|
|
11435
|
+
* NEXT ID: 19
|
|
11142
11436
|
*
|
|
11143
|
-
* @generated from field:
|
|
11437
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
|
|
11144
11438
|
*/
|
|
11145
|
-
|
|
11439
|
+
mediaEncryption: SIPMediaEncryption;
|
|
11146
11440
|
|
|
11147
11441
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
11148
11442
|
|
|
@@ -11224,6 +11518,13 @@ declare class TransferSIPParticipantRequest extends Message<TransferSIPParticipa
|
|
|
11224
11518
|
*/
|
|
11225
11519
|
playDialtone: boolean;
|
|
11226
11520
|
|
|
11521
|
+
/**
|
|
11522
|
+
* Add the following headers to the REFER SIP request.
|
|
11523
|
+
*
|
|
11524
|
+
* @generated from field: map<string, string> headers = 5;
|
|
11525
|
+
*/
|
|
11526
|
+
headers: { [key: string]: string };
|
|
11527
|
+
|
|
11227
11528
|
constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
|
|
11228
11529
|
|
|
11229
11530
|
static readonly runtime: typeof proto3;
|
|
@@ -11285,6 +11586,11 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
11285
11586
|
*/
|
|
11286
11587
|
enabledFeatures: SIPFeature[];
|
|
11287
11588
|
|
|
11589
|
+
/**
|
|
11590
|
+
* @generated from field: livekit.SIPCallDirection call_direction = 15;
|
|
11591
|
+
*/
|
|
11592
|
+
callDirection: SIPCallDirection;
|
|
11593
|
+
|
|
11288
11594
|
/**
|
|
11289
11595
|
* @generated from field: livekit.SIPCallStatus call_status = 8;
|
|
11290
11596
|
*/
|
|
@@ -11472,4 +11778,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
11472
11778
|
|
|
11473
11779
|
declare const version: string;
|
|
11474
11780
|
|
|
11475
|
-
export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataPacket, DataPacket_Kind, DataStream, DataStream_Chunk, DataStream_FileHeader, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPFeature, SIPInboundTrunkInfo, SIPOutboundTrunkInfo, SIPParticipantInfo, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
|
|
11781
|
+
export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataPacket, DataPacket_Kind, DataStream, DataStream_Chunk, DataStream_FileHeader, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, Encryption, Encryption_Type, EventMetric, FileInfo, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobState, JobStatus, JobTermination, JobType, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, Ping, PlayoutDelay, Pong, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPMediaEncryption, SIPOutboundTrunkInfo, SIPParticipantInfo, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoQuality, WebEgressRequest, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, version };
|