echoing-receptionist-3097
08/07/2025, 7:02 AMtall-airline-16756
08/07/2025, 7:02 AMtall-airline-16756
08/07/2025, 7:03 AM~/livekit-egress
directory on your host machine to /out
inside the container.
2. Configure the Egress Service:
Create a configuration file (config.yaml
) specifying the local directory for file storage:
`# Required fields
api_key: livekit_server_api_key
api_secret: livekit_server_api_secret
ws_url: ws://livekit-server-url:7880
redis:
address: redis-server-address:6379
# Local storage configuration
storage:
local:
path: /out/recordings`Replace /out/recordings
with your desired local path and ensure the directory has write permissions.
3. Start the Egress Service with the Configuration:
Run the Egress service with the configuration file:
docker run --rm \
-e EGRESS_CONFIG_FILE=/out/config.yaml \
-v ~/livekit-egress:/out \
livekit/egress
By following these steps, you can store recordings locally. Let me know if you need further assistance!