colossal-lock-10836
07/27/2025, 5:09 PMtall-airline-16756
07/27/2025, 5:09 PMtall-airline-16756
07/27/2025, 5:10 PMagent_name
in your WorkerOptions, agents will not be automatically dispatched to new rooms. In this case, you need to explicitly dispatch the agent using the AgentDispatchService API or configure dispatch in the participant's access token.
• No Available Workers: If no workers are registered and available when the room is created, there will be no agents to dispatch.
• Connection Failures: Network connectivity issues can prevent agents from successfully joining rooms. Agents may need to make multiple reconnect attempts to establish a connection.
To resolve this issue, please check the following:
1. Ensure that workers are properly registered and available when rooms are created.
2. Verify your dispatch configuration, especially if you are using explicit dispatch settings.
3. Check for any network connectivity issues that might be affecting the agent's ability to join the room.
4. Monitor connection events and provide appropriate feedback to users if agents fail to join.
If you need further assistance, let me know the specific configuration or error messages you are encountering, and I can provide more targeted guidance.
Sources: README.md | Dispatching agents | LiveKit Docs | pkg/loadtester/agentloadtester.go | Web and mobile frontends | LiveKit Docs