great-monkey-7084
03/26/2025, 8:45 AMtall-airline-16756
03/26/2025, 8:45 AMtall-airline-16756
03/26/2025, 8:45 AMhelm repo add livekit <https://helm.livekit.io>
3. Create a values.yaml
file for your deployment, using egress-sample.yaml as a template. Note: Each egress instance can record one room at a time, so either enable autoscaling or set replicaCount
to be greater than or equal to the number of rooms you’ll need to simultaneously record.
4. Install the Helm chart: helm install <instance_name> livekit/egress --namespace <namespace> --values values.yaml
5. To update your installation when new versions are released: helm repo update
helm upgrade <instance_name> livekit/egress --namespace <namespace> --values values.yaml
If you need further assistance, feel free to ask!
Sources: Self-hosting the Egress Service | LiveKit Docsgreat-monkey-7084
03/26/2025, 8:50 AMtall-airline-16756
03/26/2025, 8:51 AMreplicaCount
to match the number of rooms you need to record simultaneously.
If you need further details or assistance with specific configurations, feel free to ask!
Sources: Self-hosting the Egress Service | LiveKit Docs | Egress Overview | LiveKit Docs | Auto Egress | LiveKit Docsgreat-monkey-7084
03/26/2025, 8:51 AMtall-airline-16756
03/26/2025, 8:51 AMRoomCompositeEgressRequest
to specify room name, layout, encoding preset, and configure segment outputs with upload credentials.
For detailed implementation, you may need to refer to the LiveKit documentation or API examples. If you need further assistance, feel free to ask!
Sources: Auto Egress | LiveKit Docs | Recording agent sessions | LiveKit Docsgreat-monkey-7084
03/26/2025, 9:06 AMtall-airline-16756
03/26/2025, 9:07 AMvalues.yaml
file when deploying LiveKit Egress using Helm. This approach is more declarative and suitable for predefined setups.
2. Writing Custom Code: You can use the LiveKit API to programmatically control recording. This method provides more flexibility and allows you to customize recording behavior dynamically based on your application’s requirements.
Each method has its use cases, and the choice depends on your specific needs. If you need further clarification or assistance, feel free to ask!great-monkey-7084
03/26/2025, 9:07 AMtall-airline-16756
03/26/2025, 9:08 AMlog_level: debug
api_key: your-api-key
api_secret: your-api-secret
ws_url: <ws://192.168.65.2:7880>
insecure: true
redis:
address: 192.168.65.2:6379
To run the service with this configuration:
docker run --rm \
--cap-add SYS_ADMIN \
-e EGRESS_CONFIG_FILE=/out/config.yaml \
-v ~/livekit-egress:/out \
livekit/egress
2. Custom Code
For custom code, you can use the LiveKit API to programmatically control recording. This involves creating a RoomCompositeEgressRequest
to specify room name, layout, encoding preset, and configure segment outputs with upload credentials. This approach provides flexibility for dynamic recording setups.
If you need further details or examples for either approach, feel free to ask!
Sources: Self-hosting the Egress Service | LiveKit Docs | Egress Overview | LiveKit Docsgreat-monkey-7084
03/26/2025, 10:49 AMtall-airline-16756
03/26/2025, 10:49 AM