Skip to content

feat(room-io): add json_format option for timed transcription output#5472

Draft
longcw wants to merge 1 commit intomainfrom
longc/json-text-output
Draft

feat(room-io): add json_format option for timed transcription output#5472
longcw wants to merge 1 commit intomainfrom
longc/json-text-output

Conversation

@longcw
Copy link
Copy Markdown
Contributor

@longcw longcw commented Apr 17, 2026

Summary

  • Add json_format field to TextOutputOptions for the room text output chain
  • When enabled, each transcription chunk published on the lk.transcription datastream topic is a JSON object with text, and start_time/end_time if the chunk is a TimedString

needs livekit/protocol#1502

Adds `json_format` to `TextOutputOptions` so the transcription stream on
the `lk.transcription` topic emits each chunk as a JSON object with
`text` and optional `start_time`/`end_time` fields when the chunk is a
`TimedString`. This makes it easier for clients to consume TTS-aligned
timed transcripts.
@chenghao-mou chenghao-mou requested a review from a team April 17, 2026 02:19
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 4 additional findings.

Open in Devin Review

@longcw longcw marked this pull request as draft April 17, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant