@livekit/protocol 1.41.0 → 1.42.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 +171 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +371 -7
- package/dist/index.d.mts +371 -7
- package/dist/index.d.ts +371 -7
- package/dist/index.mjs +166 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_analytics_pb.d.ts +5 -0
- package/src/gen/livekit_analytics_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +35 -0
- package/src/gen/livekit_cloud_agent_pb.js +15 -0
- package/src/gen/livekit_egress_pb.d.ts +5 -0
- package/src/gen/livekit_egress_pb.js +1 -0
- package/src/gen/livekit_metrics_pb.d.ts +30 -1
- package/src/gen/livekit_metrics_pb.js +11 -0
- package/src/gen/livekit_models_pb.d.ts +41 -2
- package/src/gen/livekit_models_pb.js +14 -1
- package/src/gen/livekit_phone_number_pb.d.ts +283 -226
- package/src/gen/livekit_phone_number_pb.js +104 -80
- package/src/gen/livekit_room_pb.d.ts +68 -0
- package/src/gen/livekit_room_pb.js +24 -0
- package/src/gen/livekit_rtc_pb.d.ts +94 -1
- package/src/gen/livekit_rtc_pb.js +22 -1
- package/src/gen/livekit_sip_pb.d.ts +25 -3
- package/src/gen/livekit_sip_pb.js +4 -1
- package/src/gen/livekit_token_source_pb.d.ts +115 -0
- package/src/gen/livekit_token_source_pb.js +48 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration } from '@bufbuild/protobuf';
|
|
1
|
+
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -181,7 +181,7 @@ declare class MetricsBatch extends Message<MetricsBatch> {
|
|
|
181
181
|
* This is useful for storing participant identities, track names, etc.
|
|
182
182
|
* There is also a predefined list of labels that can be used to reference common metrics.
|
|
183
183
|
* They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1).
|
|
184
|
-
* Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
|
|
184
|
+
* Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE,
|
|
185
185
|
* such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE.
|
|
186
186
|
*
|
|
187
187
|
* @generated from field: repeated string str_data = 3;
|
|
@@ -376,6 +376,35 @@ declare class EventMetric extends Message<EventMetric> {
|
|
|
376
376
|
static equals(a: EventMetric | PlainMessage<EventMetric> | undefined, b: EventMetric | PlainMessage<EventMetric> | undefined): boolean;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
+
/**
|
|
380
|
+
* @generated from message livekit.MetricsRecordingHeader
|
|
381
|
+
*/
|
|
382
|
+
declare class MetricsRecordingHeader extends Message<MetricsRecordingHeader> {
|
|
383
|
+
/**
|
|
384
|
+
* @generated from field: string room_id = 1;
|
|
385
|
+
*/
|
|
386
|
+
roomId: string;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @generated from field: optional bool enable_user_data_training = 2;
|
|
390
|
+
*/
|
|
391
|
+
enableUserDataTraining?: boolean;
|
|
392
|
+
|
|
393
|
+
constructor(data?: PartialMessage<MetricsRecordingHeader>);
|
|
394
|
+
|
|
395
|
+
static readonly runtime: typeof proto3;
|
|
396
|
+
static readonly typeName = "livekit.MetricsRecordingHeader";
|
|
397
|
+
static readonly fields: FieldList;
|
|
398
|
+
|
|
399
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsRecordingHeader;
|
|
400
|
+
|
|
401
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
|
|
402
|
+
|
|
403
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsRecordingHeader;
|
|
404
|
+
|
|
405
|
+
static equals(a: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined, b: MetricsRecordingHeader | PlainMessage<MetricsRecordingHeader> | undefined): boolean;
|
|
406
|
+
}
|
|
407
|
+
|
|
379
408
|
// Copyright 2023 LiveKit, Inc.
|
|
380
409
|
//
|
|
381
410
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -410,6 +439,11 @@ declare enum AudioCodec {
|
|
|
410
439
|
* @generated from enum value: AAC = 2;
|
|
411
440
|
*/
|
|
412
441
|
AAC = 2,
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from enum value: AC_MP3 = 3;
|
|
445
|
+
*/
|
|
446
|
+
AC_MP3 = 3,
|
|
413
447
|
}
|
|
414
448
|
|
|
415
449
|
/**
|
|
@@ -891,9 +925,9 @@ declare class ListUpdate extends Message<ListUpdate> {
|
|
|
891
925
|
/**
|
|
892
926
|
* delete items from a list
|
|
893
927
|
*
|
|
894
|
-
* @generated from field: repeated string
|
|
928
|
+
* @generated from field: repeated string remove = 3;
|
|
895
929
|
*/
|
|
896
|
-
|
|
930
|
+
remove: string[];
|
|
897
931
|
|
|
898
932
|
/**
|
|
899
933
|
* sets the list to an empty list
|
|
@@ -1668,6 +1702,11 @@ declare enum VideoLayer_Mode {
|
|
|
1668
1702
|
* @generated from enum value: MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2;
|
|
1669
1703
|
*/
|
|
1670
1704
|
MULTIPLE_SPATIAL_LAYERS_PER_STREAM = 2,
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* @generated from enum value: ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3;
|
|
1708
|
+
*/
|
|
1709
|
+
ONE_SPATIAL_LAYER_PER_STREAM_INCOMPLETE_RTCP_SR = 3,
|
|
1671
1710
|
}
|
|
1672
1711
|
|
|
1673
1712
|
/**
|
|
@@ -3668,6 +3707,35 @@ declare class WebhookConfig extends Message<WebhookConfig> {
|
|
|
3668
3707
|
static equals(a: WebhookConfig | PlainMessage<WebhookConfig> | undefined, b: WebhookConfig | PlainMessage<WebhookConfig> | undefined): boolean;
|
|
3669
3708
|
}
|
|
3670
3709
|
|
|
3710
|
+
/**
|
|
3711
|
+
* @generated from message livekit.SubscribedAudioCodec
|
|
3712
|
+
*/
|
|
3713
|
+
declare class SubscribedAudioCodec extends Message<SubscribedAudioCodec> {
|
|
3714
|
+
/**
|
|
3715
|
+
* @generated from field: string codec = 1;
|
|
3716
|
+
*/
|
|
3717
|
+
codec: string;
|
|
3718
|
+
|
|
3719
|
+
/**
|
|
3720
|
+
* @generated from field: bool enabled = 2;
|
|
3721
|
+
*/
|
|
3722
|
+
enabled: boolean;
|
|
3723
|
+
|
|
3724
|
+
constructor(data?: PartialMessage<SubscribedAudioCodec>);
|
|
3725
|
+
|
|
3726
|
+
static readonly runtime: typeof proto3;
|
|
3727
|
+
static readonly typeName = "livekit.SubscribedAudioCodec";
|
|
3728
|
+
static readonly fields: FieldList;
|
|
3729
|
+
|
|
3730
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodec;
|
|
3731
|
+
|
|
3732
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
|
|
3733
|
+
|
|
3734
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodec;
|
|
3735
|
+
|
|
3736
|
+
static equals(a: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined, b: SubscribedAudioCodec | PlainMessage<SubscribedAudioCodec> | undefined): boolean;
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3671
3739
|
// Copyright 2023 LiveKit, Inc.
|
|
3672
3740
|
//
|
|
3673
3741
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -4706,6 +4774,11 @@ declare enum EncodedFileType {
|
|
|
4706
4774
|
* @generated from enum value: OGG = 2;
|
|
4707
4775
|
*/
|
|
4708
4776
|
OGG = 2,
|
|
4777
|
+
|
|
4778
|
+
/**
|
|
4779
|
+
* @generated from enum value: MP3 = 3;
|
|
4780
|
+
*/
|
|
4781
|
+
MP3 = 3,
|
|
4709
4782
|
}
|
|
4710
4783
|
|
|
4711
4784
|
/**
|
|
@@ -8582,6 +8655,74 @@ declare class MoveParticipantResponse extends Message<MoveParticipantResponse> {
|
|
|
8582
8655
|
static equals(a: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined, b: MoveParticipantResponse | PlainMessage<MoveParticipantResponse> | undefined): boolean;
|
|
8583
8656
|
}
|
|
8584
8657
|
|
|
8658
|
+
/**
|
|
8659
|
+
* @generated from message livekit.PerformRpcRequest
|
|
8660
|
+
*/
|
|
8661
|
+
declare class PerformRpcRequest extends Message<PerformRpcRequest> {
|
|
8662
|
+
/**
|
|
8663
|
+
* @generated from field: string room = 1;
|
|
8664
|
+
*/
|
|
8665
|
+
room: string;
|
|
8666
|
+
|
|
8667
|
+
/**
|
|
8668
|
+
* @generated from field: string destination_identity = 2;
|
|
8669
|
+
*/
|
|
8670
|
+
destinationIdentity: string;
|
|
8671
|
+
|
|
8672
|
+
/**
|
|
8673
|
+
* @generated from field: string method = 3;
|
|
8674
|
+
*/
|
|
8675
|
+
method: string;
|
|
8676
|
+
|
|
8677
|
+
/**
|
|
8678
|
+
* @generated from field: string payload = 4;
|
|
8679
|
+
*/
|
|
8680
|
+
payload: string;
|
|
8681
|
+
|
|
8682
|
+
/**
|
|
8683
|
+
* @generated from field: uint32 response_timeout_ms = 5;
|
|
8684
|
+
*/
|
|
8685
|
+
responseTimeoutMs: number;
|
|
8686
|
+
|
|
8687
|
+
constructor(data?: PartialMessage<PerformRpcRequest>);
|
|
8688
|
+
|
|
8689
|
+
static readonly runtime: typeof proto3;
|
|
8690
|
+
static readonly typeName = "livekit.PerformRpcRequest";
|
|
8691
|
+
static readonly fields: FieldList;
|
|
8692
|
+
|
|
8693
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcRequest;
|
|
8694
|
+
|
|
8695
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
8696
|
+
|
|
8697
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcRequest;
|
|
8698
|
+
|
|
8699
|
+
static equals(a: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined, b: PerformRpcRequest | PlainMessage<PerformRpcRequest> | undefined): boolean;
|
|
8700
|
+
}
|
|
8701
|
+
|
|
8702
|
+
/**
|
|
8703
|
+
* @generated from message livekit.PerformRpcResponse
|
|
8704
|
+
*/
|
|
8705
|
+
declare class PerformRpcResponse extends Message<PerformRpcResponse> {
|
|
8706
|
+
/**
|
|
8707
|
+
* @generated from field: string payload = 1;
|
|
8708
|
+
*/
|
|
8709
|
+
payload: string;
|
|
8710
|
+
|
|
8711
|
+
constructor(data?: PartialMessage<PerformRpcResponse>);
|
|
8712
|
+
|
|
8713
|
+
static readonly runtime: typeof proto3;
|
|
8714
|
+
static readonly typeName = "livekit.PerformRpcResponse";
|
|
8715
|
+
static readonly fields: FieldList;
|
|
8716
|
+
|
|
8717
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PerformRpcResponse;
|
|
8718
|
+
|
|
8719
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
8720
|
+
|
|
8721
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PerformRpcResponse;
|
|
8722
|
+
|
|
8723
|
+
static equals(a: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined, b: PerformRpcResponse | PlainMessage<PerformRpcResponse> | undefined): boolean;
|
|
8724
|
+
}
|
|
8725
|
+
|
|
8585
8726
|
// Copyright 2023 LiveKit, Inc.
|
|
8586
8727
|
//
|
|
8587
8728
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -9008,6 +9149,14 @@ declare class SignalResponse extends Message<SignalResponse> {
|
|
|
9008
9149
|
*/
|
|
9009
9150
|
value: MediaSectionsRequirement;
|
|
9010
9151
|
case: "mediaSectionsRequirement";
|
|
9152
|
+
} | {
|
|
9153
|
+
/**
|
|
9154
|
+
* when audio subscription changes, used to enable simulcasting of audio codecs based on subscriptions
|
|
9155
|
+
*
|
|
9156
|
+
* @generated from field: livekit.SubscribedAudioCodecUpdate subscribed_audio_codec_update = 26;
|
|
9157
|
+
*/
|
|
9158
|
+
value: SubscribedAudioCodecUpdate;
|
|
9159
|
+
case: "subscribedAudioCodecUpdate";
|
|
9011
9160
|
} | { case: undefined; value?: undefined };
|
|
9012
9161
|
|
|
9013
9162
|
constructor(data?: PartialMessage<SignalResponse>);
|
|
@@ -10114,6 +10263,35 @@ declare class SubscribedQualityUpdate extends Message<SubscribedQualityUpdate> {
|
|
|
10114
10263
|
static equals(a: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined, b: SubscribedQualityUpdate | PlainMessage<SubscribedQualityUpdate> | undefined): boolean;
|
|
10115
10264
|
}
|
|
10116
10265
|
|
|
10266
|
+
/**
|
|
10267
|
+
* @generated from message livekit.SubscribedAudioCodecUpdate
|
|
10268
|
+
*/
|
|
10269
|
+
declare class SubscribedAudioCodecUpdate extends Message<SubscribedAudioCodecUpdate> {
|
|
10270
|
+
/**
|
|
10271
|
+
* @generated from field: string track_sid = 1;
|
|
10272
|
+
*/
|
|
10273
|
+
trackSid: string;
|
|
10274
|
+
|
|
10275
|
+
/**
|
|
10276
|
+
* @generated from field: repeated livekit.SubscribedAudioCodec subscribed_audio_codecs = 2;
|
|
10277
|
+
*/
|
|
10278
|
+
subscribedAudioCodecs: SubscribedAudioCodec[];
|
|
10279
|
+
|
|
10280
|
+
constructor(data?: PartialMessage<SubscribedAudioCodecUpdate>);
|
|
10281
|
+
|
|
10282
|
+
static readonly runtime: typeof proto3;
|
|
10283
|
+
static readonly typeName = "livekit.SubscribedAudioCodecUpdate";
|
|
10284
|
+
static readonly fields: FieldList;
|
|
10285
|
+
|
|
10286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribedAudioCodecUpdate;
|
|
10287
|
+
|
|
10288
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10289
|
+
|
|
10290
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribedAudioCodecUpdate;
|
|
10291
|
+
|
|
10292
|
+
static equals(a: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined, b: SubscribedAudioCodecUpdate | PlainMessage<SubscribedAudioCodecUpdate> | undefined): boolean;
|
|
10293
|
+
}
|
|
10294
|
+
|
|
10117
10295
|
/**
|
|
10118
10296
|
* @generated from message livekit.TrackPermission
|
|
10119
10297
|
*/
|
|
@@ -10651,6 +10829,47 @@ declare class RequestResponse extends Message<RequestResponse> {
|
|
|
10651
10829
|
*/
|
|
10652
10830
|
message: string;
|
|
10653
10831
|
|
|
10832
|
+
/**
|
|
10833
|
+
* @generated from oneof livekit.RequestResponse.request
|
|
10834
|
+
*/
|
|
10835
|
+
request: {
|
|
10836
|
+
/**
|
|
10837
|
+
* @generated from field: livekit.TrickleRequest trickle = 4;
|
|
10838
|
+
*/
|
|
10839
|
+
value: TrickleRequest;
|
|
10840
|
+
case: "trickle";
|
|
10841
|
+
} | {
|
|
10842
|
+
/**
|
|
10843
|
+
* @generated from field: livekit.AddTrackRequest add_track = 5;
|
|
10844
|
+
*/
|
|
10845
|
+
value: AddTrackRequest;
|
|
10846
|
+
case: "addTrack";
|
|
10847
|
+
} | {
|
|
10848
|
+
/**
|
|
10849
|
+
* @generated from field: livekit.MuteTrackRequest mute = 6;
|
|
10850
|
+
*/
|
|
10851
|
+
value: MuteTrackRequest;
|
|
10852
|
+
case: "mute";
|
|
10853
|
+
} | {
|
|
10854
|
+
/**
|
|
10855
|
+
* @generated from field: livekit.UpdateParticipantMetadata update_metadata = 7;
|
|
10856
|
+
*/
|
|
10857
|
+
value: UpdateParticipantMetadata;
|
|
10858
|
+
case: "updateMetadata";
|
|
10859
|
+
} | {
|
|
10860
|
+
/**
|
|
10861
|
+
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 8;
|
|
10862
|
+
*/
|
|
10863
|
+
value: UpdateLocalAudioTrack;
|
|
10864
|
+
case: "updateAudioTrack";
|
|
10865
|
+
} | {
|
|
10866
|
+
/**
|
|
10867
|
+
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 9;
|
|
10868
|
+
*/
|
|
10869
|
+
value: UpdateLocalVideoTrack;
|
|
10870
|
+
case: "updateVideoTrack";
|
|
10871
|
+
} | { case: undefined; value?: undefined };
|
|
10872
|
+
|
|
10654
10873
|
constructor(data?: PartialMessage<RequestResponse>);
|
|
10655
10874
|
|
|
10656
10875
|
static readonly runtime: typeof proto3;
|
|
@@ -10689,6 +10908,21 @@ declare enum RequestResponse_Reason {
|
|
|
10689
10908
|
* @generated from enum value: LIMIT_EXCEEDED = 3;
|
|
10690
10909
|
*/
|
|
10691
10910
|
LIMIT_EXCEEDED = 3,
|
|
10911
|
+
|
|
10912
|
+
/**
|
|
10913
|
+
* @generated from enum value: QUEUED = 4;
|
|
10914
|
+
*/
|
|
10915
|
+
QUEUED = 4,
|
|
10916
|
+
|
|
10917
|
+
/**
|
|
10918
|
+
* @generated from enum value: UNSUPPORTED_TYPE = 5;
|
|
10919
|
+
*/
|
|
10920
|
+
UNSUPPORTED_TYPE = 5,
|
|
10921
|
+
|
|
10922
|
+
/**
|
|
10923
|
+
* @generated from enum value: UNCLASSIFIED_ERROR = 6;
|
|
10924
|
+
*/
|
|
10925
|
+
UNCLASSIFIED_ERROR = 6,
|
|
10692
10926
|
}
|
|
10693
10927
|
|
|
10694
10928
|
/**
|
|
@@ -13153,12 +13387,24 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
|
|
|
13153
13387
|
/**
|
|
13154
13388
|
* Wait for the answer for the call before returning.
|
|
13155
13389
|
*
|
|
13156
|
-
* NEXT ID: 21
|
|
13157
|
-
*
|
|
13158
13390
|
* @generated from field: bool wait_until_answered = 19;
|
|
13159
13391
|
*/
|
|
13160
13392
|
waitUntilAnswered: boolean;
|
|
13161
13393
|
|
|
13394
|
+
/**
|
|
13395
|
+
* Optional display name for the 'From' SIP header.
|
|
13396
|
+
*
|
|
13397
|
+
* Cases:
|
|
13398
|
+
* 1) Unspecified: Use legacy behavior - display name will be set to be the caller's number.
|
|
13399
|
+
* 2) Empty string: Do not send a display name, which will result in a CNAM lookup downstream.
|
|
13400
|
+
* 3) Non-empty: Use the specified value as the display name.
|
|
13401
|
+
*
|
|
13402
|
+
* NEXT ID: 22
|
|
13403
|
+
*
|
|
13404
|
+
* @generated from field: optional string display_name = 21;
|
|
13405
|
+
*/
|
|
13406
|
+
displayName?: string;
|
|
13407
|
+
|
|
13162
13408
|
constructor(data?: PartialMessage<CreateSIPParticipantRequest>);
|
|
13163
13409
|
|
|
13164
13410
|
static readonly runtime: typeof proto3;
|
|
@@ -13397,6 +13643,16 @@ declare class SIPCallInfo extends Message<SIPCallInfo> {
|
|
|
13397
13643
|
*/
|
|
13398
13644
|
mediaEncryption: string;
|
|
13399
13645
|
|
|
13646
|
+
/**
|
|
13647
|
+
* @generated from field: string pcap_file_link = 25;
|
|
13648
|
+
*/
|
|
13649
|
+
pcapFileLink: string;
|
|
13650
|
+
|
|
13651
|
+
/**
|
|
13652
|
+
* @generated from field: repeated google.protobuf.Any call_context = 26;
|
|
13653
|
+
*/
|
|
13654
|
+
callContext: Any[];
|
|
13655
|
+
|
|
13400
13656
|
constructor(data?: PartialMessage<SIPCallInfo>);
|
|
13401
13657
|
|
|
13402
13658
|
static readonly runtime: typeof proto3;
|
|
@@ -13515,6 +13771,114 @@ declare class SIPUri extends Message<SIPUri> {
|
|
|
13515
13771
|
static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
|
|
13516
13772
|
}
|
|
13517
13773
|
|
|
13774
|
+
// Copyright 2025 LiveKit, Inc.
|
|
13775
|
+
//
|
|
13776
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
13777
|
+
// you may not use this file except in compliance with the License.
|
|
13778
|
+
// You may obtain a copy of the License at
|
|
13779
|
+
//
|
|
13780
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
13781
|
+
//
|
|
13782
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
13783
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
13784
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13785
|
+
// See the License for the specific language governing permissions and
|
|
13786
|
+
// limitations under the License.
|
|
13787
|
+
|
|
13788
|
+
|
|
13789
|
+
|
|
13790
|
+
/**
|
|
13791
|
+
* @generated from message livekit.TokenSourceRequest
|
|
13792
|
+
*/
|
|
13793
|
+
declare class TokenSourceRequest extends Message<TokenSourceRequest> {
|
|
13794
|
+
/**
|
|
13795
|
+
* The name of the room being requested when generating credentials
|
|
13796
|
+
*
|
|
13797
|
+
* @generated from field: optional string room_name = 1;
|
|
13798
|
+
*/
|
|
13799
|
+
roomName?: string;
|
|
13800
|
+
|
|
13801
|
+
/**
|
|
13802
|
+
* The name of the participant being requested for this client when generating credentials
|
|
13803
|
+
*
|
|
13804
|
+
* @generated from field: optional string participant_name = 2;
|
|
13805
|
+
*/
|
|
13806
|
+
participantName?: string;
|
|
13807
|
+
|
|
13808
|
+
/**
|
|
13809
|
+
* The identity of the participant being requested for this client when generating credentials
|
|
13810
|
+
*
|
|
13811
|
+
* @generated from field: optional string participant_identity = 3;
|
|
13812
|
+
*/
|
|
13813
|
+
participantIdentity?: string;
|
|
13814
|
+
|
|
13815
|
+
/**
|
|
13816
|
+
* Any participant metadata being included along with the credentials generation operation
|
|
13817
|
+
*
|
|
13818
|
+
* @generated from field: optional string participant_metadata = 4;
|
|
13819
|
+
*/
|
|
13820
|
+
participantMetadata?: string;
|
|
13821
|
+
|
|
13822
|
+
/**
|
|
13823
|
+
* Any participant attributes being included along with the credentials generation operation
|
|
13824
|
+
*
|
|
13825
|
+
* @generated from field: map<string, string> participant_attributes = 5;
|
|
13826
|
+
*/
|
|
13827
|
+
participantAttributes: { [key: string]: string };
|
|
13828
|
+
|
|
13829
|
+
/**
|
|
13830
|
+
* A RoomConfiguration object can be passed to request extra parameters should be included when
|
|
13831
|
+
* generating connection credentials - dispatching agents, defining egress settings, etc
|
|
13832
|
+
* More info: https://docs.livekit.io/home/get-started/authentication/#room-configuration
|
|
13833
|
+
*
|
|
13834
|
+
* @generated from field: optional livekit.RoomConfiguration room_config = 6;
|
|
13835
|
+
*/
|
|
13836
|
+
roomConfig?: RoomConfiguration;
|
|
13837
|
+
|
|
13838
|
+
constructor(data?: PartialMessage<TokenSourceRequest>);
|
|
13839
|
+
|
|
13840
|
+
static readonly runtime: typeof proto3;
|
|
13841
|
+
static readonly typeName = "livekit.TokenSourceRequest";
|
|
13842
|
+
static readonly fields: FieldList;
|
|
13843
|
+
|
|
13844
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceRequest;
|
|
13845
|
+
|
|
13846
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
13847
|
+
|
|
13848
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceRequest;
|
|
13849
|
+
|
|
13850
|
+
static equals(a: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined, b: TokenSourceRequest | PlainMessage<TokenSourceRequest> | undefined): boolean;
|
|
13851
|
+
}
|
|
13852
|
+
|
|
13853
|
+
/**
|
|
13854
|
+
* @generated from message livekit.TokenSourceResponse
|
|
13855
|
+
*/
|
|
13856
|
+
declare class TokenSourceResponse extends Message<TokenSourceResponse> {
|
|
13857
|
+
/**
|
|
13858
|
+
* @generated from field: string server_url = 1;
|
|
13859
|
+
*/
|
|
13860
|
+
serverUrl: string;
|
|
13861
|
+
|
|
13862
|
+
/**
|
|
13863
|
+
* @generated from field: string participant_token = 2;
|
|
13864
|
+
*/
|
|
13865
|
+
participantToken: string;
|
|
13866
|
+
|
|
13867
|
+
constructor(data?: PartialMessage<TokenSourceResponse>);
|
|
13868
|
+
|
|
13869
|
+
static readonly runtime: typeof proto3;
|
|
13870
|
+
static readonly typeName = "livekit.TokenSourceResponse";
|
|
13871
|
+
static readonly fields: FieldList;
|
|
13872
|
+
|
|
13873
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TokenSourceResponse;
|
|
13874
|
+
|
|
13875
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
13876
|
+
|
|
13877
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenSourceResponse;
|
|
13878
|
+
|
|
13879
|
+
static equals(a: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined, b: TokenSourceResponse | PlainMessage<TokenSourceResponse> | undefined): boolean;
|
|
13880
|
+
}
|
|
13881
|
+
|
|
13518
13882
|
// Copyright 2023 LiveKit, Inc.
|
|
13519
13883
|
//
|
|
13520
13884
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -13614,4 +13978,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
13614
13978
|
|
|
13615
13979
|
declare const version: string;
|
|
13616
13980
|
|
|
13617
|
-
export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, 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, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, 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, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, 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, TokenPagination, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
13981
|
+
export { ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, DirectFileOutput, DisabledCodecs, DisconnectReason, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, ForwardParticipantRequest, ForwardParticipantResponse, 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, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, 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, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, 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, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebhookConfig, WebhookEvent, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|