Hi everyone,
We’ve been noticing intermittent issues in our LiveKit agent setup where user messages are not being captured during conversations. The agent did not respond in certain cases, and upon reviewing the logs, we found no events for STT (speech-to-text) or EOU (end-of-utterance) during those instances.
Here’s an overview of our setup:
• Calling setup: Using
phone.com with Vonage numbers.
• LiveKit infrastructure: Worker running on Kubernetes.
• Integrations used in the agent: Azure OpenAI LLM, Azure TTS, Deepgram STT; VAD (voice activity detection) : with background noise cancellation enabled.
We’re wondering if this could potentially be:
• A provider-side issue,
• A VAD-related issue, or
• If the background noise cancellation model might be suppressing the user’s audio unintentionally?
We haven’t logged VAD metrics since they are recurring and might be overwhelming to monitor continuously.However, we’re considering whether adding them could help with debugging the issue.
Additionally, I’d like to know: what is the best way to debug this type of issue? Are there specific metrics or logs we should focus on, or best practices for isolating the problem?
We’ve already logged most key events and are planning to introduce user and agent state events for deeper traceability.
Would greatly appreciate any insights or suggestions if anyone has faced something similar!
Thank you! 🙏
@dry-elephant-14928 @refined-appointment-81829