We started a room-composite, audio-only egress recording for a room. While the room was still active (participants still connected, not yet deleted), the egress finished on its own with status: EGRESS_COMPLETE and details: "End reason: Source closed" — so the recording stopped early and only captured part of the session.
Trying to understand why an egress’s source would close / why the egress completes while the room is still live.
Identifiers (LiveKit Cloud):
- Egress ID:
EG_uQZWiVdrzcrv - Room ID:
RM_AEHtKQVHsoyK - Project ID -
p_3tqm7ro6kbs
The egress_ended webhook we received:
{
"event": "egress_ended",
"egressInfo": {
"egressId": "EG_uQZWiVdrzcrv",
"roomId": "RM_AEHtKQVHsoyK",
"sourceType": "EGRESS_SOURCE_TYPE_SDK",
"status": "EGRESS_COMPLETE",
"roomComposite": {
"audioOnly": true,
"audioMixing": "DUAL_CHANNEL_AGENT"
}
}
}
The EgressInfo from the API additionally shows:
status: EGRESS_COMPLETE
details: "End reason: Source closed"
Question: for a room_composite + audioOnly egress, what causes “End reason: Source closed”, and why would the egress complete while the room is still active rather than continuing until the room ends? Is there a way to keep the recording going for the full lifetime of the room?
Can someone from the LiveKit team look up egress EG_uQZWiVdrzcrv / room RM_AEHtKQVHsoyK and confirm the cause?
Thanks!