sheminasalam / esp32-cam-mjpeg-multiclient-with-mqtt-operations

ESP32 MJPEG Multiclient Streaming Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Onboard LED light Control

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.

Web Server OTA update

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.

Remote Restart

Issue payload "RS" with the mqtt topic set for led operations to restart the device.

ESP32 MJPEG Multiclient Streaming Server

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


Other repositories that may be of interest
ESP32 MJPEG streaming server servicing a single client:

https://github.com/arkhipenko/esp32-cam-mjpeg

ESP32 MJPEG streaming server servicing multiple clients (FreeRTOS based):

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

Cooperative multitasking library:

https://github.com/arkhipenko/TaskScheduler

About

ESP32 MJPEG Multiclient Streaming Server

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 90.2%Language:C 9.8%