transcribe
open override fun transcribe(audioFlow: AudioFlow, config: TranscriptionConfig = TranscriptionConfig.Default): Flow<TranscriptionResult>
Transcribes audio from the given AudioFlow in real-time.
Returns a Flow of TranscriptionResult that emits:
TranscriptionResult.Partial for interim results (if enabled in config)
TranscriptionResult.Final for finalized transcription segments
TranscriptionResult.Error for any errors during transcription
The flow completes when the input audioFlow completes or when an unrecoverable error occurs.
Return
Flow of transcription results
Parameters
audioFlow
The audio data to transcribe
config
Configuration for the transcription