fix: add safety timeout in stopRecording, extract reset() helper

- extract reset() to ensure clean state in all exit paths
- add 5s timeout guard so UI never stays stuck on 'Saving'
- improve error messages for empty frames and save failures
This commit is contained in:
2026-08-01 16:56:32 +08:00
parent 786230036b
commit 3a5f160453
3 changed files with 55 additions and 48 deletions
File diff suppressed because one or more lines are too long