Let me walk you through the differences between Track Egress, Room Composite Egress, and Web Egress in LiveKit, so you can find the best fit for your needs:
•
Track Egress: This option exports a single audio or video track without any transcoding, which makes it both efficient and cost-effective. It’s perfect when you need individual tracks, like for transcription or direct storage. The supported formats depend on the codec you’re using (for example, MP4 for H.264).
•
Room Composite Egress: This captures a combined view of the entire room, including all participants and their interactions. It uses headless Chromium to render the output and allows for custom layouts. This is a great choice if you want to create session archives or live stream with a layout that looks just like your application experience.
•
Web Egress: This records or streams any website using headless Chromium, and it works independently of LiveKit room lifecycles. It supports many output formats and is especially useful for capturing web content outside of LiveKit, such as dashboards or webinars, for streaming or storage.
In summary, Track Egress is your go-to for efficiency when transcoding isn’t needed, while Room Composite and Web Egress are wonderful for composited or external content, though they do require more computing resources. If you have any questions or want to explore which one suits your project best, I’m here to help!
Sources:
Docs::Home |
Track egress | LiveKit Docs |
Composite and web recordings | LiveKit Docs |
RoomComposite Egress | LiveKit Docs |
Recording and composition | LiveKit Docs