You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ElevenLabs room captions never start when the room's spoken language isn't set #1415
What happens: a room uses ElevenLabs for its captions and the language spoken on the floor is left unset (the room page says "Speakers use a language not set yet"). The caption worker turns that into an empty language (worker.py#L135-L137) and the ElevenLabs provider puts it in the URL as language_code= (elevenlabs.py#L88). ElevenLabs refuses that session, so the room gets no captions at all, and translation and AI voice for that room get nothing either.
What should happen: with no language set, leave language_code out of the URL. ElevenLabs then detects the language itself, which is what its own error message asks for.
Repro: open the same realtime URL the provider builds, once with language_code= empty and once with en.
language_code='' -> invalid_request | Invalid language code received: ''. Please leave blank if you want to automatically detect the language or use one of: ...
language_code=en -> session_started
The fix is one line in how the URL is built. #1413 moves that into build_realtime_url and still sends the empty value, so I'd fix it there once #1413 lands, or on dev first if you prefer.
I'd like to work on this issue. I'll investigate the ElevenLabs realtime URL construction, ensure language_code is omitted when the room's spoken language is unset, and add regression tests for both unset and explicitly configured languages. I'll coordinate the change with the ongoing #1413 work to avoid conflicts.
Hi @bhavya70020, thanks for your interest in contributing to VoxBento!
We don't assign issues to external or new contributors in this repository. Anyone is welcome to work on open issues without waiting for an assignment.
Please check this issue thread and existing pull requests to ensure nobody else is actively working on it, leave a comment stating you are working on it, and feel free to submit a pull request when ready!
Activity
bhavya70020 commentedon Nov 29, 2026
I'd like to work on this issue. I'll investigate the ElevenLabs realtime URL construction, ensure
language_codeis omitted when the room's spoken language is unset, and add regression tests for both unset and explicitly configured languages. I'll coordinate the change with the ongoing #1413 work to avoid conflicts.github-actions commentedon Nov 29, 2026
Hi @bhavya70020, thanks for your interest in contributing to VoxBento!
We don't assign issues to external or new contributors in this repository. Anyone is welcome to work on open issues without waiting for an assignment.
Please check this issue thread and existing pull requests to ensure nobody else is actively working on it, leave a comment stating you are working on it, and feel free to submit a pull request when ready!