Fix capture DSLR: pause avant capture + retry si I/O in progress

- Frontend: arrete le preview 300ms avant la capture
- Backend: 3 tentatives avec 500ms entre chaque si DSLR occupe

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 19:27:54 +02:00
parent 053e5dc7b4
commit 79b0084178
2 changed files with 20 additions and 13 deletions

View File

@@ -46,9 +46,11 @@ async function lancerCapture() {
}
await compteARebours();
afficherFlash();
arreterPreview();
await pause(300); // Laisser le DSLR se liberer du preview
afficherFlash();
const resultat = await apiPost('/api/capturer');
if (resultat.erreur) {