feat: add translation support to transcription API#3640
Open
raviteja83 wants to merge 13 commits intomainfrom
Open
feat: add translation support to transcription API#3640raviteja83 wants to merge 13 commits intomainfrom
raviteja83 wants to merge 13 commits intomainfrom
Conversation
- Add language and translation params to startTranscription() - Add updateTranscriptionConfig() action for runtime translation toggle - Add TranslationConfig and TranscriptionConfigUpdate interfaces - Add transcription-config-update signal method Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…interfaces Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Allows SDK consumers to read translation state from room state when biz broadcasts it (requires biz-side change to populate). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Maps translation field from TranscriptionNotification to HMSTranscriptionInfo so SDK consumers can read current translation state (enabled, roleLanguages) from room.transcriptions. Requires biz to include translation in room state broadcast. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Checkbox to enable translation on caption start - JSON textbox for roleLanguages mapping - Enable/Disable Translation buttons when captions are running - Uses updateTranscriptionConfig for runtime toggle Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Append ?qa to the URL to use QA endpoints instead of prod. e.g., http://localhost:3000/meeting/abc-def?qa Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
f75217c to
ae625a8
Compare
…signal Only send language and translation when explicitly provided to avoid sending undefined values over the wire. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge translation state into room transcriptions when config update notification is received, so store.getState() stays in sync. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Store objects are immutable (frozen by Immer). Use spread to create new transcription objects instead of mutating in place. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove QA-specific endpoint hardcoding and testing-only translation toggle UI. These were for internal testing only. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
cyril-k-031225
previously approved these changes
Apr 8, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Cherry-pick CI workflow fixes and yarn.lock from ci/release-abdca1f00. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
translationfield toHMSTranscriptionInfofor room stateTranslationConfigandTranscriptionConfigUpdateinterfacesupdateTranscriptionConfig()action for runtime translation toggleon-transcription-config-updatenotification to update storeTest plan
room.transcriptions[].translationin storeupdateTranscriptionConfig🤖 Generated with Claude Code