@livekit/protocol
Advanced tools
Comparing version 1.13.0 to 1.14.0
{ | ||
"name": "@livekit/protocol", | ||
"version": "1.13.0", | ||
"version": "1.14.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -192,5 +192,6 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* whether to pass through the incoming media without transcoding, only compatible with some input types | ||
* [depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. | ||
* | ||
* @generated from field: bool bypass_transcoding = 8; | ||
* @generated from field: bool bypass_transcoding = 8 [deprecated = true]; | ||
* @deprecated | ||
*/ | ||
@@ -200,2 +201,9 @@ bypassTranscoding: boolean; | ||
/** | ||
* Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. | ||
* | ||
* @generated from field: optional bool enable_transcoding = 11; | ||
*/ | ||
enableTranscoding?: boolean; | ||
/** | ||
* @generated from field: livekit.IngressAudioOptions audio = 6; | ||
@@ -432,3 +440,4 @@ */ | ||
/** | ||
* @generated from field: bool bypass_transcoding = 13; | ||
* @generated from field: bool bypass_transcoding = 13 [deprecated = true]; | ||
* @deprecated | ||
*/ | ||
@@ -438,2 +447,7 @@ bypassTranscoding: boolean; | ||
/** | ||
* @generated from field: optional bool enable_transcoding = 15; | ||
*/ | ||
enableTranscoding?: boolean; | ||
/** | ||
* @generated from field: livekit.IngressAudioOptions audio = 6; | ||
@@ -539,2 +553,7 @@ */ | ||
/** | ||
* @generated from field: int64 updated_at = 10; | ||
*/ | ||
updatedAt: bigint; | ||
/** | ||
* @generated from field: string resource_id = 9; | ||
@@ -712,3 +731,4 @@ */ | ||
/** | ||
* @generated from field: optional bool bypass_transcoding = 8; | ||
* @generated from field: optional bool bypass_transcoding = 8 [deprecated = true]; | ||
* @deprecated | ||
*/ | ||
@@ -718,2 +738,7 @@ bypassTranscoding?: boolean; | ||
/** | ||
* @generated from field: optional bool enable_transcoding = 10; | ||
*/ | ||
enableTranscoding?: boolean; | ||
/** | ||
* @generated from field: livekit.IngressAudioOptions audio = 6; | ||
@@ -720,0 +745,0 @@ */ |
@@ -79,2 +79,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 11, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, | ||
@@ -148,2 +149,3 @@ { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, | ||
{ no: 13, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
{ no: 15, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, | ||
@@ -173,2 +175,3 @@ { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, | ||
{ no: 8, name: "ended_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, | ||
{ no: 10, name: "updated_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, | ||
{ no: 9, name: "resource_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
@@ -233,2 +236,3 @@ { no: 6, name: "tracks", kind: "message", T: TrackInfo, repeated: true }, | ||
{ no: 8, name: "bypass_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
{ no: 10, name: "enable_transcoding", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, | ||
{ no: 6, name: "audio", kind: "message", T: IngressAudioOptions }, | ||
@@ -235,0 +239,0 @@ { no: 7, name: "video", kind: "message", T: IngressVideoOptions }, |
@@ -914,2 +914,7 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* @generated from field: repeated livekit.AudioTrackFeature audio_features = 19; | ||
*/ | ||
audioFeatures: AudioTrackFeature[]; | ||
constructor(data?: PartialMessage<TrackInfo>); | ||
@@ -1028,2 +1033,8 @@ | ||
case: "sipDtmf"; | ||
} | { | ||
/** | ||
* @generated from field: livekit.Transcription transcription = 7; | ||
*/ | ||
value: Transcription; | ||
case: "transcription"; | ||
} | { case: undefined; value?: undefined }; | ||
@@ -1171,2 +1182,21 @@ | ||
/** | ||
* Unique ID to indentify the message | ||
* | ||
* @generated from field: optional string id = 8; | ||
*/ | ||
id?: string; | ||
/** | ||
* start and end time allow relating the message to specific media time | ||
* | ||
* @generated from field: optional uint64 start_time = 9; | ||
*/ | ||
startTime?: bigint; | ||
/** | ||
* @generated from field: optional uint64 end_time = 10; | ||
*/ | ||
endTime?: bigint; | ||
constructor(data?: PartialMessage<UserPacket>); | ||
@@ -1217,2 +1247,85 @@ | ||
/** | ||
* @generated from message livekit.Transcription | ||
*/ | ||
export declare class Transcription extends Message<Transcription> { | ||
/** | ||
* @generated from field: string participant_identity = 2; | ||
*/ | ||
participantIdentity: string; | ||
/** | ||
* @generated from field: string track_id = 3; | ||
*/ | ||
trackId: string; | ||
/** | ||
* @generated from field: repeated livekit.TranscriptionSegment segments = 4; | ||
*/ | ||
segments: TranscriptionSegment[]; | ||
/** | ||
* @generated from field: string language = 5; | ||
*/ | ||
language: string; | ||
constructor(data?: PartialMessage<Transcription>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.Transcription"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Transcription; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Transcription; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Transcription; | ||
static equals(a: Transcription | PlainMessage<Transcription> | undefined, b: Transcription | PlainMessage<Transcription> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.TranscriptionSegment | ||
*/ | ||
export declare class TranscriptionSegment extends Message<TranscriptionSegment> { | ||
/** | ||
* @generated from field: string id = 1; | ||
*/ | ||
id: string; | ||
/** | ||
* @generated from field: string text = 2; | ||
*/ | ||
text: string; | ||
/** | ||
* @generated from field: uint64 start_time = 3; | ||
*/ | ||
startTime: bigint; | ||
/** | ||
* @generated from field: uint64 end_time = 4; | ||
*/ | ||
endTime: bigint; | ||
/** | ||
* @generated from field: bool final = 5; | ||
*/ | ||
final: boolean; | ||
constructor(data?: PartialMessage<TranscriptionSegment>); | ||
static readonly runtime: typeof proto3; | ||
static readonly typeName = "livekit.TranscriptionSegment"; | ||
static readonly fields: FieldList; | ||
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TranscriptionSegment; | ||
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TranscriptionSegment; | ||
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TranscriptionSegment; | ||
static equals(a: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined, b: TranscriptionSegment | PlainMessage<TranscriptionSegment> | undefined): boolean; | ||
} | ||
/** | ||
* @generated from message livekit.ParticipantTracks | ||
@@ -1219,0 +1332,0 @@ */ |
@@ -350,2 +350,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 18, name: "version", kind: "message", T: TimedVersion }, | ||
{ no: 19, name: "audio_features", kind: "enum", T: proto3.getEnumType(AudioTrackFeature), repeated: true }, | ||
], | ||
@@ -384,2 +385,3 @@ ); | ||
{ no: 6, name: "sip_dtmf", kind: "message", T: SipDTMF, oneof: "value" }, | ||
{ no: 7, name: "transcription", kind: "message", T: Transcription, oneof: "value" }, | ||
], | ||
@@ -433,2 +435,5 @@ ); | ||
{ no: 4, name: "topic", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
{ no: 8, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, | ||
{ no: 9, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, | ||
{ no: 10, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true }, | ||
], | ||
@@ -449,2 +454,29 @@ ); | ||
/** | ||
* @generated from message livekit.Transcription | ||
*/ | ||
export const Transcription = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.Transcription", | ||
() => [ | ||
{ no: 2, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "track_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 4, name: "segments", kind: "message", T: TranscriptionSegment, repeated: true }, | ||
{ no: 5, name: "language", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.TranscriptionSegment | ||
*/ | ||
export const TranscriptionSegment = /*@__PURE__*/ proto3.makeMessageType( | ||
"livekit.TranscriptionSegment", | ||
() => [ | ||
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 3, name: "start_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, | ||
{ no: 4, name: "end_time", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, | ||
{ no: 5, name: "final", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, | ||
], | ||
); | ||
/** | ||
* @generated from message livekit.ParticipantTracks | ||
@@ -451,0 +483,0 @@ */ |
@@ -145,3 +145,4 @@ // Copyright 2023 LiveKit, Inc. | ||
* | ||
* @generated from field: livekit.UpdateVideoLayers update_layers = 10; | ||
* @generated from field: livekit.UpdateVideoLayers update_layers = 10 [deprecated = true]; | ||
* @deprecated | ||
*/ | ||
@@ -1088,2 +1089,3 @@ value: UpdateVideoLayers; | ||
* @generated from message livekit.UpdateVideoLayers | ||
* @deprecated | ||
*/ | ||
@@ -1090,0 +1092,0 @@ export declare class UpdateVideoLayers extends Message<UpdateVideoLayers> { |
@@ -326,2 +326,3 @@ // Copyright 2023 LiveKit, Inc. | ||
* @generated from message livekit.UpdateVideoLayers | ||
* @deprecated | ||
*/ | ||
@@ -328,0 +329,0 @@ export const UpdateVideoLayers = /*@__PURE__*/ proto3.makeMessageType( |
@@ -543,2 +543,9 @@ // Copyright 2023 LiveKit, Inc. | ||
/** | ||
* Optional name of the participant in LiveKit room | ||
* | ||
* @generated from field: string participant_name = 7; | ||
*/ | ||
participantName: string; | ||
/** | ||
* Optionally send following DTMF digits (extension codes) when making a call. | ||
@@ -545,0 +552,0 @@ * Character 'w' can be used to add a 0.5 sec delay. |
@@ -186,2 +186,3 @@ // Copyright 2023 LiveKit, Inc. | ||
{ no: 4, name: "participant_identity", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 7, name: "participant_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
{ no: 5, name: "dtmf", kind: "scalar", T: 9 /* ScalarType.STRING */ }, | ||
@@ -188,0 +189,0 @@ { no: 6, name: "play_ringtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, |
// Generated by genversion. | ||
export const version = '1.13.0'; | ||
export const version = '1.14.0'; |
371646
9683