how can I create a separate recording for each spe...
# ask-ai
m
how can I create a separate recording for each speaker?
t
Thanks for reaching out, Daniel. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'd be happy to help you create a separate recording for each speaker in LiveKit! You have a couple of great options to choose from: • Participant Egress: This is a straightforward way to record a participant's audio and video tracks by specifying their participant identity. It’s really convenient because it automatically starts recording when the participant shares their tracks and stops when they leave the room. Plus, if you want to include screen shares, just set
screen_share=true
when you start the egress. • TrackComposite Egress: This method is a bit more advanced and lets you pick exact audio and video track IDs to record. You can find these track IDs using LiveKit’s Server APIs or Webhooks. Just keep in mind that the tracks need to be published before you start the egress. Both of these methods offer a variety of output options, like different file formats and streaming destinations, so you can tailor it to your needs. For some detailed examples and guidance, I recommend checking out the Egress examples documentation. If you have any questions along the way, feel free to reach out—I’m here to help! Sources: Docs::Home | Universal Egress