bulky-wall-61623
09/16/2025, 6:16 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}`);
}
});
とした時にmessageが読み取れるのが遅く、sttが喋り出した後に表示されてしまうtall-airline-16756
09/16/2025, 6:16 PMtall-airline-16756
09/16/2025, 6:17 PMreadAll(), readNext(), or streaming with for await?
• Is the delay happening all the time, or just in certain situations (like with large messages or network issues)?
• Which LiveKit SDK and version are you working with?
• Have you noticed any errors or exceptions popping up when you receive messages?
Looking forward to your details so we can get this sorted together! Sources: packages/livekit-rtc/src/room.ts | livekit-android-test/src/test/java/io/livekit/android/room/datastream/RoomI... | test/core/data_stream_test.dart | packages/core/src/components/chat.ts | examples/demo/demo.tsbulky-wall-61623
09/16/2025, 6:17 PMtall-airline-16756
09/16/2025, 6:18 PM