I shall help you promote your great works to all my IoT group members globally 😉 Thank you again sir Renzo. I am so happy to have bump into your blog and your great dedication to Open SOurce Community projects. Bravo!
Yes! Great! Thanks alot! Your new code is working now with the LED Illuminator slider function. It will be nice to also have the Flash toggle switch On / OFF to as a flash light features too if possible similar to Framework version 1.0.6 style?
Hi! I used your inserted your code modification into my CameraWebServer204FlashFailed.zip version I send you earlier with no compilation errors cause I used the latest fix copy from the Espressif Developer … https://github.com/…/ESP32/examples/Camera/CameraWebServer
I still get compilation error using your two files attached. I believe you are still using the older copy of 2.0.4 with bugs issue 6996 as highlighted a few weeks ago…
I copied the two files you gave and override the sample file I attached earlier in my previous post and this are the compilation error I got…
This errors looks similar to my previous bug report to Espressif github … Error Compiling… Arduino IDE version 1.8.19 … Board Manager … ESP32 Espressif System version 2.0.4 INSTALLED #6996 https://github.com/espressif/arduino-esp32/issues/6996
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp: In function ‘esp_err_t stream_handler(httpd_req_t*)’:
app_httpd.cpp:782:35: error: ‘ra_filter_run’ was not declared in this scope
uint32_t avg_frame_time = ra_filter_run(&ra_filter, frame_time);
^~~~~~~~~~~~~
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:782:35: note: suggested alternative: ‘ra_filter_t’
uint32_t avg_frame_time = ra_filter_run(&ra_filter, frame_time);
^~~~~~~~~~~~~
ra_filter_t
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp: In function ‘void startCameraServer()’:
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1225:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1225:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1225:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1231:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1231:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1231:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1237:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1237:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1237:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1243:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1243:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1243:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1249:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1249:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1249:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1255:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1255:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1255:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1261:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1261:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1261:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1267:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1267:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1267:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1273:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1273:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1273:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1279:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1279:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1279:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1285:25: warning: missing initializer for member ‘httpd_uri::is_websocket’ [-Wmissing-field-initializers]
.user_ctx = NULL};
^
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1285:25: warning: missing initializer for member ‘httpd_uri::handle_ws_control_frames’ [-Wmissing-field-initializers]
C:\Users\god\Downloads\esp32_new_camera_web_server\app_httpd.cpp:1285:25: warning: missing initializer for member ‘httpd_uri::supported_subprotocol’ [-Wmissing-field-initializers]
Multiple libraries were found for “WiFi.h”
Used: C:\Users\god\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
Using library WiFi at version 2.0.0 in folder: C:\Users\god\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi
exit status 1
‘ra_filter_run’ was not declared in this scope
This reply was modified 1 year, 4 months ago by Renzo Mischianti.
This reply was modified 1 year, 4 months ago by Renzo Mischianti.
I have created a set of batch files to aid in flashing 20 pcs of of Ai-Thinker ESP32-CAM to work on ESP32 Framework 1.0.6 and 2.0.4 for the purposes of easy trouble free batch processing.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.