diff options
Diffstat (limited to 'src/camera_node.py')
-rwxr-xr-x | src/camera_node.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/camera_node.py b/src/camera_node.py index 01c4a4c..d175e17 100755 --- a/src/camera_node.py +++ b/src/camera_node.py @@ -30,11 +30,12 @@ class ESP32CameraNodeServer(MediaNodeServer): if with_flash: await self.web.setflash(True) - await asyncio.sleep(1) + await asyncio.sleep(0.5) bytes = (await self.web.capture()).read() if with_flash: + await asyncio.sleep(0.5) await self.web.setflash(False) res = http.StreamResponse() |