can we record only the user speech in egress
# ask-ai
b
can we record only the user speech in egress
t
Thanks for reaching out, Akash. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It seems that the knowledge base does not provide specific details on recording only the user's speech during egress. Typically, LiveKit's recording setup captures the entire room, including all participants and interactions. If you have a specific use case or technical setup in mind, could you please share more details? This will help us provide more tailored guidance or escalate your query to a specialist if needed.
b
in my room user and agent joins, i'm already using egress to record the room session but i also want another video of just the user part
t
Hey there! I totally get that you want to record just the user's part of your room session. Let me walk you through Participant Egress - it's actually pretty straightforward and super helpful. • The Egress service will hop into the room and wait for your specific participant to join and start sharing their audio or video. • Recording kicks off automatically the moment they publish their tracks - how cool is that? • Don't worry about track state changes like muting - the service has got you covered and handles all that automatically. • And when the user leaves the room, the recording wraps up seamlessly. Pro tip: If you want to capture their screen share and screen share audio too, just pass
screen_share=true
when starting the Egress. Easy peasy! If you're looking for even more detailed control, TrackComposite Egress lets you pick exactly which tracks to record, though you'll need to have those tracks published first. Need any help putting this together? I'm right here and happy to help you work through the details! 😊 Sources: Recording Participants | LiveKit Docs
b
can they both happen together
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!