diff --git a/src/main.cpp b/src/main.cpp index 1577032..4abfc80 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,6 +10,7 @@ static const char *STREAM_BOUNDARY = "\r\n--frame\r\n"; static const char *STREAM_PART = "Content-Type: image/jpeg\r\nContent-Length: %u\r\n\r\n"; static httpd_handle_t httpd = nullptr; +static httpd_handle_t httpd_stream = nullptr; static bool cameraPinsOk() { return CAM_PIN_XCLK != -1 && @@ -51,7 +52,7 @@ static esp_err_t handleRoot(httpd_req_t *req) { "label{display:block;margin-top:10px;}" "
" "