I'm sorry to hear you're experiencing intermittent issues where the agent can't hear participants. Let's work through this together! Here are a few steps that might help:
• First, please make sure the agent is set up correctly to subscribe to the participant's audio. For instance, explicitly setting the participant identity or participant kinds in the configuration can make a big difference.
• It’s also a good idea to check that noise cancellation and echo cancellation are enabled to keep the audio clear and crisp.
• Take a moment to verify the agent's connection and confirm it’s subscribing to the right audio tracks.
• Sometimes, resource contention or network hiccups can cause these intermittent issues, so keeping an eye on those could help.
• Reviewing logs and diagnostic data can also reveal patterns or specific moments when the problem happens.
If you can share a bit more detail—like whether this occurs with certain participants or in particular situations—I’d be happy to guide you further and find a solution together.
Sources: SIP troubleshooting guide | LiveKit Docs | examples/src/basic_agent.ts | Troubleshooting & Common Issues | livekit/livekit_composite | DeepWiki | Operational Guidance & Best Practices | livekit/livekit_composite | DeepWik... | Community & Support | livekit/livekit_composite | DeepWiki