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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user