blue-account-81612
07/12/2025, 11:06 AMtall-airline-16756
07/12/2025, 11:06 AMtall-airline-16756
07/12/2025, 11:07 AMstartTime
and endTime
fields on each transcription segment. These timestamps indicate when the segment (or "sentence") begins and ends, and are available in all supported SDKs:
• TypeScript/JavaScript: startTime: bigint
, endTime: bigint
• Python: start_time: int
, end_time: int
• Go: StartTime uint64
, EndTime uint64
By iterating through your segments, you can log or use these timestamps as needed for synchronization or analysis:
// Example in TypeScript
segments.forEach(segment => {
console.log(`Start: ${segment.startTime}`);
console.log(`End: ${segment.endTime}`);
});
LiveKit Components also offer enhanced timestamp handling—such as receivedAtMediaTimestamp
(media timestamp when received client-side) and receivedAt
(actual receive time)—for even more precise tracking if required.
If you need details about using these fields in a specific SDK, please specify your language or implementation context.
Sources: packages/livekit-rtc/src/proto/room_pb.ts | livekit-rtc/livekit/rtc/transcription.py | packages/core/src/helper/transcriptions.tsblue-account-81612
07/12/2025, 11:08 AMtall-airline-16756
07/12/2025, 11:09 AM