esp32 webserver with esp-adf
Posted: Wed Sep 27, 2023 11:34 am
I am currently using ESP32 WROOMD module. My application esp32 is acting as a webserver and it plays mp3 from audio data being received from client side (in this case it is Mobile app which sends the mp3 data into chunks byte (1KB each) ). My question is can esp-adf be used to get these data into chunks and decode into mp3 and write to i2s stream?
I followed these examples. But couldn't able to found where I can typecast my bytes so that it reads each chunks being sent and decode it.
1. https://github.com/espressif/esp-adf/tr ... e_http_mp3 (This is getting whole data from url)
2. https://github.com/espressif/esp-adf/tr ... p3_control (This is getting data into from the file path being saved in SD card)
I followed these examples. But couldn't able to found where I can typecast my bytes so that it reads each chunks being sent and decode it.
1. https://github.com/espressif/esp-adf/tr ... e_http_mp3 (This is getting whole data from url)
2. https://github.com/espressif/esp-adf/tr ... p3_control (This is getting data into from the file path being saved in SD card)