github.com/livekit/livekit ↗
End-to-end realtime stack for connecting humans and AI
Open this visualization on its own page →
Contributors
26
Lines of Code
5,461
From
2020-09-30
To
2022-05-31
About livekit/livekit
LiveKit is an open-source, scalable media server for building real-time video, audio, and data applications. Written in Go and built on the Pion WebRTC library, it implements a Selective Forwarding Unit (SFU) architecture that allows multiple participants to communicate efficiently in a single session. The platform handles all the complex networking requirements including UDP/TCP/TURN connectivity, JWT authentication, and supports deployment as a single binary, Docker container, or Kubernetes cluster.
The project provides a complete ecosystem of client SDKs across multiple platforms including JavaScript/TypeScript, Swift, Kotlin, Flutter, React Native, Rust, and Unity, enabling developers to build interactive real-time experiences on web, mobile, and desktop. On the server side, SDKs are available for Go, JavaScript, Ruby, Java, Python, and PHP to handle token generation, API calls, and webhook management. The platform includes sophisticated features like speaker detection, simulcast, selective subscription, end-to-end encryption, SVC codecs (VP9, AV1), and moderation APIs.
Beyond the core server, LiveKit maintains a broader ecosystem including Agents for building AI-powered multimodal applications, Egress for recording and exporting streams, and Ingress for accepting external sources like RTMP and HLS. The project targets developers building conferencing applications, livestreaming platforms, and AI voice assistants, with live demos available including a Meet clone and ChatGPT-powered voice assistant. LiveKit Cloud offers a managed hosting option, while self-hosting documentation supports distributed and multi-region deployments.