Repository navigation
feat(voice): client keys the call by roomId — session_id == room_id (#193 slice B) - #2103
Merged
Merged
Conversation
…n the wire (#193 slice B) The bridge is the one choke point that knows both ids, so the collapse lands here: voiceRegisterSession sends roomId on BOTH wire fields (the LiveKit call IS the airc room, no parallel identity), AIAudioBridge joins AIs under the same canonical id, and a session→room map translates the verbs that still receive the browser-tab sessionId (onUtterance, endSession) to the canonical call id. The server's slice-A alias layer (PR #2095) still backstops unknown ids; a client that sends the canonical id is the cutover — the server's MIRROR ROOM probe going silent is this slice's done-signal. Continues the CallManager-keyed-by-RoomId direction from PR #2005. Legacy tree carries 549 pre-existing tsc errors (the #83 path-drift debt, incl. this file's line-9 RustCoreIPC import); this change adds none. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
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
The legacy voice bridge now sends
roomIdas the call identity on every call-scoped wire verb: register usessession_id == room_id(the LiveKit call IS the airc room), AI audio joins key by the same canonical id, and a session→room map translatesonUtterance/endSessionwhich still receive the browser-tab session. The slice-A server alias layer (#2095) backstops unknown ids; the server's MIRROR ROOM probe going silent on the next live call is the done-signal.Notes
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo