@livekit/protocol 1.30.0 → 1.32.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 +111 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +226 -34
- package/dist/index.d.mts +226 -34
- package/dist/index.d.ts +226 -34
- package/dist/index.mjs +107 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- 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 +103 -28
- package/src/gen/livekit_models_pb.js +36 -11
- package/src/gen/livekit_sip_pb.d.ts +102 -6
- package/src/gen/livekit_sip_pb.js +38 -3
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -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
|
|
|
@@ -392,6 +392,37 @@ export declare enum AudioTrackFeature {
|
|
|
392
392
|
TF_ENHANCED_NOISE_CANCELLATION = 5,
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
+
/**
|
|
396
|
+
* @generated from message livekit.Pagination
|
|
397
|
+
*/
|
|
398
|
+
export declare class Pagination extends Message<Pagination> {
|
|
399
|
+
/**
|
|
400
|
+
* list entities which IDs are greater
|
|
401
|
+
*
|
|
402
|
+
* @generated from field: string after_id = 1;
|
|
403
|
+
*/
|
|
404
|
+
afterId: string;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: int32 limit = 2;
|
|
408
|
+
*/
|
|
409
|
+
limit: number;
|
|
410
|
+
|
|
411
|
+
constructor(data?: PartialMessage<Pagination>);
|
|
412
|
+
|
|
413
|
+
static readonly runtime: typeof proto3;
|
|
414
|
+
static readonly typeName = "livekit.Pagination";
|
|
415
|
+
static readonly fields: FieldList;
|
|
416
|
+
|
|
417
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
|
|
418
|
+
|
|
419
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
|
|
420
|
+
|
|
421
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination;
|
|
422
|
+
|
|
423
|
+
static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
|
|
424
|
+
}
|
|
425
|
+
|
|
395
426
|
/**
|
|
396
427
|
* @generated from message livekit.Room
|
|
397
428
|
*/
|
|
@@ -661,6 +692,13 @@ export declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
661
692
|
*/
|
|
662
693
|
joinedAt: bigint;
|
|
663
694
|
|
|
695
|
+
/**
|
|
696
|
+
* timestamp when participant joined room, in milliseconds
|
|
697
|
+
*
|
|
698
|
+
* @generated from field: int64 joined_at_ms = 17;
|
|
699
|
+
*/
|
|
700
|
+
joinedAtMs: bigint;
|
|
701
|
+
|
|
664
702
|
/**
|
|
665
703
|
* @generated from field: string name = 9;
|
|
666
704
|
*/
|
|
@@ -1145,6 +1183,12 @@ export declare class DataPacket extends Message<DataPacket> {
|
|
|
1145
1183
|
*/
|
|
1146
1184
|
value: DataStream_Chunk;
|
|
1147
1185
|
case: "streamChunk";
|
|
1186
|
+
} | {
|
|
1187
|
+
/**
|
|
1188
|
+
* @generated from field: livekit.DataStream.Trailer stream_trailer = 15;
|
|
1189
|
+
*/
|
|
1190
|
+
value: DataStream_Trailer;
|
|
1191
|
+
case: "streamTrailer";
|
|
1148
1192
|
} | { case: undefined; value?: undefined };
|
|
1149
1193
|
|
|
1150
1194
|
constructor(data?: PartialMessage<DataPacket>);
|
|
@@ -2657,31 +2701,29 @@ export declare class DataStream_TextHeader extends Message<DataStream_TextHeader
|
|
|
2657
2701
|
}
|
|
2658
2702
|
|
|
2659
2703
|
/**
|
|
2660
|
-
* header properties specific to
|
|
2704
|
+
* header properties specific to byte or file streams
|
|
2661
2705
|
*
|
|
2662
|
-
* @generated from message livekit.DataStream.
|
|
2706
|
+
* @generated from message livekit.DataStream.ByteHeader
|
|
2663
2707
|
*/
|
|
2664
|
-
export declare class
|
|
2708
|
+
export declare class DataStream_ByteHeader extends Message<DataStream_ByteHeader> {
|
|
2665
2709
|
/**
|
|
2666
|
-
* name
|
|
2667
|
-
*
|
|
2668
|
-
* @generated from field: string file_name = 1;
|
|
2710
|
+
* @generated from field: string name = 1;
|
|
2669
2711
|
*/
|
|
2670
|
-
|
|
2712
|
+
name: string;
|
|
2671
2713
|
|
|
2672
|
-
constructor(data?: PartialMessage<
|
|
2714
|
+
constructor(data?: PartialMessage<DataStream_ByteHeader>);
|
|
2673
2715
|
|
|
2674
2716
|
static readonly runtime: typeof proto3;
|
|
2675
|
-
static readonly typeName = "livekit.DataStream.
|
|
2717
|
+
static readonly typeName = "livekit.DataStream.ByteHeader";
|
|
2676
2718
|
static readonly fields: FieldList;
|
|
2677
2719
|
|
|
2678
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
2720
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_ByteHeader;
|
|
2679
2721
|
|
|
2680
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
2722
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
2681
2723
|
|
|
2682
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
2724
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
2683
2725
|
|
|
2684
|
-
static equals(a:
|
|
2726
|
+
static equals(a: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined, b: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined): boolean;
|
|
2685
2727
|
}
|
|
2686
2728
|
|
|
2687
2729
|
/**
|
|
@@ -2729,11 +2771,11 @@ export declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
2729
2771
|
encryptionType: Encryption_Type;
|
|
2730
2772
|
|
|
2731
2773
|
/**
|
|
2732
|
-
* user defined
|
|
2774
|
+
* user defined attributes map that can carry additional info
|
|
2733
2775
|
*
|
|
2734
|
-
* @generated from field: map<string, string>
|
|
2776
|
+
* @generated from field: map<string, string> attributes = 8;
|
|
2735
2777
|
*/
|
|
2736
|
-
|
|
2778
|
+
attributes: { [key: string]: string };
|
|
2737
2779
|
|
|
2738
2780
|
/**
|
|
2739
2781
|
* oneof to choose between specific header types
|
|
@@ -2748,10 +2790,10 @@ export declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
2748
2790
|
case: "textHeader";
|
|
2749
2791
|
} | {
|
|
2750
2792
|
/**
|
|
2751
|
-
* @generated from field: livekit.DataStream.
|
|
2793
|
+
* @generated from field: livekit.DataStream.ByteHeader byte_header = 10;
|
|
2752
2794
|
*/
|
|
2753
|
-
value:
|
|
2754
|
-
case: "
|
|
2795
|
+
value: DataStream_ByteHeader;
|
|
2796
|
+
case: "byteHeader";
|
|
2755
2797
|
} | { case: undefined; value?: undefined };
|
|
2756
2798
|
|
|
2757
2799
|
constructor(data?: PartialMessage<DataStream_Header>);
|
|
@@ -2792,24 +2834,17 @@ export declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
|
2792
2834
|
*/
|
|
2793
2835
|
content: Uint8Array;
|
|
2794
2836
|
|
|
2795
|
-
/**
|
|
2796
|
-
* true only if this is the last chunk of this stream - can also be sent with empty content
|
|
2797
|
-
*
|
|
2798
|
-
* @generated from field: bool complete = 4;
|
|
2799
|
-
*/
|
|
2800
|
-
complete: boolean;
|
|
2801
|
-
|
|
2802
2837
|
/**
|
|
2803
2838
|
* a version indicating that this chunk_index has been retroactively modified and the original one needs to be replaced
|
|
2804
2839
|
*
|
|
2805
|
-
* @generated from field: int32 version =
|
|
2840
|
+
* @generated from field: int32 version = 4;
|
|
2806
2841
|
*/
|
|
2807
2842
|
version: number;
|
|
2808
2843
|
|
|
2809
2844
|
/**
|
|
2810
2845
|
* optional, initialization vector for AES-GCM encryption
|
|
2811
2846
|
*
|
|
2812
|
-
* @generated from field: optional bytes iv =
|
|
2847
|
+
* @generated from field: optional bytes iv = 5;
|
|
2813
2848
|
*/
|
|
2814
2849
|
iv?: Uint8Array;
|
|
2815
2850
|
|
|
@@ -2828,3 +2863,43 @@ export declare class DataStream_Chunk extends Message<DataStream_Chunk> {
|
|
|
2828
2863
|
static equals(a: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined, b: DataStream_Chunk | PlainMessage<DataStream_Chunk> | undefined): boolean;
|
|
2829
2864
|
}
|
|
2830
2865
|
|
|
2866
|
+
/**
|
|
2867
|
+
* @generated from message livekit.DataStream.Trailer
|
|
2868
|
+
*/
|
|
2869
|
+
export declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
2870
|
+
/**
|
|
2871
|
+
* unique identifier for this data stream
|
|
2872
|
+
*
|
|
2873
|
+
* @generated from field: string stream_id = 1;
|
|
2874
|
+
*/
|
|
2875
|
+
streamId: string;
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* reason why the stream was closed (could contain "error" / "interrupted" / empty for expected end)
|
|
2879
|
+
*
|
|
2880
|
+
* @generated from field: string reason = 2;
|
|
2881
|
+
*/
|
|
2882
|
+
reason: string;
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
2886
|
+
*
|
|
2887
|
+
* @generated from field: map<string, string> attributes = 3;
|
|
2888
|
+
*/
|
|
2889
|
+
attributes: { [key: string]: string };
|
|
2890
|
+
|
|
2891
|
+
constructor(data?: PartialMessage<DataStream_Trailer>);
|
|
2892
|
+
|
|
2893
|
+
static readonly runtime: typeof proto3;
|
|
2894
|
+
static readonly typeName = "livekit.DataStream.Trailer";
|
|
2895
|
+
static readonly fields: FieldList;
|
|
2896
|
+
|
|
2897
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_Trailer;
|
|
2898
|
+
|
|
2899
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
2900
|
+
|
|
2901
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_Trailer;
|
|
2902
|
+
|
|
2903
|
+
static equals(a: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined, b: DataStream_Trailer | PlainMessage<DataStream_Trailer> | undefined): boolean;
|
|
2904
|
+
}
|
|
2905
|
+
|
|
@@ -185,6 +185,17 @@ export const AudioTrackFeature = /*@__PURE__*/ proto3.makeEnum(
|
|
|
185
185
|
],
|
|
186
186
|
);
|
|
187
187
|
|
|
188
|
+
/**
|
|
189
|
+
* @generated from message livekit.Pagination
|
|
190
|
+
*/
|
|
191
|
+
export const Pagination = /*@__PURE__*/ proto3.makeMessageType(
|
|
192
|
+
"livekit.Pagination",
|
|
193
|
+
() => [
|
|
194
|
+
{ no: 1, name: "after_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
195
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
196
|
+
],
|
|
197
|
+
);
|
|
198
|
+
|
|
188
199
|
/**
|
|
189
200
|
* @generated from message livekit.Room
|
|
190
201
|
*/
|
|
@@ -260,6 +271,7 @@ export const ParticipantInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
260
271
|
{ no: 4, name: "tracks", kind: "message", T: TrackInfo, repeated: true },
|
|
261
272
|
{ no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
262
273
|
{ no: 6, name: "joined_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
274
|
+
{ no: 17, name: "joined_at_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
263
275
|
{ no: 9, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
264
276
|
{ no: 10, name: "version", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
265
277
|
{ no: 11, name: "permission", kind: "message", T: ParticipantPermission },
|
|
@@ -397,6 +409,7 @@ export const DataPacket = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
397
409
|
{ no: 12, name: "rpc_response", kind: "message", T: RpcResponse, oneof: "value" },
|
|
398
410
|
{ no: 13, name: "stream_header", kind: "message", T: DataStream_Header, oneof: "value" },
|
|
399
411
|
{ no: 14, name: "stream_chunk", kind: "message", T: DataStream_Chunk, oneof: "value" },
|
|
412
|
+
{ no: 15, name: "stream_trailer", kind: "message", T: DataStream_Trailer, oneof: "value" },
|
|
400
413
|
],
|
|
401
414
|
);
|
|
402
415
|
|
|
@@ -861,16 +874,16 @@ export const DataStream_TextHeader = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
861
874
|
);
|
|
862
875
|
|
|
863
876
|
/**
|
|
864
|
-
* header properties specific to
|
|
877
|
+
* header properties specific to byte or file streams
|
|
865
878
|
*
|
|
866
|
-
* @generated from message livekit.DataStream.
|
|
879
|
+
* @generated from message livekit.DataStream.ByteHeader
|
|
867
880
|
*/
|
|
868
|
-
export const
|
|
869
|
-
"livekit.DataStream.
|
|
881
|
+
export const DataStream_ByteHeader = /*@__PURE__*/ proto3.makeMessageType(
|
|
882
|
+
"livekit.DataStream.ByteHeader",
|
|
870
883
|
() => [
|
|
871
|
-
{ no: 1, name: "
|
|
884
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
872
885
|
],
|
|
873
|
-
{localName: "
|
|
886
|
+
{localName: "DataStream_ByteHeader"},
|
|
874
887
|
);
|
|
875
888
|
|
|
876
889
|
/**
|
|
@@ -887,9 +900,9 @@ export const DataStream_Header = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
887
900
|
{ no: 4, name: "mime_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
888
901
|
{ no: 5, name: "total_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
|
|
889
902
|
{ no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },
|
|
890
|
-
{ no: 8, name: "
|
|
903
|
+
{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
891
904
|
{ no: 9, name: "text_header", kind: "message", T: DataStream_TextHeader, oneof: "content_header" },
|
|
892
|
-
{ no: 10, name: "
|
|
905
|
+
{ no: 10, name: "byte_header", kind: "message", T: DataStream_ByteHeader, oneof: "content_header" },
|
|
893
906
|
],
|
|
894
907
|
{localName: "DataStream_Header"},
|
|
895
908
|
);
|
|
@@ -903,10 +916,22 @@ export const DataStream_Chunk = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
903
916
|
{ no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
904
917
|
{ no: 2, name: "chunk_index", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
|
|
905
918
|
{ no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
906
|
-
{ no: 4, name: "
|
|
907
|
-
{ no: 5, name: "
|
|
908
|
-
{ no: 6, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
919
|
+
{ no: 4, name: "version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
920
|
+
{ no: 5, name: "iv", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
|
|
909
921
|
],
|
|
910
922
|
{localName: "DataStream_Chunk"},
|
|
911
923
|
);
|
|
912
924
|
|
|
925
|
+
/**
|
|
926
|
+
* @generated from message livekit.DataStream.Trailer
|
|
927
|
+
*/
|
|
928
|
+
export const DataStream_Trailer = /*@__PURE__*/ proto3.makeMessageType(
|
|
929
|
+
"livekit.DataStream.Trailer",
|
|
930
|
+
() => [
|
|
931
|
+
{ no: 1, name: "stream_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
932
|
+
{ no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
933
|
+
{ no: 3, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
934
|
+
],
|
|
935
|
+
{localName: "DataStream_Trailer"},
|
|
936
|
+
);
|
|
937
|
+
|
|
@@ -19,8 +19,8 @@
|
|
|
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 { DisconnectReason, Pagination } from "./livekit_models_pb.js";
|
|
22
23
|
import type { RoomConfiguration } from "./livekit_room_pb.js";
|
|
23
|
-
import type { DisconnectReason } from "./livekit_models_pb.js";
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* @generated from enum livekit.SIPTransport
|
|
@@ -73,6 +73,32 @@ export declare enum SIPHeaderOptions {
|
|
|
73
73
|
SIP_ALL_HEADERS = 2,
|
|
74
74
|
}
|
|
75
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
|
+
|
|
76
102
|
/**
|
|
77
103
|
* @generated from enum livekit.SIPCallStatus
|
|
78
104
|
*/
|
|
@@ -128,6 +154,26 @@ export declare enum SIPFeature {
|
|
|
128
154
|
KRISP_ENABLED = 1,
|
|
129
155
|
}
|
|
130
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
|
+
|
|
131
177
|
/**
|
|
132
178
|
* @generated from message livekit.CreateSIPTrunkRequest
|
|
133
179
|
* @deprecated
|
|
@@ -492,6 +538,11 @@ export declare class SIPInboundTrunkInfo extends Message<SIPInboundTrunkInfo> {
|
|
|
492
538
|
*/
|
|
493
539
|
krispEnabled: boolean;
|
|
494
540
|
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 16;
|
|
543
|
+
*/
|
|
544
|
+
mediaEncryption: SIPMediaEncryption;
|
|
545
|
+
|
|
495
546
|
constructor(data?: PartialMessage<SIPInboundTrunkInfo>);
|
|
496
547
|
|
|
497
548
|
static readonly runtime: typeof proto3;
|
|
@@ -627,6 +678,11 @@ export declare class SIPOutboundTrunkInfo extends Message<SIPOutboundTrunkInfo>
|
|
|
627
678
|
*/
|
|
628
679
|
includeHeaders: SIPHeaderOptions;
|
|
629
680
|
|
|
681
|
+
/**
|
|
682
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 13;
|
|
683
|
+
*/
|
|
684
|
+
mediaEncryption: SIPMediaEncryption;
|
|
685
|
+
|
|
630
686
|
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);
|
|
631
687
|
|
|
632
688
|
static readonly runtime: typeof proto3;
|
|
@@ -743,6 +799,11 @@ export declare class GetSIPOutboundTrunkResponse extends Message<GetSIPOutboundT
|
|
|
743
799
|
* @deprecated
|
|
744
800
|
*/
|
|
745
801
|
export declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> {
|
|
802
|
+
/**
|
|
803
|
+
* @generated from field: livekit.Pagination page = 1;
|
|
804
|
+
*/
|
|
805
|
+
page?: Pagination;
|
|
806
|
+
|
|
746
807
|
constructor(data?: PartialMessage<ListSIPTrunkRequest>);
|
|
747
808
|
|
|
748
809
|
static readonly runtime: typeof proto3;
|
|
@@ -789,6 +850,11 @@ export declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse>
|
|
|
789
850
|
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
790
851
|
*/
|
|
791
852
|
export declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
|
|
853
|
+
/**
|
|
854
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
855
|
+
*/
|
|
856
|
+
page?: Pagination;
|
|
857
|
+
|
|
792
858
|
/**
|
|
793
859
|
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
794
860
|
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
@@ -849,6 +915,11 @@ export declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundT
|
|
|
849
915
|
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
850
916
|
*/
|
|
851
917
|
export declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
|
|
918
|
+
/**
|
|
919
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
920
|
+
*/
|
|
921
|
+
page?: Pagination;
|
|
922
|
+
|
|
852
923
|
/**
|
|
853
924
|
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
854
925
|
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
@@ -1231,12 +1302,22 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
1231
1302
|
/**
|
|
1232
1303
|
* RoomConfiguration to use if the participant initiates the room
|
|
1233
1304
|
*
|
|
1234
|
-
* NEXT ID: 11
|
|
1235
|
-
*
|
|
1236
1305
|
* @generated from field: livekit.RoomConfiguration room_config = 10;
|
|
1237
1306
|
*/
|
|
1238
1307
|
roomConfig?: RoomConfiguration;
|
|
1239
1308
|
|
|
1309
|
+
/**
|
|
1310
|
+
* @generated from field: bool krisp_enabled = 11;
|
|
1311
|
+
*/
|
|
1312
|
+
krispEnabled: boolean;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* NEXT ID: 13
|
|
1316
|
+
*
|
|
1317
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 12;
|
|
1318
|
+
*/
|
|
1319
|
+
mediaEncryption: SIPMediaEncryption;
|
|
1320
|
+
|
|
1240
1321
|
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);
|
|
1241
1322
|
|
|
1242
1323
|
static readonly runtime: typeof proto3;
|
|
@@ -1258,6 +1339,11 @@ export declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
1258
1339
|
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
1259
1340
|
*/
|
|
1260
1341
|
export declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
|
|
1342
|
+
/**
|
|
1343
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
1344
|
+
*/
|
|
1345
|
+
page?: Pagination;
|
|
1346
|
+
|
|
1261
1347
|
/**
|
|
1262
1348
|
* Rule IDs to list. If this option is set, the response will contains rules in the same order.
|
|
1263
1349
|
* If any of the rules is missing, a nil item in that position will be sent in the response.
|
|
@@ -1464,11 +1550,16 @@ export declare class CreateSIPParticipantRequest extends Message<CreateSIPPartic
|
|
|
1464
1550
|
/**
|
|
1465
1551
|
* Enable voice isolation for the callee.
|
|
1466
1552
|
*
|
|
1467
|
-
*
|
|
1553
|
+
* @generated from field: bool krisp_enabled = 14;
|
|
1554
|
+
*/
|
|
1555
|
+
krispEnabled: boolean;
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* NEXT ID: 19
|
|
1468
1559
|
*
|
|
1469
|
-
* @generated from field:
|
|
1560
|
+
* @generated from field: livekit.SIPMediaEncryption media_encryption = 18;
|
|
1470
1561
|
*/
|
|
1471
|
-
|
|
1562
|
+
mediaEncryption: SIPMediaEncryption;
|
|
1472
1563
|
|
|
1473
1564
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
1474
1565
|
|
|
@@ -1618,6 +1709,11 @@ export declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
1618
1709
|
*/
|
|
1619
1710
|
enabledFeatures: SIPFeature[];
|
|
1620
1711
|
|
|
1712
|
+
/**
|
|
1713
|
+
* @generated from field: livekit.SIPCallDirection call_direction = 15;
|
|
1714
|
+
*/
|
|
1715
|
+
callDirection: SIPCallDirection;
|
|
1716
|
+
|
|
1621
1717
|
/**
|
|
1622
1718
|
* @generated from field: livekit.SIPCallStatus call_status = 8;
|
|
1623
1719
|
*/
|