camera_node: hm

This commit is contained in:
Evgeny Zinoviev 2023-01-12 01:10:24 +03:00
parent ff4a2e23d3
commit a58f4ef588

View File

@ -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()