Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/core/src/components/textStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ export function setupTextStream(room: Room, topic: string): Observable<TextStrea
textStreams[index] = {
...textStreams[index],
text: accumulatedText,
// Carry the latest streamInfo forward. Transcription updates for a
// segment arrive as separate streams sharing the same lk.segment_id;
// keeping the original streamInfo would freeze attributes that change
// over the segment's lifetime — notably lk.transcription_final flipping
// "false" -> "true" on the final user STT result.
streamInfo: reader.info,
};

// Emit the updated array
Expand Down
Loading