I'm glad you're interested in hosting LiveKit SIP and LiveKit Server within your data center! Let me walk you through the detailed hardware and software requirements to make sure everything goes smoothly:
LiveKit Server Requirements:
•
Hardware: You'll want compute-optimized hardware with 10 Gbps Ethernet or faster to handle high bandwidth demands. Using host networking is best for optimal performance, especially in Dockerized environments.
•
Software: You'll need Redis for state synchronization, a valid SSL certificate for HTTPS termination, and you can deploy using Docker, Kubernetes, or native binaries—whichever fits your setup best.
LiveKit SIP Server Requirements:
•
Hardware: This server communicates with the LiveKit Server and needs access to the same Redis instance. Make sure the SIP signaling port (5060) and media port range (10000-20000) are accessible for smooth operation.
•
Software: For building from source, Go version 1.18 or higher is required, along with libraries like libopus and libsoxr. Deployment options include Docker Compose, native execution, or Docker with host networking—choose what works best for you.
Additional Considerations:
• For media processing, the Ingress service should have at least 4 CPUs and 4 GB of memory per instance. Keep in mind that scaling will depend on video resolution and layers.
• Ensure your firewall rules allow SIP and RTP port ranges, and that public IPs are available for SIP service connectivity.
Call Capacity: While specific call capacity for self-hosted deployments isn't documented yet, LiveKit Cloud supports up to 100,000 simultaneous participants per session. For your self-hosted setup, capacity will depend on CPU, bandwidth, and network configuration. I recommend load testing to find the best scaling approach for your needs.
If you have any questions or need help with your deployment, please don’t hesitate to reach out. I’m here to support you every step of the way!
Sources:
Self-hosted SIP server | LiveKit docs |
pkg/sip/server.go |
Self-hosting the Ingress Service | LiveKit docs |
delay-handling/raw_data.txt |
Deploying LiveKit | LiveKit Docs