@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/package.json
CHANGED
|
@@ -211,6 +211,21 @@ export declare enum EgressStatus {
|
|
|
211
211
|
EGRESS_LIMIT_REACHED = 6,
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
+
/**
|
|
215
|
+
* @generated from enum livekit.EgressSourceType
|
|
216
|
+
*/
|
|
217
|
+
export declare enum EgressSourceType {
|
|
218
|
+
/**
|
|
219
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0;
|
|
220
|
+
*/
|
|
221
|
+
WEB = 0,
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1;
|
|
225
|
+
*/
|
|
226
|
+
SDK = 1,
|
|
227
|
+
}
|
|
228
|
+
|
|
214
229
|
/**
|
|
215
230
|
* composite using a web browser
|
|
216
231
|
*
|
|
@@ -1551,6 +1566,11 @@ export declare class EgressInfo extends Message<EgressInfo> {
|
|
|
1551
1566
|
*/
|
|
1552
1567
|
roomName: string;
|
|
1553
1568
|
|
|
1569
|
+
/**
|
|
1570
|
+
* @generated from field: livekit.EgressSourceType source_type = 26;
|
|
1571
|
+
*/
|
|
1572
|
+
sourceType: EgressSourceType;
|
|
1573
|
+
|
|
1554
1574
|
/**
|
|
1555
1575
|
* @generated from field: livekit.EgressStatus status = 3;
|
|
1556
1576
|
*/
|
|
@@ -1675,7 +1695,7 @@ export declare class EgressInfo extends Message<EgressInfo> {
|
|
|
1675
1695
|
manifestLocation: string;
|
|
1676
1696
|
|
|
1677
1697
|
/**
|
|
1678
|
-
* next ID:
|
|
1698
|
+
* next ID: 27
|
|
1679
1699
|
*
|
|
1680
1700
|
* @generated from field: bool backup_storage_used = 25;
|
|
1681
1701
|
*/
|
|
@@ -110,6 +110,17 @@ export const EgressStatus = /*@__PURE__*/ proto3.makeEnum(
|
|
|
110
110
|
],
|
|
111
111
|
);
|
|
112
112
|
|
|
113
|
+
/**
|
|
114
|
+
* @generated from enum livekit.EgressSourceType
|
|
115
|
+
*/
|
|
116
|
+
export const EgressSourceType = /*@__PURE__*/ proto3.makeEnum(
|
|
117
|
+
"livekit.EgressSourceType",
|
|
118
|
+
[
|
|
119
|
+
{no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB"},
|
|
120
|
+
{no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK"},
|
|
121
|
+
],
|
|
122
|
+
);
|
|
123
|
+
|
|
113
124
|
/**
|
|
114
125
|
* composite using a web browser
|
|
115
126
|
*
|
|
@@ -456,6 +467,7 @@ export const EgressInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
456
467
|
{ no: 1, name: "egress_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
468
|
{ no: 2, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
458
469
|
{ no: 13, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
470
|
+
{ no: 26, name: "source_type", kind: "enum", T: proto3.getEnumType(EgressSourceType) },
|
|
459
471
|
{ no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) },
|
|
460
472
|
{ no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
461
473
|
{ no: 11, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
@@ -213,6 +213,13 @@ export declare class CreateIngressRequest extends Message<CreateIngressRequest>
|
|
|
213
213
|
*/
|
|
214
214
|
video?: IngressVideoOptions;
|
|
215
215
|
|
|
216
|
+
/**
|
|
217
|
+
* The default value is true and when set to false, the new connection attempts will be rejected
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: optional bool enabled = 12;
|
|
220
|
+
*/
|
|
221
|
+
enabled?: boolean;
|
|
222
|
+
|
|
216
223
|
constructor(data?: PartialMessage<CreateIngressRequest>);
|
|
217
224
|
|
|
218
225
|
static readonly runtime: typeof proto3;
|
|
@@ -487,6 +494,13 @@ export declare class IngressInfo extends Message<IngressInfo> {
|
|
|
487
494
|
*/
|
|
488
495
|
state?: IngressState;
|
|
489
496
|
|
|
497
|
+
/**
|
|
498
|
+
* The default value is true and when set to false, the new connection attempts will be rejected
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: optional bool enabled = 16;
|
|
501
|
+
*/
|
|
502
|
+
enabled?: boolean;
|
|
503
|
+
|
|
490
504
|
constructor(data?: PartialMessage<IngressInfo>);
|
|
491
505
|
|
|
492
506
|
static readonly runtime: typeof proto3;
|
|
@@ -743,6 +757,13 @@ export declare class UpdateIngressRequest extends Message<UpdateIngressRequest>
|
|
|
743
757
|
*/
|
|
744
758
|
video?: IngressVideoOptions;
|
|
745
759
|
|
|
760
|
+
/**
|
|
761
|
+
* The default value is true and when set to false, the new connection attempts will be rejected
|
|
762
|
+
*
|
|
763
|
+
* @generated from field: optional bool enabled = 11;
|
|
764
|
+
*/
|
|
765
|
+
enabled?: boolean;
|
|
766
|
+
|
|
746
767
|
constructor(data?: PartialMessage<UpdateIngressRequest>);
|
|
747
768
|
|
|
748
769
|
static readonly runtime: typeof proto3;
|
|
@@ -79,6 +79,7 @@ export const CreateIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
79
79
|
{ no: 11, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
80
80
|
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
81
81
|
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions },
|
|
82
|
+
{ no: 12, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
82
83
|
],
|
|
83
84
|
);
|
|
84
85
|
|
|
@@ -154,6 +155,7 @@ export const IngressInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
154
155
|
{ no: 14, name: "participant_metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
155
156
|
{ no: 11, name: "reusable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
156
157
|
{ no: 12, name: "state", kind: "message", T: IngressState },
|
|
158
|
+
{ no: 16, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
157
159
|
],
|
|
158
160
|
);
|
|
159
161
|
|
|
@@ -233,6 +235,7 @@ export const UpdateIngressRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
233
235
|
{ no: 10, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
234
236
|
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions },
|
|
235
237
|
{ no: 7, name: "video", kind: "message", T: IngressVideoOptions },
|
|
238
|
+
{ no: 11, name: "enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
236
239
|
],
|
|
237
240
|
);
|
|
238
241
|
|
|
@@ -1145,6 +1145,12 @@ export declare class DataPacket extends Message<DataPacket> {
|
|
|
1145
1145
|
*/
|
|
1146
1146
|
value: DataStream_Chunk;
|
|
1147
1147
|
case: "streamChunk";
|
|
1148
|
+
} | {
|
|
1149
|
+
/**
|
|
1150
|
+
* @generated from field: livekit.DataStream.Trailer stream_trailer = 15;
|
|
1151
|
+
*/
|
|
1152
|
+
value: DataStream_Trailer;
|
|
1153
|
+
case: "streamTrailer";
|
|
1148
1154
|
} | { case: undefined; value?: undefined };
|
|
1149
1155
|
|
|
1150
1156
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -2721,13 +2727,6 @@ export declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
2721
2727
|
*/
|
|
2722
2728
|
totalLength?: bigint;
|
|
2723
2729
|
|
|
2724
|
-
/**
|
|
2725
|
-
* only populated for finite streams, if it's a stream of unknown size this stays empty
|
|
2726
|
-
*
|
|
2727
|
-
* @generated from field: optional uint64 total_chunks = 6;
|
|
2728
|
-
*/
|
|
2729
|
-
totalChunks?: bigint;
|
|
2730
|
-
|
|
2731
2730
|
/**
|
|
2732
2731
|
* defaults to NONE
|
|
2733
2732
|
*
|
|
@@ -2799,24 +2798,17 @@ export declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
|
2799
2798
|
*/
|
|
2800
2799
|
content: Uint8Array;
|
|
2801
2800
|
|
|
2802
|
-
/**
|
|
2803
|
-
* true only if this is the last chunk of this stream - can also be sent with empty content
|
|
2804
|
-
*
|
|
2805
|
-
* @generated from field: bool complete = 4;
|
|
2806
|
-
*/
|
|
2807
|
-
complete: boolean;
|
|
2808
|
-
|
|
2809
2801
|
/**
|
|
2810
2802
|
* a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced
|
|
2811
2803
|
*
|
|
2812
|
-
* @generated from field: int32 version =
|
|
2804
|
+
* @generated from field: int32 version = 4;
|
|
2813
2805
|
*/
|
|
2814
2806
|
version: number;
|
|
2815
2807
|
|
|
2816
2808
|
/**
|
|
2817
2809
|
* optional, initialization vector for AES-GCM encryption
|
|
2818
2810
|
*
|
|
2819
|
-
* @generated from field: optional bytes iv =
|
|
2811
|
+
* @generated from field: optional bytes iv = 5;
|
|
2820
2812
|
*/
|
|
2821
2813
|
iv?: Uint8Array;
|
|
2822
2814
|
|
|
@@ -2835,3 +2827,43 @@ export declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
|
2835
2827
|
static equals(a: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined, b: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined): boolean;
|
|
2836
2828
|
}
|
|
2837
2829
|
|
|
2830
|
+
/**
|
|
2831
|
+
* @generated from message livekit.DataStream.Trailer
|
|
2832
|
+
*/
|
|
2833
|
+
export declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
2834
|
+
/**
|
|
2835
|
+
* unique identifier for this data stream
|
|
2836
|
+
*
|
|
2837
|
+
* @generated from field: string stream_id = 1;
|
|
2838
|
+
*/
|
|
2839
|
+
streamId: string;
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)
|
|
2843
|
+
*
|
|
2844
|
+
* @generated from field: string reason = 2;
|
|
2845
|
+
*/
|
|
2846
|
+
reason: string;
|
|
2847
|
+
|
|
2848
|
+
/**
|
|
2849
|
+
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
2850
|
+
*
|
|
2851
|
+
* @generated from field: map<string, string> extensions = 3;
|
|
2852
|
+
*/
|
|
2853
|
+
extensions: { [key: string]: string };
|
|
2854
|
+
|
|
2855
|
+
constructor(data?: PartialMessage<DataStream_Trailer>);
|
|
2856
|
+
|
|
2857
|
+
static readonly runtime: typeof proto3;
|
|
2858
|
+
static readonly typeName = "livekit.DataStream.Trailer";
|
|
2859
|
+
static readonly fields: FieldList;
|
|
2860
|
+
|
|
2861
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_Trailer;
|
|
2862
|
+
|
|
2863
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
2864
|
+
|
|
2865
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
2866
|
+
|
|
2867
|
+
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
2868
|
+
}
|
|
2869
|
+
|
|
@@ -397,6 +397,7 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
397
397
|
{ no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
|
|
398
398
|
{ no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
|
|
399
399
|
{ no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
|
|
400
|
+
{ no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" },
|
|
400
401
|
],
|
|
401
402
|
);
|
|
402
403
|
|
|
@@ -886,7 +887,6 @@ export const DataStream_Header = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
886
887
|
{ no: 3, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
887
888
|
{ no: 4, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
888
889
|
{ no: 5, name: "total_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
889
|
-
{ no: 6, name: "total_chunks", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
890
890
|
{ no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
891
891
|
{ no: 8, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
892
892
|
{ no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
|
|
@@ -904,10 +904,22 @@ export const DataStream_Chunk = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
904
904
|
{ no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
905
905
|
{ no: 2, name: "chunk_index", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
906
906
|
{ no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
907
|
-
{ no: 4, name: "
|
|
908
|
-
{ no: 5, name: "
|
|
909
|
-
{ no: 6, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
907
|
+
{ no: 4, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
908
|
+
{ no: 5, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
910
909
|
],
|
|
911
910
|
{localName: "DataStream_Chunk"},
|
|
912
911
|
);
|
|
913
912
|
|
|
913
|
+
/**
|
|
914
|
+
* @generated from message livekit.DataStream.Trailer
|
|
915
|
+
*/
|
|
916
|
+
export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
|
|
917
|
+
"livekit.DataStream.Trailer",
|
|
918
|
+
() => [
|
|
919
|
+
{ no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
920
|
+
{ no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
921
|
+
{ no: 3, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
922
|
+
],
|
|
923
|
+
{localName: "DataStream_Trailer"},
|
|
924
|
+
);
|
|
925
|
+
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
21
21
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
22
|
+
import type { RoomConfiguration } from "./livekit_room_pb.js";
|
|
22
23
|
import type { DisconnectReason } from "./livekit_models_pb.js";
|
|
23
24
|
|
|
24
25
|
/**
|
|
@@ -46,6 +47,58 @@ export declare enum SIPTransport {
|
|
|
46
47
|
SIP_TRANSPORT_TLS = 3,
|
|
47
48
|
}
|
|
48
49
|
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum livekit.SIPHeaderOptions
|
|
52
|
+
*/
|
|
53
|
+
export declare enum SIPHeaderOptions {
|
|
54
|
+
/**
|
|
55
|
+
* do not map any headers, except ones mapped explicitly
|
|
56
|
+
*
|
|
57
|
+
* @generated from enum value: SIP_NO_HEADERS = 0;
|
|
58
|
+
*/
|
|
59
|
+
SIP_NO_HEADERS = 0,
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* map all X-* headers to sip.h.x-* attributes
|
|
63
|
+
*
|
|
64
|
+
* @generated from enum value: SIP_X_HEADERS = 1;
|
|
65
|
+
*/
|
|
66
|
+
SIP_X_HEADERS = 1,
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* map all headers to sip.h.* attributes
|
|
70
|
+
*
|
|
71
|
+
* @generated from enum value: SIP_ALL_HEADERS = 2;
|
|
72
|
+
*/
|
|
73
|
+
SIP_ALL_HEADERS = 2,
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from enum livekit.SIPMediaEncryption
|
|
78
|
+
*/
|
|
79
|
+
export declare enum SIPMediaEncryption {
|
|
80
|
+
/**
|
|
81
|
+
* do not enable encryption
|
|
82
|
+
*
|
|
83
|
+
* @generated from enum value: SIP_MEDIA_ENCRYPT_DISABLE = 0;
|
|
84
|
+
*/
|
|
85
|
+
SIP_MEDIA_ENCRYPT_DISABLE = 0,
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* use encryption if available
|
|
89
|
+
*
|
|
90
|
+
* @generated from enum value: SIP_MEDIA_ENCRYPT_ALLOW = 1;
|
|
91
|
+
*/
|
|
92
|
+
SIP_MEDIA_ENCRYPT_ALLOW = 1,
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* require encryption
|
|
96
|
+
*
|
|
97
|
+
* @generated from enum value: SIP_MEDIA_ENCRYPT_REQUIRE = 2;
|
|
98
|
+
*/
|
|
99
|
+
SIP_MEDIA_ENCRYPT_REQUIRE = 2,
|
|
100
|
+
}
|
|
101
|
+
|
|
49
102
|
/**
|
|
50
103
|
* @generated from enum livekit.SIPCallStatus
|
|
51
104
|
*/
|
|
@@ -101,6 +154,26 @@ export declare enum SIPFeature {
|
|
|
101
154
|
KRISP_ENABLED = 1,
|
|
102
155
|
}
|
|
103
156
|
|
|
157
|
+
/**
|
|
158
|
+
* @generated from enum livekit.SIPCallDirection
|
|
159
|
+
*/
|
|
160
|
+
export declare enum SIPCallDirection {
|
|
161
|
+
/**
|
|
162
|
+
* @generated from enum value: SCD_UNKNOWN = 0;
|
|
163
|
+
*/
|
|
164
|
+
SCD_UNKNOWN = 0,
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* @generated from enum value: SCD_INBOUND = 1;
|
|
168
|
+
*/
|
|
169
|
+
SCD_INBOUND = 1,
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* @generated from enum value: SCD_OUTBOUND = 2;
|
|
173
|
+
*/
|
|
174
|
+
SCD_OUTBOUND = 2,
|
|
175
|
+
}
|
|
176
|
+
|
|
104
177
|
/**
|
|
105
178
|
* @generated from message livekit.CreateSIPTrunkRequest
|
|
106
179
|
* @deprecated
|
|
@@ -434,6 +507,18 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
434
507
|
*/
|
|
435
508
|
attributesToHeaders: { [key: string]: string };
|
|
436
509
|
|
|
510
|
+
/**
|
|
511
|
+
* Map SIP headers from INVITE to sip.h.* participant attributes automatically.
|
|
512
|
+
*
|
|
513
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
514
|
+
*
|
|
515
|
+
* When mapping INVITE headers to response headers with attributes_to_headers map,
|
|
516
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 15;
|
|
519
|
+
*/
|
|
520
|
+
includeHeaders: SIPHeaderOptions;
|
|
521
|
+
|
|
437
522
|
/**
|
|
438
523
|
* Max time for the caller to wait for track subscription.
|
|
439
524
|
*
|
|
@@ -453,6 +538,11 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
453
538
|
*/
|
|
454
539
|
krispEnabled: boolean;
|
|
455
540
|
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 16;
|
|
543
|
+
*/
|
|
544
|
+
mediaEncryption: SIPMediaEncryption;
|
|
545
|
+
|
|
456
546
|
constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
|
|
457
547
|
|
|
458
548
|
static readonly runtime: typeof proto3;
|
|
@@ -576,6 +666,23 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
|
|
|
576
666
|
*/
|
|
577
667
|
attributesToHeaders: { [key: string]: string };
|
|
578
668
|
|
|
669
|
+
/**
|
|
670
|
+
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
|
|
671
|
+
*
|
|
672
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
673
|
+
*
|
|
674
|
+
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
|
|
675
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
676
|
+
*
|
|
677
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 12;
|
|
678
|
+
*/
|
|
679
|
+
includeHeaders: SIPHeaderOptions;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 13;
|
|
683
|
+
*/
|
|
684
|
+
mediaEncryption: SIPMediaEncryption;
|
|
685
|
+
|
|
579
686
|
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
|
|
580
687
|
|
|
581
688
|
static readonly runtime: typeof proto3;
|
|
@@ -733,9 +840,26 @@ export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse>
|
|
|
733
840
|
}
|
|
734
841
|
|
|
735
842
|
/**
|
|
843
|
+
* ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
844
|
+
*
|
|
736
845
|
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
737
846
|
*/
|
|
738
847
|
export declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
|
|
848
|
+
/**
|
|
849
|
+
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
850
|
+
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
851
|
+
*
|
|
852
|
+
* @generated from field: repeated string trunk_ids = 1;
|
|
853
|
+
*/
|
|
854
|
+
trunkIds: string[];
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Only list trunks that contain one of the numbers, including wildcard trunks.
|
|
858
|
+
*
|
|
859
|
+
* @generated from field: repeated string numbers = 2;
|
|
860
|
+
*/
|
|
861
|
+
numbers: string[];
|
|
862
|
+
|
|
739
863
|
constructor(data?: PartialMessage<ListSIPInboundTrunkRequest>);
|
|
740
864
|
|
|
741
865
|
static readonly runtime: typeof proto3;
|
|
@@ -776,9 +900,26 @@ export declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundT
|
|
|
776
900
|
}
|
|
777
901
|
|
|
778
902
|
/**
|
|
903
|
+
* ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
|
|
904
|
+
*
|
|
779
905
|
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
780
906
|
*/
|
|
781
907
|
export declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
|
|
908
|
+
/**
|
|
909
|
+
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
910
|
+
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
911
|
+
*
|
|
912
|
+
* @generated from field: repeated string trunk_ids = 1;
|
|
913
|
+
*/
|
|
914
|
+
trunkIds: string[];
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* Only list trunks that contain one of the numbers, including wildcard trunks.
|
|
918
|
+
*
|
|
919
|
+
* @generated from field: repeated string numbers = 2;
|
|
920
|
+
*/
|
|
921
|
+
numbers: string[];
|
|
922
|
+
|
|
782
923
|
constructor(data?: PartialMessage<ListSIPOutboundTrunkRequest>);
|
|
783
924
|
|
|
784
925
|
static readonly runtime: typeof proto3;
|
|
@@ -1053,6 +1194,20 @@ export declare class CreateSIPDispatchRuleRequest extends Message<CreateSIPDispa
|
|
|
1053
1194
|
*/
|
|
1054
1195
|
attributes: { [key: string]: string };
|
|
1055
1196
|
|
|
1197
|
+
/**
|
|
1198
|
+
* Cloud-only, config preset to use
|
|
1199
|
+
*
|
|
1200
|
+
* @generated from field: string room_preset = 8;
|
|
1201
|
+
*/
|
|
1202
|
+
roomPreset: string;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* RoomConfiguration to use if the participant initiates the room
|
|
1206
|
+
*
|
|
1207
|
+
* @generated from field: livekit.RoomConfiguration room_config = 9;
|
|
1208
|
+
*/
|
|
1209
|
+
roomConfig?: RoomConfiguration;
|
|
1210
|
+
|
|
1056
1211
|
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);
|
|
1057
1212
|
|
|
1058
1213
|
static readonly runtime: typeof proto3;
|
|
@@ -1122,6 +1277,32 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
1122
1277
|
*/
|
|
1123
1278
|
attributes: { [key: string]: string };
|
|
1124
1279
|
|
|
1280
|
+
/**
|
|
1281
|
+
* Cloud-only, config preset to use
|
|
1282
|
+
*
|
|
1283
|
+
* @generated from field: string room_preset = 9;
|
|
1284
|
+
*/
|
|
1285
|
+
roomPreset: string;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* RoomConfiguration to use if the participant initiates the room
|
|
1289
|
+
*
|
|
1290
|
+
* @generated from field: livekit.RoomConfiguration room_config = 10;
|
|
1291
|
+
*/
|
|
1292
|
+
roomConfig?: RoomConfiguration;
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* @generated from field: bool krisp_enabled = 11;
|
|
1296
|
+
*/
|
|
1297
|
+
krispEnabled: boolean;
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* NEXT ID: 13
|
|
1301
|
+
*
|
|
1302
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
1303
|
+
*/
|
|
1304
|
+
mediaEncryption: SIPMediaEncryption;
|
|
1305
|
+
|
|
1125
1306
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
1126
1307
|
|
|
1127
1308
|
static readonly runtime: typeof proto3;
|
|
@@ -1138,9 +1319,26 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
1138
1319
|
}
|
|
1139
1320
|
|
|
1140
1321
|
/**
|
|
1322
|
+
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
|
|
1323
|
+
*
|
|
1141
1324
|
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
1142
1325
|
*/
|
|
1143
1326
|
export declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
|
|
1327
|
+
/**
|
|
1328
|
+
* Rule IDs to list. If this option is set, the response will contains rules in the same order.
|
|
1329
|
+
* If any of the rules is missing, a nil item in that position will be sent in the response.
|
|
1330
|
+
*
|
|
1331
|
+
* @generated from field: repeated string dispatch_rule_ids = 1;
|
|
1332
|
+
*/
|
|
1333
|
+
dispatchRuleIds: string[];
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Only list rules that contain one of the Trunk IDs, including wildcard rules.
|
|
1337
|
+
*
|
|
1338
|
+
* @generated from field: repeated string trunk_ids = 2;
|
|
1339
|
+
*/
|
|
1340
|
+
trunkIds: string[];
|
|
1341
|
+
|
|
1144
1342
|
constructor(data?: PartialMessage<ListSIPDispatchRuleRequest>);
|
|
1145
1343
|
|
|
1146
1344
|
static readonly runtime: typeof proto3;
|
|
@@ -1296,6 +1494,25 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
1296
1494
|
*/
|
|
1297
1495
|
hidePhoneNumber: boolean;
|
|
1298
1496
|
|
|
1497
|
+
/**
|
|
1498
|
+
* These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
|
|
1499
|
+
*
|
|
1500
|
+
* @generated from field: map<string, string> headers = 16;
|
|
1501
|
+
*/
|
|
1502
|
+
headers: { [key: string]: string };
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
|
|
1506
|
+
*
|
|
1507
|
+
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
|
|
1508
|
+
*
|
|
1509
|
+
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
|
|
1510
|
+
* lowercase header names should be used, for example: sip.h.x-custom-header.
|
|
1511
|
+
*
|
|
1512
|
+
* @generated from field: livekit.SIPHeaderOptions include_headers = 17;
|
|
1513
|
+
*/
|
|
1514
|
+
includeHeaders: SIPHeaderOptions;
|
|
1515
|
+
|
|
1299
1516
|
/**
|
|
1300
1517
|
* Max time for the callee to answer the call.
|
|
1301
1518
|
*
|
|
@@ -1313,11 +1530,16 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
1313
1530
|
/**
|
|
1314
1531
|
* Enable voice isolation for the callee.
|
|
1315
1532
|
*
|
|
1316
|
-
*
|
|
1533
|
+
* @generated from field: bool krisp_enabled = 14;
|
|
1534
|
+
*/
|
|
1535
|
+
krispEnabled: boolean;
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* NEXT ID: 19
|
|
1317
1539
|
*
|
|
1318
|
-
* @generated from field:
|
|
1540
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
|
|
1319
1541
|
*/
|
|
1320
|
-
|
|
1542
|
+
mediaEncryption: SIPMediaEncryption;
|
|
1321
1543
|
|
|
1322
1544
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
1323
1545
|
|
|
@@ -1399,6 +1621,13 @@ export declare class TransferSIPParticipantRequest extends Message<TransferSIPPa
|
|
|
1399
1621
|
*/
|
|
1400
1622
|
playDialtone: boolean;
|
|
1401
1623
|
|
|
1624
|
+
/**
|
|
1625
|
+
* Add the following headers to the REFER SIP request.
|
|
1626
|
+
*
|
|
1627
|
+
* @generated from field: map<string, string> headers = 5;
|
|
1628
|
+
*/
|
|
1629
|
+
headers: { [key: string]: string };
|
|
1630
|
+
|
|
1402
1631
|
constructor(data?: PartialMessage<TransferSIPParticipantRequest>);
|
|
1403
1632
|
|
|
1404
1633
|
static readonly runtime: typeof proto3;
|
|
@@ -1460,6 +1689,11 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
1460
1689
|
*/
|
|
1461
1690
|
enabledFeatures: SIPFeature[];
|
|
1462
1691
|
|
|
1692
|
+
/**
|
|
1693
|
+
* @generated from field: livekit.SIPCallDirection call_direction = 15;
|
|
1694
|
+
*/
|
|
1695
|
+
callDirection: SIPCallDirection;
|
|
1696
|
+
|
|
1463
1697
|
/**
|
|
1464
1698
|
* @generated from field: livekit.SIPCallStatus call_status = 8;
|
|
1465
1699
|
*/
|