In the Arduino IDE, paste the "ESP8266-example.cpp" code into a blank sketch ... This tutorial does not work for an ESP32 device.
This is a simple MJPEG streaming webserver implemented for AI-Thinker ESP32-CAM and ESP-EYE modules.