mammoth-xylophone-59929
11/13/2025, 7:56 AMAborted with error: Start signal not received and details as End reason: Source closed
Type is composite
It is happening intermittently for same configurations for calls with varying duration
How does this error occur??tall-airline-16756
11/13/2025, 7:56 AMtall-airline-16756
11/13/2025, 7:56 AMAborted with Start signal not received and End reason: Source closed can be frustrating. This usually happens when the egress pipeline doesn’t get the expected start signal before the source—like a room or web session—closes. It’s quite common in room composite egress scenarios where the system waits for a start condition, such as a participant joining, but the room ends before that happens.
Here are some friendly tips to help you resolve this:
• Keep the room active: Try to start egress only after you’re sure the room is active and participants have joined.
• Avoid delayed start signals: Just a heads up, room composite egress doesn’t support await_start_signal. If you need conditional recording, using web egress with await_start_signal=true might be a better fit.
• Check the room lifecycle: Make sure there’s enough time between when the room is created, participants enter, egress starts, and the room closes.
• Keep an eye on egress status: You can use the ListEgress or GetEgress API to monitor the egress lifecycle and spot any issues early on.
• Review your configurations: Double-check that your egress requests have the correct room names and outputs configured properly.
If you’re still running into trouble, trying out simpler configurations can sometimes make it easier to pinpoint what’s going on. I’m here to help you through this, so please don’t hesitate to reach out if you need more guidance!
Sources: pkg/service/egress.go | test/edge.go | livekit/livekit_egress.go | livekit-protocol/livekit/protocol/egress.pyi | packages/livekit-server-sdk/src/EgressClient.tsmammoth-xylophone-59929
11/13/2025, 8:06 AMtall-airline-16756
11/13/2025, 8:07 AMStartRoomCompositeEgress.
• Retry logic: Implementing retries with exponential backoff for egress initiation can be a great way to handle transient failures gracefully.
• Review logs: Taking a look at server and egress service logs can reveal network drops, resource constraints, or other anomalies that might be causing issues.
• Webhook notifications: Using webhooks or APIs like ListEgress to monitor egress state transitions can help detect failures early and keep you informed.
These steps should really help in mitigating those intermittent failures. Please don’t hesitate to reach out if you’d like any help with implementation or debugging—I’m here to support you every step of the way!
Sources: cmd/lk/egress.go | livekit/livekit_egress.twirp.go | pkg/pipeline/controller.go | livekit-protocol/livekit/protocol/egress.pyi | packages/livekit-server-sdk/src/EgressClient.ts