#include "web_config.h" #include #include #include "rtsp_server.h" WebServer webConfigServer(80); void handle_root() { String html = "J0X ESP32-CAM Config" "

ESP32-CAM Configuration

" "

WiFi IP: " + WiFi.localIP().toString() + "

" "

RTSP Stream: " + getRTSPUrl() + "

" "

ONVIF Service: http://" + WiFi.localIP().toString() + ":8000/onvif/device_service

" "" ""; webConfigServer.send(200, "text/html", html); } void web_config_start() { webConfigServer.on("/", HTTP_GET, handle_root); webConfigServer.begin(); Serial.println("[INFO] Web config server started."); } void web_config_loop() { webConfigServer.handleClient(); }