QVAC Logo

transcribeStream( )

This function streams audio transcription results in real-time, yielding text chunks as they become available from the model.

function transcribeStream(params: TranscribeClientParams, options?: { forceNewConnection?: boolean; profiling?: { enabled?: boolean; includeServerBreakdown?: boolean; mode?: "summary" | "verbose" }; timeout?: number }): AsyncGenerator

Parameters

NameTypeRequired?Description
paramsTranscribeClientParamsThe arguments for the transcription
options`{ forceNewConnection?: boolean; profiling?: { enabled?: boolean; includeServerBreakdown?: boolean; mode?: "summary""verbose" }; timeout?: number }`

Returns

AsyncGenerator

Throws

ErrorWhen
When transcription fails with an error message

On this page