mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-16 21:18:01 +00:00
Grab frame before snapshot
This commit is contained in:
@@ -149,6 +149,7 @@ void handle_snapshot()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cam.run();
|
||||||
if (cam.getfb() == nullptr)
|
if (cam.getfb() == nullptr)
|
||||||
{
|
{
|
||||||
web_server.send(404, "text/plain", "Unable to obtain frame buffer from the camera");
|
web_server.send(404, "text/plain", "Unable to obtain frame buffer from the camera");
|
||||||
|
|||||||
Reference in New Issue
Block a user