From 35e529e7e9e7298e79d9f1b733ae99827ee761c8 Mon Sep 17 00:00:00 2001 From: John Varghese Date: Mon, 9 Jun 2025 21:39:50 +0530 Subject: [PATCH] Bug Fix --- ESP32CAM-ONVIF/motion_detection.cpp | 1 + ESP32CAM-ONVIF/onvif_server.cpp | 3 ++- ESP32CAM-ONVIF/rtsp_server.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ESP32CAM-ONVIF/motion_detection.cpp b/ESP32CAM-ONVIF/motion_detection.cpp index 9330ca8..cf771eb 100644 --- a/ESP32CAM-ONVIF/motion_detection.cpp +++ b/ESP32CAM-ONVIF/motion_detection.cpp @@ -1,3 +1,4 @@ +#include #include "motion_detection.h" #include "esp_camera.h" diff --git a/ESP32CAM-ONVIF/onvif_server.cpp b/ESP32CAM-ONVIF/onvif_server.cpp index 7f4e7cd..f8dfc26 100644 --- a/ESP32CAM-ONVIF/onvif_server.cpp +++ b/ESP32CAM-ONVIF/onvif_server.cpp @@ -1,8 +1,9 @@ +#include #include "onvif_server.h" #include "rtsp_server.h" #include #include -#include "utils.h" +#include "config.h" WebServer onvifServer(8000); WiFiUDP onvifUDP; diff --git a/ESP32CAM-ONVIF/rtsp_server.h b/ESP32CAM-ONVIF/rtsp_server.h index 8c5ff39..553eccf 100644 --- a/ESP32CAM-ONVIF/rtsp_server.h +++ b/ESP32CAM-ONVIF/rtsp_server.h @@ -1,4 +1,6 @@ #pragma once +#include + void rtsp_server_start(); void rtsp_server_loop(); String getRTSPUrl();