From a58f4ef5880f37c0e873a06a927d24cecb1efbe2 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 12 Jan 2023 01:10:24 +0300 Subject: camera_node: hm --- src/camera_node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3