Skip to main content
Version: Next

Interface: StreamingOptions

Defined in: types/stt.ts:222

Configuration options for the speech-to-text streaming process.

Extends

Properties

language?

optional language: SpeechToTextLanguage

Defined in: types/stt.ts:209

Optional language code to guide the transcription.

Inherited from

DecodingOptions.language


timeout?

optional timeout: number

Defined in: types/stt.ts:223

Specifies (in milliseconds) how much does streamer wait between model inferences.


useVAD?

optional useVAD: boolean

Defined in: types/stt.ts:224

When set to true, utilizes the inner VAD submodule (if initialized) and transcription process runs only when speech is being detected.


vadDetectionMargin?

optional vadDetectionMargin: number

Defined in: types/stt.ts:225

Specifies (in milliseconds) how far the last detected speech segment can be to still be considered as ongoing speech. Works only with useVAD set to true.


verbose?

optional verbose: boolean

Defined in: types/stt.ts:210

Optional flag. If set, transcription result is presented with timestamps and with additional parameters. For more details please refer to TranscriptionResult.

Inherited from

DecodingOptions.verbose