Hi there, I'm working on using Retell from an iOS app. I'm connecting to the Websocket directly and using AVAudioEngine to play the PCM data Retell sends down, and then using it to encode the microphone input into PCM data and send it back up the Websocket.
The problem I'm running into is that the Retell agent often seems to have difficulty understanding me. When I play back the audio from the call on
https://beta.retellai.com/dashboard/history it's clear that the reason for this is that my microphone input seems to be a very low volume and is barely discernible.
However, when I output the exact same PCM data to a raw audio file and convert it into an MP3, I don't have this issue. The volume is perfectly fine.
Any idea what might be wrong here or what I can do to help debug this? Thank you!