I am currently working with the ESP32 module and have created a web interface to display sensor values by using the ESPAsyncWebServer.h library along with the AsyncWebServer server(80). Now, I want to incorporate a camera into my project, but this requires me to use the ESP32WebServer.h library and create another server called server2(80).
How can I effectively integrate these two servers into the same program? When I attempted to do so, the script compiled successfully, but only one of the servers - whether it be begin.server() or begin.server2() - would function properly while the other did not.
I also experimented with combinations like server.end() and server2.begin() to switch between servers, but encountered issues as the ESP32WebServer.h library does not support server2.end().
Thank you for your assistance, and please excuse any language errors in my communication.