Original post: forum
Hi everyone,
I wanted to share my experience with setting up live streaming from an ESP32-CAM to YouTube. After some research and experimentation, I was able to create a functional prototype in just a few hours. I’ve made the code available for free on GitHub and would really appreciate feedback from the community.
Here’s a quick summary of the process:
- Hardware: I used an ESP32-WROVER-DEV board paired with an OV2640 camera module, though any ESP32-CAM board should work.
- Software: The project uses the esp-idf framework. I set up the environment in VSCode with the ESP-IDF extension.
- Server: For handling RTMP protocol and H.264 encoding, I used a server that can run on a Raspberry Pi, a local machine, or a Digital Ocean droplet. The server-side processing was done using FFmpeg and Node.js.
The detailed instructions and code are available in the GitHub repository.
This project didn’t take me months - just 4 hours to get a working prototype. I’m not a fan of gatekeeping or charging for information that should be freely accessible. I do hate attitude. We are working from the same publicly available sources tho. Let’s collaborate to improve this project and learn together!
I’m looking forward to hearing your thoughts and suggestions.
Best regards,
Tolacika