Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket audio format is different on signed URL #126

Open
fire015 opened this issue Jan 30, 2025 · 0 comments · May be fixed by #132
Open

Websocket audio format is different on signed URL #126

fire015 opened this issue Jan 30, 2025 · 0 comments · May be fixed by #132

Comments

@fire015
Copy link

fire015 commented Jan 30, 2025

We are using the agent websocket and connecting it to Twilio based off the code here - https://github.com/elevenlabs/elevenlabs-examples/tree/main/examples/conversational-ai/twilio/javascript

When audio data is received from ElevenLabs, we pass it onto Twilio and this plays the audio over the phone.

This works fine, unless you enable authentication on the agent. When receiving audio data from the signed URL and passing it onto Twilio it does not play over the phone (we still see the agent_response event).

I suspect the format of the audio is coming in different over a signed URL vs non signed.

Agent TTS output format is set to u-law 8000.

Please can you investigate and let us know so that we can connect to agents securely.

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 a pull request may close this issue.

1 participant