mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-16 04:58:00 +00:00
Removed not required file
This commit is contained in:
12
src/main.cpp
12
src/main.cpp
@@ -61,6 +61,12 @@ void handleRoot()
|
||||
web_server.send(200, "text/html", html);
|
||||
}
|
||||
|
||||
void on_config_saved()
|
||||
{
|
||||
log_v("on_config_saved");
|
||||
ESP.restart();
|
||||
}
|
||||
|
||||
void initialize_camera()
|
||||
{
|
||||
log_v("Initialize camera");
|
||||
@@ -104,12 +110,6 @@ void start_rtsp_server()
|
||||
camera_server = std::unique_ptr<rtsp_server>(new rtsp_server(cam, frame_rate, RTSP_PORT));
|
||||
}
|
||||
|
||||
void on_config_saved()
|
||||
{
|
||||
log_v("on_config_saved");
|
||||
start_rtsp_server();
|
||||
}
|
||||
|
||||
void on_connected()
|
||||
{
|
||||
log_v("on_connected");
|
||||
|
||||
Reference in New Issue
Block a user