We’re investigating a LiveKit Cloud room-composite recording startup failure using a custom recording template.
Job details
Egress ID: EG_UFvpTbSa3R6Q
Date: October 5, 2026
Time window: approximately 21:21:49–21:22:29 UTC
Final status: EGRESS_ABORTED
Error: 412: Start signal not received
End reason: StopEgress API
File results: empty
Our application waits approximately 40 seconds for recording readiness before admitting the broadcaster. When readiness was not reached, our application called StopEgress. That explains the stop, but we need help identifying why startup did not complete beforehand.
The custom template is designed to emit START_RECORDING after connecting to the expected LiveKit room, even before a publisher joins. Local browser tests pass, but they do not establish what happened inside the Cloud recorder for this job.
Could someone from LiveKit inspect the internal egress logs and confirm:
Did the recorder successfully load the custom template and its JavaScript assets?
Were there browser console errors, failed network requests, or LiveKit connection/authentication failures?
Was START_RECORDING received at any point?
Was any recording output generated, including temporary or backup output? If none exists, could you explicitly confirm that nothing remains recoverable?
This affected one development recording attempt; we have not established a wider service outage. We can provide additional configuration details privately if needed.
Hi, That 412 error indicates that your custom template is not calling startRecording(), for some reason.
I see your call to StartCompositeEgress() in the server logs, so, it looks like the template was loaded, but I don’t have visibility into the console errors that would have led to the failure at step 2.
I see previous successful egresses, so assuming nothing has changed in your template, I’m not sure what the root cause might be. We do have a template tester which would be a good first step: Custom recording templates | LiveKit Documentation.
Thanks for checking. We’ve now reproduced the issue in a fresh, isolated Cloud Egress attempt:
Egress ID:EG_7gSuhSvFJLnX
Time: October 6, 2026, approximately 12:55:46–12:56:24 UTC
Result:EGRESS_ABORTED, code 412, Start signal not received
End reason:StopEgress API, called after our existing 40-second readiness deadline
We added capture-specific startup diagnostics. Our renderer handled the HTML, client-module, and SDK requests at 12:55:48.052/.092/.126 UTC. The browser’s diagnostic bootstrap reported execution at .166, but we received no main-client execution, room-connection, or START_RECORDING milestone.
Our template uses livekit-client2.22.3 and emits console.log('START_RECORDING') directly after connecting and validating the room. An equivalent template test using the real SDK in our local Chromium 153 browser passed: it emitted the start signal before publishing, rendered synthetic video, and emitted the end signal on disconnect.
Could you inspect the new Cloud job’s browser version, JavaScript module load failures, console exceptions, and network errors before room connection? We know the asset requests reached our server, but that doesn’t prove they loaded or executed successfully in the recorder.
Could you also confirm whether this job—or the original EG_UFvpTbSa3R6Q—has any recoverable temporary or backup output? The new job reports no files and backupStorageUsed=false, and we found no object at its configured storage path.
After fixing truncated SDK delivery through our nginx proxy, Cloud test EG_K3kg8mDgoKBu completed successfully. Recording became ready in 6.5 seconds, and we verified the video and encrypted archive.
This appears to resolve the startup issue. However, the successful job also returned empty fileResults despite producing a recording. Could you confirm whether recoverable output exists for EG_UFvpTbSa3R6Q and EG_7gSuhSvFJLnX?