I want to record single track from the user to red...
# ask-ai
s
I want to record single track from the user to reduce the recording cost, can i record thw camera and screen share or that is room composite ?
t
Thanks for reaching out, Mostafa. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I see you want to record camera + screen share as a single track to reduce recording cost, and you’re asking whether that would be a room composite. Short answer: You cannot record camera and screen share as a single raw track without composing them first. Recording them together (e.g., picture‑in‑picture or side‑by‑side) requires rendering a composition, which is a Room Composite egress and will be billed as such. Details and cost implications: • Each published source (camera, screen share) is a separate track in LiveKit. Recording a single raw track is possible via Track Egress, but that records the original track only (camera OR screen), not both combined. • To produce one video that contains both camera + screen (a combined layout), LiveKit uses Room Composite egress (a headless browser renders the layout and produces one composed output). That composition incurs transcoding/composition costs. • If your priority is minimizing cost, record each track separately with Track Egress (lower cost, no composition/transcoding) and keep the files as raw tracks. Then you can decide later whether to compose them offline (which you would do outside LiveKit if you want to avoid Room Composite costs). If helpful, I can: • Walk you through configuring Track Egress to record a camera track and a screen track separately. • Show how to request a Room Composite if you decide composition is required (and explain the layout options). • Help you pick the most cost-effective format/settings for your use case. Which would you like next — instructions for Track Egress setup, or details on Room Composite layout and pricing trade-offs? Sources: Universal Egress | Understanding and Estimating Pricing for Video Conference and Livestream Us...