dry-waiter-30582
06/24/2025, 6:27 PMroom.registerTextStreamHandler('lk.transcription', async (reader, participantInfo) => {
const message = await reader.readAll();
if (reader.info.attributes['lk.transcribed_track_id']) {
console.log(`New transcription from ${participantInfo.identity}: ${message}`);
} else {
console.log(`New message from ${participantInfo.identity}: ${message}`);
}
});
The user speech is streamed which is as expected. But agent speech text comes into this only after the speech is done. Not in a streaming waytall-airline-16756
06/24/2025, 6:27 PMtall-airline-16756
06/24/2025, 6:27 PMflexible
, the final transcript is delayed until proper numeral formatting is complete.
These settings can affect how quickly the transcription is streamed. You may want to review and adjust these parameters in your transcription configuration to achieve the desired streaming behavior for the agent's speech.
If you need further assistance or have additional questions, feel free to let me know!
Sources: Speechmatics integration guide | LiveKit Docs | GitHub::LiveKit Agents | livekit-agents/livekit/agents/voice/transcription/... | Speechmatics STT integration guide | LiveKit Docs