Closed ksingh-scogo closed 2 months ago
When i am running the above with OpenAI TTS code, it does not throws the above error (at least) and works when a single user simulates the conversation with AI Agent.
However with that if multi user starts their separate conversation the OpenAI TTS also breaks, for this i have created another issue #365
Hey, thanks for the report, it seems like 11labs is returning odd frame sizes (or maybe the mp3 decoder). I'll investigate asap!
what do you mean if multi user starts their separate conversation
? can you provide an example?
what do you mean
if multi user starts their separate conversation
? can you provide an example?
So a single user accessing the frontend https://agents-playground.livekit.io/ works fine .
The next test is if i make this link public and have several user go to the frontend link and initiate conversation.
In my test User-1 : MacOS Chrome User-2 : Iphone Safari User-3 : Android Chrome
This is what i mean by if multi user starts their separate conversation
and its breaking atm
Happy to work with you in testing this and fixing it.
Love Livekit BTW
Hey, thanks for the report, it seems like 11labs is returning odd frame sizes (or maybe the mp3 decoder). I'll investigate asap!
@theomonnom it believe it too, do you want me to try some parameter that you believe could be worth trying ? Happy to help and troubleshoot this with you
@theomonnom I'm having the same issue (TypeError: memoryview: length is not a multiple of itemsize
) , did you find a solution?
@ZanSara not very sure if i found a clean solution , however it started to work as i added more dollars to Elevenlabs account. So check if your Elevenlabs account have enough balance.
I believe this is an issue when elevenlabs returns a non-audio body. For example, when you have reached a limit on your price tier. Closing this issue and adding a ticket on our end to expose better logs for this case.
Setup
Frontend : https://agents-playground.livekit.io/ with Livkit Cloud Connected to a project in LiveKit Cloud account Livkit Server : via LiveKit Cloud Agent main.py file below
Error