Currently, LiveKit does not support hosting custom agents directly on their cloud servers. You need to deploy your agent on your own server or cloud infrastructure. For better performance, it's recommended to deploy your agent service in locations where LiveKit cloud services are already available, to minimize latency (
source).
Regarding the disconnection issue in your self-hosted setup, ensure that your server is properly configured with the necessary network settings, such as open ports and correct firewall rules. Additionally, check that your LiveKit server and client SDKs are up-to-date, and consider using TURN servers to improve connectivity (
source).
Would you like more detailed troubleshooting steps?
Sources:
-
https://docs.livekit.io/home/self-hosting/deployment/#Configuration 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.