How to display lk.transcription text before stt
# ask-ai
b
How to display lk.transcription text before stt
t
Thanks for reaching out, RikuKomiya. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Just a quick heads-up: we can’t show the
lk.transcription
text before the speech-to-text (STT) process actually starts, since the transcription is what STT produces. But don’t worry—you can still make things feel super snappy by showing the transcription as soon as possible during the process: • Try turning off synchronized forwarding by setting
sync_transcription=False
in
RoomOutputOptions
. This way, transcriptions get sent to the client right away when they’re ready. • Make sure you’re subscribed to the
lk.transcription
text stream topic on the frontend so you can grab and show those interim results in real time. • In your agent logic, handle those interim transcriptions so you can display partial results immediately, then keep adding the final bits to the full transcript. Some folks even jazz things up with animated typewriter-style displays to make the real-time transcription feel even more lively. If you want, I’m here to help walk you through how to set any of this up—just let me know! Sources: Docs::Agents | Text and transcriptions | LiveKit Docs | hardware/pi-zero-transcriber/README.md | Transcription Applications | livekit/livekit_composite | DeepWiki | components/typewriter.tsx