arkhipenko / esp32-mjpeg-multiclient-espcam-drivers

ESP32 MJPEG Multiclient Streaming Server with latest Espressif drivers
BSD 3-Clause "New" or "Revised" License
167 stars 40 forks source link

Ability to return a single jpeg #5

Closed baden03 closed 3 years ago

baden03 commented 3 years ago

I would like to add the ability to return a single jpg 'snapshot'. It seems like it would just be adding a new route to return a single image. Any tips before I jump into the code?

Again, very nice 'proof of concept'!

arkhipenko commented 3 years ago

https://github.com/arkhipenko/dnd/blob/9185e5cce1ddc08c9577ad6e9326e3f8a72d3f5d/esp32_dnd_rtos_mjpeg_multi/mjpeg.ino#L242

It's been already done.

baden03 commented 3 years ago

I see. For others looking for it, a single image can be accessed using: http:///jpg thank you!