mirror of
https://github.com/rzeldent/esp32cam-rtsp.git
synced 2025-11-14 12:08:02 +00:00
Removed not required file
This commit is contained in:
10
.gitignore
vendored
10
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
.pio
|
.*/*
|
||||||
.vscode/.browse.c_cpp.db*
|
.*.*
|
||||||
.vscode/c_cpp_properties.json
|
*.log
|
||||||
.vscode/launch.json
|
.DS_Store
|
||||||
.vscode/ipch
|
workspace.code-workspace
|
||||||
10
.vscode/extensions.json
vendored
10
.vscode/extensions.json
vendored
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
|
||||||
// for the documentation about the extensions.json format
|
|
||||||
"recommendations": [
|
|
||||||
"platformio.platformio-ide"
|
|
||||||
],
|
|
||||||
"unwantedRecommendations": [
|
|
||||||
"ms-vscode.cpptools-extension-pack"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
12
src/main.cpp
12
src/main.cpp
@@ -61,6 +61,12 @@ void handleRoot()
|
|||||||
web_server.send(200, "text/html", html);
|
web_server.send(200, "text/html", html);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void on_config_saved()
|
||||||
|
{
|
||||||
|
log_v("on_config_saved");
|
||||||
|
ESP.restart();
|
||||||
|
}
|
||||||
|
|
||||||
void initialize_camera()
|
void initialize_camera()
|
||||||
{
|
{
|
||||||
log_v("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));
|
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()
|
void on_connected()
|
||||||
{
|
{
|
||||||
log_v("on_connected");
|
log_v("on_connected");
|
||||||
|
|||||||
Reference in New Issue
Block a user