Skip to content

Commit

Permalink
set received time
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasIO committed Aug 14, 2024
1 parent ba9ac3f commit ff4eaa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/room/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,8 @@ export function extractTranscriptionSegments(
const lastReceivedTime = Date.now();
if (final) {
firstReceivedTimesMap.delete(id);
} else {
firstReceivedTimesMap.set(id, firstReceivedTime);
}
return {
id,
Expand Down

0 comments on commit ff4eaa9

Please sign in to comment.