billions-lawyer-8588
08/08/2025, 9:13 PMignoring text stream with topic 'lk.transcription', no callback attached
tall-airline-16756
08/08/2025, 9:13 PMtall-airline-16756
08/08/2025, 9:13 PMignoring text stream with topic 'lk.transcription', no callback attached
pops up when a text stream comes in but there’s no handler set up to deal with it. Don’t worry, this is totally normal in LiveKit—it just means the system is politely skipping over the stream since nothing’s been assigned to process it.
If you want to handle the incoming transcription stream and stop seeing that log, you can register a text stream handler for the lk.transcription
topic. Here’s a quick example in JavaScript:
room.registerTextStreamHandler('lk.transcription', async (reader, participantInfo) => {
const message = await reader.readAll();
console.log(`New transcription from ${participantInfo.identity}: ${message}`);
});
But if you don’t need to process the lk.transcription
stream, it’s totally fine to just ignore the log—it’s harmless. If you want a hand setting this up or have any other questions, just let me know!billions-lawyer-8588
08/08/2025, 9:20 PMtall-airline-16756
08/08/2025, 9:20 PMlk.transcription
stream is coming from your custom STT model, you can take a quick look at the stream's attributes and see if lk.transcribed_track_id
is present. If you don’t see this attribute, that’s a good sign the stream is from your custom STT model.
Here’s a little snippet in JavaScript to help you check:
room.registerTextStreamHandler('lk.transcription', async (reader, participantInfo) => {
const message = await reader.readAll();
if (reader.info.attributes['lk.transcribed_track_id']) {
console.log('Transcription from default STT');
} else {
console.log('Transcription from custom STT');
}
});
If you have any questions or want me to walk you through it, just let me know—I’m here to help!