Feat : added and tweaked state machine
All checks were successful
release / build (push) Successful in 39s
release / verify-windows (push) Successful in 1m17s

This commit is contained in:
jeanotx32
2026-08-11 23:21:35 +02:00
parent a5777ad920
commit 2380196169
14 changed files with 469 additions and 53 deletions

View File

@@ -59,6 +59,11 @@ const watcher = new StreamWatcher(DEFAULT_WATCH_SETTINGS, {
resumeRecording: async () => {
await obs.execute('record.resume');
},
// Clôture, et non simple `record.stop` : la fenêtre du navigateur doit se
// fermer aussi, sans quoi la VM resterait sur une page morte.
stopRecording: async () => {
await stopCapture();
},
});
let browserSettings: BrowserSettings = DEFAULT_BROWSER_SETTINGS;