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)
esp32 webserver with esp-adf
-
- Posts: 125
- Joined: Fri May 24, 2019 2:02 am
Re: esp32 webserver with esp-adf
Read this https://docs.espressif.com/projects/esp ... index.html
You need to use a raw stream element and implement code to write your data in.
Or... perhaps you could use the HTTP stream and use that to hit a URL?
You need to use a raw stream element and implement code to write your data in.
Or... perhaps you could use the HTTP stream and use that to hit a URL?
Who is online
Users browsing this forum: No registered users and 79 guests