You can control the onboard led with mqtt commands. This is useful when used with octoprint and integration with Home Assistant. Just set the mqtt parameters in the code and then use payload ON or OFF for led operations.
You can also do OTA update by publishing the payload UP to the mqtt topic set for led operations. In this case the ota update server will be active @ http://<ip_of_device/update . This server will be active for 30s for uploading the .bin file. Then it will restart and start the uploaded firmware.
Issue payload "RS" with the mqtt topic set for led operations to restart the device.
This is a simple MJPEG streaming webserver implemented for AI-Thinker ESP32-CAM or ESP-EYE modules.
This is tested to work with VLC and Blynk video widget.
This version uses FreeRTOS tasks to enable streaming to up to 10 connected clients
Inspired by and based on this Instructable: $9 RTSP Video Streamer Using the ESP32-CAM Board
Full story: https://www.hackster.io/anatoli-arkhipenko/multi-client-mjpeg-streaming-from-esp32-47768f
https://github.com/arkhipenko/esp32-cam-mjpeg
https://github.com/arkhipenko/esp32-cam-mjpeg-multiclient
ESP32 MJPEG streaming server servicing multiple clients (FreeRTOS based) with the latest camera drivers from espressif.
https://github.com/arkhipenko/esp32-mjpeg-multiclient-espcam-drivers