Open jov58 opened 3 years ago
@jov58: This is probably not the correct forum to ask about this, as you are using the web server library from Espressif. This repository is for a completely different HTTP server with a totally different API.
My current project is to port that camera example to this web server (issue #138), but I haven't quite gotten it to work yet.
@jov58: I think this is where you would want to ask your question: https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer
Describe Your Goal Running the standard ESP32 CameraWebServer example on an https webserver.
What Does Your Project Look Like The same as the official example except including esp_https_server instead of esp_http_server and changes in startCameraServer(), see below.
ESP32 Module TTGO Camera Plus
Software (please complete the following information if applicable)
Additional context
To run the CameraWebServer on https, I have changed the startCameraServer() function as follows:
If I include esp_http_server.h the original code will compile and everything runs fine. If I include esp_https_server.h my changes will compile and the webserver nicely comes up at port 443. The menu shows and I can get a still from the camera. The only thing that doesn't work is what it's all about: the live stream. The window shows but only with a broken image icon. I see no messages in the terminal window in PlatformIO or anything in the browser.
Any ideas how to get this working?