Sketch to control an ESP32CAM and export pictures via MQTT
To accelerate the upload, increase the "MQTT_MAX_PACKET_SIZE" (>51200 or greater depending of the picture resolution) in PubSubClient.h
ArduinoJSON6
PubSubClient