You can use SpeechTranscriber.Preset to configure settings tailored to specific use cases.
If you prioritize real-time recognition, specifying .progressiveTranscription should make it somewhat faster and improve responsiveness.
https://developer.apple.com/documentation/speech/speechtranscriber/preset
let preset = SpeechTranscriber.Preset.progressiveTranscription
let transcriber = SpeechTranscriber(
locale: Locale.current,
transcriptionOptions: preset.transcriptionOptions,
reportingOptions: preset.reportingOptions,
attributeOptions: preset.attributeOptions
)
Topic:
Audio
SubTopic:
Audio Q&A