Skip to main content
SttOptions configures both transcribe and the streaming calls.

Fields

Defaults for punctuation and wordTimestamps come from RASTTOptions.defaults() rather than being hardcoded here, so they follow the C++ core.

Language

Leave language unset to auto-detect. Set it when you know the language: detection costs time and can pick wrong on short clips.

Word timestamps

Use these to build captions or to seek a player to a spoken word.

Diarization

diarization: true labels who spoke inside the transcription. For a standalone answer to “who spoke when”, use the diarization namespace instead:

Translation

translateToEnglish: true returns English regardless of the source language, where a plain transcription returns the original.