summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-01-12 01:10:24 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-01-12 01:10:24 +0300
commita58f4ef5880f37c0e873a06a927d24cecb1efbe2 (patch)
treeb451ae30a259a46b6a728c34393b1ac7d887fcde
parentff4a2e23d396f7c5f73f90e49223b805058607ec (diff)
camera_node: hm
-rwxr-xr-xsrc/camera_node.py3
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()