can you check what is going wrong with my egress a...
# ask-ai
l
can you check what is going wrong with my egress and present a fix for me?
t
Thanks for reaching out, James. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
The errors "Egress Aborted" with "End reason: StopEgress API" and "Start signal not received" occur when an egress is stopped before it can properly start, often because it is waiting for a start signal that never arrives or the source is unavailable. To resolve this issue, follow these steps: • Check Start Signal Configuration: If you are using Web Egress and have
await_start_signal
set to true, ensure your application sends the required start signal. If you do not need to wait for a signal, set
await_start_signal
to false. • Verify Source Availability: Make sure the room exists and has active participants, or that the target participant/track is present and publishing if using participant or track egress. • Timing Considerations: Avoid stopping the egress immediately after starting it. Allow enough time for the egress to initialize and receive necessary signals. • Monitor Egress Status: Use the ListEgress API to check that the egress is in the
EGRESS_ACTIVE
state before issuing a stop command. Do not stop egresses that are still in
EGRESS_STARTING
. • Review Request Configuration: Double-check your egress request for valid room names, participant identities, output configurations, encoding settings, and permissions. Addressing these points should resolve the issue with your egress process. If you need more specific troubleshooting, please provide details about your egress configuration and workflow. Sources: livekit/livekit_egress.twirp.go | pkg/handler/handler_rpc.go | lib/livekit/proto/livekit_egress_pb.rb | livekit-api/livekit/api/egress_service.py