I am trying to save the recording of an entire roo...
# ask-ai
m
I am trying to save the recording of an entire room, audio only, as an mp4 file in an s3 compatible storage system. The room will only have 2 participants, the AI agent and the user. Can you give me an example of how I would use RoomCompositeEgress to do this with the Agent framework
t
Thanks for reaching out, Austin. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To save an audio-only recording of an entire room as an MP4 file in an S3-compatible storage system using RoomCompositeEgress, you can set the
audio_only
parameter to
True
. Additionally, you will need to configure the S3 storage settings appropriately. Unfortunately, the exact implementation details for combining these settings with the Agent framework are not available in the documentation. If you need further assistance or a detailed example, please let me know, and I can escalate this to a specialist for more in-depth support. Sources: Recording agent sessions | LiveKit Docs | RoomComposite Egress | LiveKit Docs
m
I'm using
python agent.py dev
to start the agent service locally for development, how can I start the egress service in dev as well?
t
It seems that the documentation does not provide specific instructions for starting the egress service in development mode alongside the agent service using
python agent.py dev
. You may need to check if there is a separate command or configuration required for the egress service. If you need further assistance, I can escalate this to a specialist to provide more detailed guidance. Please let me know how you'd like to proceed.