Create polished demo videos without editing skills. Mac/Windows/Linux
fix(recording): wrap recovery mux in try/catch to prevent video loss on audio failure
webadderallb833fc33cb3a
diff --git a/electron/ipc/handlers.ts b/electron/ipc/handlers.tsindex 9957465c..dc87872a 100644--- a/electron/ipc/handlers.ts+++ b/electron/ipc/handlers.ts@@ -2666,7 +2666,11 @@ async function recoverNativeMacCaptureOutput() {try {if (systemAudioPath || microphonePath) {- await muxNativeMacRecordingWithAudio(candidatePath, systemAudioPath, microphonePath)+ try {+ await muxNativeMacRecordingWithAudio(candidatePath, systemAudioPath, microphonePath)+ } catch (muxError) {+ console.warn('Failed to mux audio during recovery:', muxError)+ }}return await finalizeStoredVideo(candidatePath)