KoljaB / AIVoiceChat

Low latency ai companion voice talk in 60 lines of code using faster_whisper and elevenlabs input streaming
220 stars 41 forks source link

Twilio Integration #5

Open molgit opened 9 months ago

molgit commented 9 months ago

Hi @KoljaB,

The bot is indeed very fast! But when adding Twilio (phone call) the response is very slow since the audio needs to be downloaded from Twilio servers. Have you played around with Twilio and know how to make it work that it will give low latency responses? Maybe there are alternatives which can handle a phone call super fast?

Highly appreciate your response.

Best

KoljaB commented 9 months ago

Tried phone call stuff some months ago but kinda failed. Guess I should give it another try. I know basically nothing about twilio yet. I was suggested to look into vocode project recently. Maybe that one is worth to watch, idk.

molgit commented 9 months ago

Tried phone call stuff some months ago but kinda failed. Guess I should give it another try. I know basically nothing about twilio yet. I was suggested to look into vocode project recently. Maybe that one is worth to watch, idk.

Thanks for the hint with vocode. I was playing around with it and it seems to work not bad with the initial tests.