@livekit/protocol
Advanced tools
Comparing version 1.11.0 to 1.12.0
{ | ||
"name": "@livekit/protocol", | ||
"version": "1.11.0", | ||
"version": "1.12.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -314,2 +314,37 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from enum livekit.AudioTrackFeature | ||
*/ | ||
export declare enum AudioTrackFeature { | ||
/** | ||
* @generated from enum value: TF_STEREO = 0; | ||
*/ | ||
TF_STEREO = 0, | ||
/** | ||
* @generated from enum value: TF_NO_DTX = 1; | ||
*/ | ||
TF_NO_DTX = 1, | ||
/** | ||
* @generated from enum value: TF_AUTO_GAIN_CONTROL = 2; | ||
*/ | ||
TF_AUTO_GAIN_CONTROL = 2, | ||
/** | ||
* @generated from enum value: TF_ECHO_CANCELLATION = 3; | ||
*/ | ||
TF_ECHO_CANCELLATION = 3, | ||
/** | ||
* @generated from enum value: TF_NOISE_SUPPRESSION = 4; | ||
*/ | ||
TF_NOISE_SUPPRESSION = 4, | ||
/** | ||
* @generated from enum value: TF_ENHANCED_NOISE_CANCELLATION = 5; | ||
*/ | ||
TF_ENHANCED_NOISE_CANCELLATION = 5, | ||
} | ||
/** | ||
* @generated from message livekit.Room | ||
@@ -316,0 +351,0 @@ */ |
@@ -169,2 +169,17 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from enum livekit.AudioTrackFeature | ||
*/ | ||
export const AudioTrackFeature = proto3.makeEnum( | ||
"livekit.AudioTrackFeature", | ||
[ | ||
{no: 0, name: "TF_STEREO"}, | ||
{no: 1, name: "TF_NO_DTX"}, | ||
{no: 2, name: "TF_AUTO_GAIN_CONTROL"}, | ||
{no: 3, name: "TF_ECHO_CANCELLATION"}, | ||
{no: 4, name: "TF_NOISE_SUPPRESSION"}, | ||
{no: 5, name: "TF_ENHANCED_NOISE_CANCELLATION"}, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.Room | ||
@@ -171,0 +186,0 @@ */ |
@@ -22,3 +22,3 @@ // Copyright 2023 LiveKit, Inc. | ||
import { Message, proto3 } from "@bufbuild/protobuf"; | ||
import type { ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; | ||
import type { AudioTrackFeature, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; | ||
@@ -198,2 +198,18 @@ /** | ||
case: "pingReq"; | ||
} | { | ||
/** | ||
* Update local audio track settings | ||
* | ||
* @generated from field: livekit.UpdateLocalAudioTrack update_audio_track = 17; | ||
*/ | ||
value: UpdateLocalAudioTrack; | ||
case: "updateAudioTrack"; | ||
} | { | ||
/** | ||
* Update local video track settings | ||
* | ||
* @generated from field: livekit.UpdateLocalVideoTrack update_video_track = 18; | ||
*/ | ||
value: UpdateLocalVideoTrack; | ||
case: "updateVideoTrack"; | ||
} | { case: undefined; value?: undefined }; | ||
@@ -936,2 +952,65 @@ | ||
/** | ||
* @generated from message livekit.UpdateLocalAudioTrack | ||
*/ | ||
export declare class UpdateLocalAudioTrack extends Message<UpdateLocalAudioTrack> { | ||
/** | ||
* @generated from field: string track_sid = 1; | ||
*/ | ||
trackSid: string; | ||
/** | ||
* @generated from field: repeated livekit.AudioTrackFeature features = 2; | ||
*/ | ||
features: AudioTrackFeature[]; | ||
constructor(data?: PartialMessage<UpdateLocalAudioTrack>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.UpdateLocalAudioTrack"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocalAudioTrack; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocalAudioTrack; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocalAudioTrack; | ||
static equals(a: UpdateLocalAudioTrack | PlainMessage<UpdateLocalAudioTrack> | undefined, b: UpdateLocalAudioTrack | PlainMessage<UpdateLocalAudioTrack> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.UpdateLocalVideoTrack | ||
*/ | ||
export declare class UpdateLocalVideoTrack extends Message<UpdateLocalVideoTrack> { | ||
/** | ||
* @generated from field: string track_sid = 1; | ||
*/ | ||
trackSid: string; | ||
/** | ||
* @generated from field: uint32 width = 2; | ||
*/ | ||
width: number; | ||
/** | ||
* @generated from field: uint32 height = 3; | ||
*/ | ||
height: number; | ||
constructor(data?: PartialMessage<UpdateLocalVideoTrack>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.UpdateLocalVideoTrack"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocalVideoTrack; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocalVideoTrack; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocalVideoTrack; | ||
static equals(a: UpdateLocalVideoTrack | PlainMessage<UpdateLocalVideoTrack> | undefined, b: UpdateLocalVideoTrack | PlainMessage<UpdateLocalVideoTrack> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.LeaveRequest | ||
@@ -938,0 +1017,0 @@ */ |
@@ -21,3 +21,3 @@ // Copyright 2023 LiveKit, Inc. | ||
import { proto3 } from "@bufbuild/protobuf"; | ||
import { ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; | ||
import { AudioTrackFeature, ClientConfiguration, ConnectionQuality, DisconnectReason, Encryption_Type, ParticipantInfo, ParticipantTracks, Room, ServerInfo, SpeakerInfo, SubscriptionError, TrackInfo, TrackSource, TrackType, VideoLayer, VideoQuality } from "./livekit_models_pb.js"; | ||
@@ -79,2 +79,4 @@ /** | ||
{ no: 16, name: "ping_req", kind: "message", T: Ping, oneof: "message" }, | ||
{ no: 17, name: "update_audio_track", kind: "message", T: UpdateLocalAudioTrack, oneof: "message" }, | ||
{ no: 18, name: "update_video_track", kind: "message", T: UpdateLocalVideoTrack, oneof: "message" }, | ||
], | ||
@@ -273,2 +275,25 @@ ); | ||
/** | ||
* @generated from message livekit.UpdateLocalAudioTrack | ||
*/ | ||
export const UpdateLocalAudioTrack = proto3.makeMessageType( | ||
"livekit.UpdateLocalAudioTrack", | ||
() => [ | ||
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.UpdateLocalVideoTrack | ||
*/ | ||
export const UpdateLocalVideoTrack = proto3.makeMessageType( | ||
"livekit.UpdateLocalVideoTrack", | ||
() => [ | ||
{ no: 1, name: "track_sid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "width", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, | ||
{ no: 3, name: "height", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.LeaveRequest | ||
@@ -275,0 +300,0 @@ */ |
@@ -542,2 +542,10 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* Optionally send following DTMF digits (extension codes) when making a call. | ||
* Character 'w' can be used to add a 0.5 sec delay. | ||
* | ||
* @generated from field: string dtmf = 5; | ||
*/ | ||
dtmf: string; | ||
constructor(data?: PartialMessage<CreateSIPParticipantRequest>); | ||
@@ -544,0 +552,0 @@ |
@@ -186,2 +186,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
], | ||
@@ -188,0 +189,0 @@ ); |
// Generated by genversion. | ||
export const version = '1.11.0'; | ||
export const version = '1.12.0'; |
351955
9240