@jaak.ai/stamps 2.1.0-dev.13 → 2.1.0-dev.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1431,10 +1431,13 @@ export class JaakStamps {
1431
1431
  this.useDocumentDetector = false; // Desactivar detector automático
1432
1432
  // Actualizar el estado con mensaje de error
1433
1433
  this.updateStatus('Modo manual activado', errorMessage, 'error');
1434
- // Ocultar mensaje después de 5 segundos
1435
- setTimeout(() => {
1436
- this.updateStatus('Captura manual', 'Use el botón para capturar', 'ready');
1437
- }, 5000);
1434
+ // Continuar con la configuración de cámara para mostrar el video
1435
+ this.continueWithCameraSetup().catch(() => {
1436
+ // Si falla la configuración de cámara, mantener el mensaje de error pero cambiar el estado
1437
+ setTimeout(() => {
1438
+ this.updateStatus('Captura manual', 'Use el botón para capturar', 'ready');
1439
+ }, 5000);
1440
+ });
1438
1441
  }
1439
1442
  stopPerformanceMonitoring() {
1440
1443
  // Nota: No necesitamos limpiar más variables porque ya no se usarán