camera_node: sleep for 1 sec when capturing with flash
This commit is contained in:
parent
e00fb0ff2c
commit
ff4a2e23d3
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user