Overview of LiveKit Egress capabilities
mainLiveKit Egress provides APIs to export LiveKit sessions and tracks to various protocols and storage formats. It solves interoperability challenges by allowing you to store sessions for playback, relay streams to CDNs, or process tracks through external services.
There are four primary egress types:
- Room composite: Exports an entire LiveKit room.
- Web egress: Recordings not attached to a single LiveKit room (uses a supplied URL).
- Track composite: Exports synchronized tracks of a single participant.
- Track egress: Exports individual tracks.
Depending on the request, Egress uses either a Chrome instance with a web template (for room composite) or a supplied URL (for web requests), or the Go SDK directly (for track and track composite requests). The service uses GStreamer to automatically transcode streams when moving between protocols, containers, or encodings.