@livekit/protocol 1.31.0 → 1.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +65 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +97 -22
- package/dist/index.d.mts +97 -22
- package/dist/index.d.ts +97 -22
- package/dist/index.mjs +64 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/livekit_models_pb.d.ts +69 -21
- package/src/gen/livekit_models_pb.js +23 -9
- package/src/gen/livekit_room_pb.d.ts +7 -0
- package/src/gen/livekit_room_pb.js +1 -0
- package/src/gen/livekit_sip_pb.d.ts +21 -1
- package/src/gen/livekit_sip_pb.js +7 -2
- package/src/gen/version.js +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -763,6 +763,37 @@ declare enum AudioTrackFeature {
|
|
|
763
763
|
TF_ENHANCED_NOISE_CANCELLATION = 5,
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
+
/**
|
|
767
|
+
* @generated from message livekit.Pagination
|
|
768
|
+
*/
|
|
769
|
+
declare class Pagination extends Message<Pagination> {
|
|
770
|
+
/**
|
|
771
|
+
* list entities which IDs are greater
|
|
772
|
+
*
|
|
773
|
+
* @generated from field: string after_id = 1;
|
|
774
|
+
*/
|
|
775
|
+
afterId: string;
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* @generated from field: int32 limit = 2;
|
|
779
|
+
*/
|
|
780
|
+
limit: number;
|
|
781
|
+
|
|
782
|
+
constructor(data?: PartialMessage<Pagination>);
|
|
783
|
+
|
|
784
|
+
static readonly runtime: typeof proto3;
|
|
785
|
+
static readonly typeName = "livekit.Pagination";
|
|
786
|
+
static readonly fields: FieldList;
|
|
787
|
+
|
|
788
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
|
|
789
|
+
|
|
790
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
|
|
791
|
+
|
|
792
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination;
|
|
793
|
+
|
|
794
|
+
static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
|
|
795
|
+
}
|
|
796
|
+
|
|
766
797
|
/**
|
|
767
798
|
* @generated from message livekit.Room
|
|
768
799
|
*/
|
|
@@ -797,6 +828,11 @@ declare class Room extends Message<Room> {
|
|
|
797
828
|
*/
|
|
798
829
|
creationTime: bigint;
|
|
799
830
|
|
|
831
|
+
/**
|
|
832
|
+
* @generated from field: int64 creation_time_ms = 15;
|
|
833
|
+
*/
|
|
834
|
+
creationTimeMs: bigint;
|
|
835
|
+
|
|
800
836
|
/**
|
|
801
837
|
* @generated from field: string turn_password = 6;
|
|
802
838
|
*/
|
|
@@ -1032,6 +1068,13 @@ declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
1032
1068
|
*/
|
|
1033
1069
|
joinedAt: bigint;
|
|
1034
1070
|
|
|
1071
|
+
/**
|
|
1072
|
+
* timestamp when participant joined room, in milliseconds
|
|
1073
|
+
*
|
|
1074
|
+
* @generated from field: int64 joined_at_ms = 17;
|
|
1075
|
+
*/
|
|
1076
|
+
joinedAtMs: bigint;
|
|
1077
|
+
|
|
1035
1078
|
/**
|
|
1036
1079
|
* @generated from field: string name = 9;
|
|
1037
1080
|
*/
|
|
@@ -1683,6 +1726,13 @@ declare class UserPacket extends Message<UserPacket> {
|
|
|
1683
1726
|
*/
|
|
1684
1727
|
endTime?: bigint;
|
|
1685
1728
|
|
|
1729
|
+
/**
|
|
1730
|
+
* added by SDK to enable de-duping of messages, for INTERNAL USE ONLY
|
|
1731
|
+
*
|
|
1732
|
+
* @generated from field: bytes nonce = 11;
|
|
1733
|
+
*/
|
|
1734
|
+
nonce: Uint8Array;
|
|
1735
|
+
|
|
1686
1736
|
constructor(data?: PartialMessage<UserPacket>);
|
|
1687
1737
|
|
|
1688
1738
|
static readonly runtime: typeof proto3;
|
|
@@ -3034,31 +3084,29 @@ declare class DataStream_TextHeader extends Message<DataStream_TextHeader> {
|
|
|
3034
3084
|
}
|
|
3035
3085
|
|
|
3036
3086
|
/**
|
|
3037
|
-
* header properties specific to
|
|
3087
|
+
* header properties specific to byte or file streams
|
|
3038
3088
|
*
|
|
3039
|
-
* @generated from message livekit.DataStream.
|
|
3089
|
+
* @generated from message livekit.DataStream.ByteHeader
|
|
3040
3090
|
*/
|
|
3041
|
-
declare class
|
|
3091
|
+
declare class DataStream_ByteHeader extends Message<DataStream_ByteHeader> {
|
|
3042
3092
|
/**
|
|
3043
|
-
* name
|
|
3044
|
-
*
|
|
3045
|
-
* @generated from field: string file_name = 1;
|
|
3093
|
+
* @generated from field: string name = 1;
|
|
3046
3094
|
*/
|
|
3047
|
-
|
|
3095
|
+
name: string;
|
|
3048
3096
|
|
|
3049
|
-
constructor(data?: PartialMessage<
|
|
3097
|
+
constructor(data?: PartialMessage<DataStream_ByteHeader>);
|
|
3050
3098
|
|
|
3051
3099
|
static readonly runtime: typeof proto3;
|
|
3052
|
-
static readonly typeName = "livekit.DataStream.
|
|
3100
|
+
static readonly typeName = "livekit.DataStream.ByteHeader";
|
|
3053
3101
|
static readonly fields: FieldList;
|
|
3054
3102
|
|
|
3055
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
3103
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_ByteHeader;
|
|
3056
3104
|
|
|
3057
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
3105
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
3058
3106
|
|
|
3059
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
3107
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
3060
3108
|
|
|
3061
|
-
static equals(a:
|
|
3109
|
+
static equals(a: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined, b: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined): boolean;
|
|
3062
3110
|
}
|
|
3063
3111
|
|
|
3064
3112
|
/**
|
|
@@ -3106,11 +3154,11 @@ declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
3106
3154
|
encryptionType: Encryption_Type;
|
|
3107
3155
|
|
|
3108
3156
|
/**
|
|
3109
|
-
* user defined
|
|
3157
|
+
* user defined attributes map that can carry additional info
|
|
3110
3158
|
*
|
|
3111
|
-
* @generated from field: map<string, string>
|
|
3159
|
+
* @generated from field: map<string, string> attributes = 8;
|
|
3112
3160
|
*/
|
|
3113
|
-
|
|
3161
|
+
attributes: { [key: string]: string };
|
|
3114
3162
|
|
|
3115
3163
|
/**
|
|
3116
3164
|
* oneof to choose between specific header types
|
|
@@ -3125,10 +3173,10 @@ declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
3125
3173
|
case: "textHeader";
|
|
3126
3174
|
} | {
|
|
3127
3175
|
/**
|
|
3128
|
-
* @generated from field: livekit.DataStream.
|
|
3176
|
+
* @generated from field: livekit.DataStream.ByteHeader byte_header = 10;
|
|
3129
3177
|
*/
|
|
3130
|
-
value:
|
|
3131
|
-
case: "
|
|
3178
|
+
value: DataStream_ByteHeader;
|
|
3179
|
+
case: "byteHeader";
|
|
3132
3180
|
} | { case: undefined; value?: undefined };
|
|
3133
3181
|
|
|
3134
3182
|
constructor(data?: PartialMessage<DataStream_Header>);
|
|
@@ -3219,9 +3267,9 @@ declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
|
3219
3267
|
/**
|
|
3220
3268
|
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
3221
3269
|
*
|
|
3222
|
-
* @generated from field: map<string, string>
|
|
3270
|
+
* @generated from field: map<string, string> attributes = 3;
|
|
3223
3271
|
*/
|
|
3224
|
-
|
|
3272
|
+
attributes: { [key: string]: string };
|
|
3225
3273
|
|
|
3226
3274
|
constructor(data?: PartialMessage<DataStream_Trailer>);
|
|
3227
3275
|
|
|
@@ -7763,6 +7811,13 @@ declare class SendDataRequest extends Message<SendDataRequest> {
|
|
|
7763
7811
|
*/
|
|
7764
7812
|
topic?: string;
|
|
7765
7813
|
|
|
7814
|
+
/**
|
|
7815
|
+
* added by SDK to enable de-duping of messages, for INTERNAL USE ONLY
|
|
7816
|
+
*
|
|
7817
|
+
* @generated from field: bytes nonce = 7;
|
|
7818
|
+
*/
|
|
7819
|
+
nonce: Uint8Array;
|
|
7820
|
+
|
|
7766
7821
|
constructor(data?: PartialMessage<SendDataRequest>);
|
|
7767
7822
|
|
|
7768
7823
|
static readonly runtime: typeof proto3;
|
|
@@ -10696,6 +10751,11 @@ declare class GetSIPOutboundTrunkResponse extends Message<GetSIPOutboundTrunkRes
|
|
|
10696
10751
|
* @deprecated
|
|
10697
10752
|
*/
|
|
10698
10753
|
declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> {
|
|
10754
|
+
/**
|
|
10755
|
+
* @generated from field: livekit.Pagination page = 1;
|
|
10756
|
+
*/
|
|
10757
|
+
page?: Pagination;
|
|
10758
|
+
|
|
10699
10759
|
constructor(data?: PartialMessage<ListSIPTrunkRequest>);
|
|
10700
10760
|
|
|
10701
10761
|
static readonly runtime: typeof proto3;
|
|
@@ -10742,6 +10802,11 @@ declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse> {
|
|
|
10742
10802
|
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
10743
10803
|
*/
|
|
10744
10804
|
declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
|
|
10805
|
+
/**
|
|
10806
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
10807
|
+
*/
|
|
10808
|
+
page?: Pagination;
|
|
10809
|
+
|
|
10745
10810
|
/**
|
|
10746
10811
|
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
10747
10812
|
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
@@ -10802,6 +10867,11 @@ declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundTrunkRes
|
|
|
10802
10867
|
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
10803
10868
|
*/
|
|
10804
10869
|
declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
|
|
10870
|
+
/**
|
|
10871
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
10872
|
+
*/
|
|
10873
|
+
page?: Pagination;
|
|
10874
|
+
|
|
10805
10875
|
/**
|
|
10806
10876
|
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
10807
10877
|
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
@@ -11221,6 +11291,11 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
11221
11291
|
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
11222
11292
|
*/
|
|
11223
11293
|
declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
|
|
11294
|
+
/**
|
|
11295
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
11296
|
+
*/
|
|
11297
|
+
page?: Pagination;
|
|
11298
|
+
|
|
11224
11299
|
/**
|
|
11225
11300
|
* Rule IDs to list. If this option is set, the response will contains rules in the same order.
|
|
11226
11301
|
* If any of the rules is missing, a nil item in that position will be sent in the response.
|
|
@@ -11778,4 +11853,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
11778
11853
|
|
|
11779
11854
|
declare const version: string;
|
|
11780
11855
|
|
|
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,
|
|
11856
|
+
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_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, 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, Pagination, 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 };
|
package/dist/index.d.mts
CHANGED
|
@@ -763,6 +763,37 @@ declare enum AudioTrackFeature {
|
|
|
763
763
|
TF_ENHANCED_NOISE_CANCELLATION = 5,
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
+
/**
|
|
767
|
+
* @generated from message livekit.Pagination
|
|
768
|
+
*/
|
|
769
|
+
declare class Pagination extends Message<Pagination> {
|
|
770
|
+
/**
|
|
771
|
+
* list entities which IDs are greater
|
|
772
|
+
*
|
|
773
|
+
* @generated from field: string after_id = 1;
|
|
774
|
+
*/
|
|
775
|
+
afterId: string;
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* @generated from field: int32 limit = 2;
|
|
779
|
+
*/
|
|
780
|
+
limit: number;
|
|
781
|
+
|
|
782
|
+
constructor(data?: PartialMessage<Pagination>);
|
|
783
|
+
|
|
784
|
+
static readonly runtime: typeof proto3;
|
|
785
|
+
static readonly typeName = "livekit.Pagination";
|
|
786
|
+
static readonly fields: FieldList;
|
|
787
|
+
|
|
788
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
|
|
789
|
+
|
|
790
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
|
|
791
|
+
|
|
792
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination;
|
|
793
|
+
|
|
794
|
+
static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
|
|
795
|
+
}
|
|
796
|
+
|
|
766
797
|
/**
|
|
767
798
|
* @generated from message livekit.Room
|
|
768
799
|
*/
|
|
@@ -797,6 +828,11 @@ declare class Room extends Message<Room> {
|
|
|
797
828
|
*/
|
|
798
829
|
creationTime: bigint;
|
|
799
830
|
|
|
831
|
+
/**
|
|
832
|
+
* @generated from field: int64 creation_time_ms = 15;
|
|
833
|
+
*/
|
|
834
|
+
creationTimeMs: bigint;
|
|
835
|
+
|
|
800
836
|
/**
|
|
801
837
|
* @generated from field: string turn_password = 6;
|
|
802
838
|
*/
|
|
@@ -1032,6 +1068,13 @@ declare class ParticipantInfo extends Message<ParticipantInfo> {
|
|
|
1032
1068
|
*/
|
|
1033
1069
|
joinedAt: bigint;
|
|
1034
1070
|
|
|
1071
|
+
/**
|
|
1072
|
+
* timestamp when participant joined room, in milliseconds
|
|
1073
|
+
*
|
|
1074
|
+
* @generated from field: int64 joined_at_ms = 17;
|
|
1075
|
+
*/
|
|
1076
|
+
joinedAtMs: bigint;
|
|
1077
|
+
|
|
1035
1078
|
/**
|
|
1036
1079
|
* @generated from field: string name = 9;
|
|
1037
1080
|
*/
|
|
@@ -1683,6 +1726,13 @@ declare class UserPacket extends Message<UserPacket> {
|
|
|
1683
1726
|
*/
|
|
1684
1727
|
endTime?: bigint;
|
|
1685
1728
|
|
|
1729
|
+
/**
|
|
1730
|
+
* added by SDK to enable de-duping of messages, for INTERNAL USE ONLY
|
|
1731
|
+
*
|
|
1732
|
+
* @generated from field: bytes nonce = 11;
|
|
1733
|
+
*/
|
|
1734
|
+
nonce: Uint8Array;
|
|
1735
|
+
|
|
1686
1736
|
constructor(data?: PartialMessage<UserPacket>);
|
|
1687
1737
|
|
|
1688
1738
|
static readonly runtime: typeof proto3;
|
|
@@ -3034,31 +3084,29 @@ declare class DataStream_TextHeader extends Message<DataStream_TextHeader> {
|
|
|
3034
3084
|
}
|
|
3035
3085
|
|
|
3036
3086
|
/**
|
|
3037
|
-
* header properties specific to
|
|
3087
|
+
* header properties specific to byte or file streams
|
|
3038
3088
|
*
|
|
3039
|
-
* @generated from message livekit.DataStream.
|
|
3089
|
+
* @generated from message livekit.DataStream.ByteHeader
|
|
3040
3090
|
*/
|
|
3041
|
-
declare class
|
|
3091
|
+
declare class DataStream_ByteHeader extends Message<DataStream_ByteHeader> {
|
|
3042
3092
|
/**
|
|
3043
|
-
* name
|
|
3044
|
-
*
|
|
3045
|
-
* @generated from field: string file_name = 1;
|
|
3093
|
+
* @generated from field: string name = 1;
|
|
3046
3094
|
*/
|
|
3047
|
-
|
|
3095
|
+
name: string;
|
|
3048
3096
|
|
|
3049
|
-
constructor(data?: PartialMessage<
|
|
3097
|
+
constructor(data?: PartialMessage<DataStream_ByteHeader>);
|
|
3050
3098
|
|
|
3051
3099
|
static readonly runtime: typeof proto3;
|
|
3052
|
-
static readonly typeName = "livekit.DataStream.
|
|
3100
|
+
static readonly typeName = "livekit.DataStream.ByteHeader";
|
|
3053
3101
|
static readonly fields: FieldList;
|
|
3054
3102
|
|
|
3055
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
3103
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataStream_ByteHeader;
|
|
3056
3104
|
|
|
3057
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
3105
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
3058
3106
|
|
|
3059
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
3107
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataStream_ByteHeader;
|
|
3060
3108
|
|
|
3061
|
-
static equals(a:
|
|
3109
|
+
static equals(a: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined, b: DataStream_ByteHeader | PlainMessage<DataStream_ByteHeader> | undefined): boolean;
|
|
3062
3110
|
}
|
|
3063
3111
|
|
|
3064
3112
|
/**
|
|
@@ -3106,11 +3154,11 @@ declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
3106
3154
|
encryptionType: Encryption_Type;
|
|
3107
3155
|
|
|
3108
3156
|
/**
|
|
3109
|
-
* user defined
|
|
3157
|
+
* user defined attributes map that can carry additional info
|
|
3110
3158
|
*
|
|
3111
|
-
* @generated from field: map<string, string>
|
|
3159
|
+
* @generated from field: map<string, string> attributes = 8;
|
|
3112
3160
|
*/
|
|
3113
|
-
|
|
3161
|
+
attributes: { [key: string]: string };
|
|
3114
3162
|
|
|
3115
3163
|
/**
|
|
3116
3164
|
* oneof to choose between specific header types
|
|
@@ -3125,10 +3173,10 @@ declare class DataStream_Header extends Message<DataStream_Header> {
|
|
|
3125
3173
|
case: "textHeader";
|
|
3126
3174
|
} | {
|
|
3127
3175
|
/**
|
|
3128
|
-
* @generated from field: livekit.DataStream.
|
|
3176
|
+
* @generated from field: livekit.DataStream.ByteHeader byte_header = 10;
|
|
3129
3177
|
*/
|
|
3130
|
-
value:
|
|
3131
|
-
case: "
|
|
3178
|
+
value: DataStream_ByteHeader;
|
|
3179
|
+
case: "byteHeader";
|
|
3132
3180
|
} | { case: undefined; value?: undefined };
|
|
3133
3181
|
|
|
3134
3182
|
constructor(data?: PartialMessage<DataStream_Header>);
|
|
@@ -3219,9 +3267,9 @@ declare class DataStream_Trailer extends Message<DataStream_Trailer> {
|
|
|
3219
3267
|
/**
|
|
3220
3268
|
* finalizing updates for the stream, can also include additional insights for errors or endTime for transcription
|
|
3221
3269
|
*
|
|
3222
|
-
* @generated from field: map<string, string>
|
|
3270
|
+
* @generated from field: map<string, string> attributes = 3;
|
|
3223
3271
|
*/
|
|
3224
|
-
|
|
3272
|
+
attributes: { [key: string]: string };
|
|
3225
3273
|
|
|
3226
3274
|
constructor(data?: PartialMessage<DataStream_Trailer>);
|
|
3227
3275
|
|
|
@@ -7763,6 +7811,13 @@ declare class SendDataRequest extends Message<SendDataRequest> {
|
|
|
7763
7811
|
*/
|
|
7764
7812
|
topic?: string;
|
|
7765
7813
|
|
|
7814
|
+
/**
|
|
7815
|
+
* added by SDK to enable de-duping of messages, for INTERNAL USE ONLY
|
|
7816
|
+
*
|
|
7817
|
+
* @generated from field: bytes nonce = 7;
|
|
7818
|
+
*/
|
|
7819
|
+
nonce: Uint8Array;
|
|
7820
|
+
|
|
7766
7821
|
constructor(data?: PartialMessage<SendDataRequest>);
|
|
7767
7822
|
|
|
7768
7823
|
static readonly runtime: typeof proto3;
|
|
@@ -10696,6 +10751,11 @@ declare class GetSIPOutboundTrunkResponse extends Message<GetSIPOutboundTrunkRes
|
|
|
10696
10751
|
* @deprecated
|
|
10697
10752
|
*/
|
|
10698
10753
|
declare class ListSIPTrunkRequest extends Message<ListSIPTrunkRequest> {
|
|
10754
|
+
/**
|
|
10755
|
+
* @generated from field: livekit.Pagination page = 1;
|
|
10756
|
+
*/
|
|
10757
|
+
page?: Pagination;
|
|
10758
|
+
|
|
10699
10759
|
constructor(data?: PartialMessage<ListSIPTrunkRequest>);
|
|
10700
10760
|
|
|
10701
10761
|
static readonly runtime: typeof proto3;
|
|
@@ -10742,6 +10802,11 @@ declare class ListSIPTrunkResponse extends Message<ListSIPTrunkResponse> {
|
|
|
10742
10802
|
* @generated from message livekit.ListSIPInboundTrunkRequest
|
|
10743
10803
|
*/
|
|
10744
10804
|
declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
|
|
10805
|
+
/**
|
|
10806
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
10807
|
+
*/
|
|
10808
|
+
page?: Pagination;
|
|
10809
|
+
|
|
10745
10810
|
/**
|
|
10746
10811
|
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
10747
10812
|
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
@@ -10802,6 +10867,11 @@ declare class ListSIPInboundTrunkResponse extends Message<ListSIPInboundTrunkRes
|
|
|
10802
10867
|
* @generated from message livekit.ListSIPOutboundTrunkRequest
|
|
10803
10868
|
*/
|
|
10804
10869
|
declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
|
|
10870
|
+
/**
|
|
10871
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
10872
|
+
*/
|
|
10873
|
+
page?: Pagination;
|
|
10874
|
+
|
|
10805
10875
|
/**
|
|
10806
10876
|
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
|
|
10807
10877
|
* If any of the trunks is missing, a nil item in that position will be sent in the response.
|
|
@@ -11221,6 +11291,11 @@ declare class SIPDispatchRuleInfo extends Message<SIPDispatchRuleInfo> {
|
|
|
11221
11291
|
* @generated from message livekit.ListSIPDispatchRuleRequest
|
|
11222
11292
|
*/
|
|
11223
11293
|
declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
|
|
11294
|
+
/**
|
|
11295
|
+
* @generated from field: livekit.Pagination page = 3;
|
|
11296
|
+
*/
|
|
11297
|
+
page?: Pagination;
|
|
11298
|
+
|
|
11224
11299
|
/**
|
|
11225
11300
|
* Rule IDs to list. If this option is set, the response will contains rules in the same order.
|
|
11226
11301
|
* If any of the rules is missing, a nil item in that position will be sent in the response.
|
|
@@ -11778,4 +11853,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
11778
11853
|
|
|
11779
11854
|
declare const version: string;
|
|
11780
11855
|
|
|
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,
|
|
11856
|
+
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_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, 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, Pagination, 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 };
|