Hello,
Yes - I know this is a silly way to do this - but I have an esp32-cam and I'm using ESP-IDF.
It looks like ESP-MQTT is only able to send char*. What is the best way to encode an esp32-camera frame buffer (jpeg) to a char* to send via mqtt? (I'll decode with python)
esp-cam - send buffer over MQTT
-
- Posts: 71
- Joined: Sat Mar 02, 2019 8:06 pm
Re: esp-cam - send buffer over MQTT
I'd recommend you to split your image got from camera and compressed to jpeg into chunks, encode it into bson with metadata (such as parts available and number of part), and send it over MQTT.
Then, on server, decode each part and glue the parts altogether
Then, on server, decode each part and glue the parts altogether
-
- Posts: 2
- Joined: Fri Nov 17, 2023 2:51 pm
Re: esp-cam - send buffer over MQTT
Can you use Xedge32?
If so, check out this tutorial:
https://realtimelogic.com/articles/Stre ... s-via-MQTT
If so, check out this tutorial:
https://realtimelogic.com/articles/Stre ... s-via-MQTT
Who is online
Users browsing this forum: No registered users and 80 guests