camera_node: sleep for 1 sec when capturing with flash

This commit is contained in:
Evgeny Zinoviev 2023-01-12 01:07:44 +03:00
parent e00fb0ff2c
commit ff4a2e23d3

View File

@ -30,7 +30,7 @@ class ESP32CameraNodeServer(MediaNodeServer):
if with_flash: if with_flash:
await self.web.setflash(True) await self.web.setflash(True)
await asyncio.sleep(0.2) await asyncio.sleep(1)
bytes = (await self.web.capture()).read() bytes = (await self.web.capture()).read()