From f19a2050ec35271dbeb70e7e336b7a0eb0710e95 Mon Sep 17 00:00:00 2001
From: Alan <60433566+alanesq@users.noreply.github.com>
Date: Sun, 2 Jan 2022 22:35:06 +0000
Subject: [PATCH] Add files via upload
---
esp32cam-demo.ino | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/esp32cam-demo.ino b/esp32cam-demo.ino
index 9c84ea2..f7fcee7 100644
--- a/esp32cam-demo.ino
+++ b/esp32cam-demo.ino
@@ -796,8 +796,9 @@ void handleRoot() {
client.write("Capture Image as raw RGB data - \n");
client.write("Live stream
\n");
- // show live image
- client.write("
");
+ // capture and show a jpg image
+ client.write("
"); // make it a link
+ client.write(" "); // show image from http://x.x.x.x/jpg
// --------------------------------------------------------------------