earlephilhower / ESP8266Audio

Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
2.03k stars 434 forks source link

problem with URL having chuncked transfer encoding #277

Open ranger2012 opened 4 years ago

ranger2012 commented 4 years ago

I used the library for a while without issues, then the web host changed to chunked transfer encoding,, now the sound got pops and clicks...

earlephilhower commented 4 years ago

It's probably ending up with a lower throughput on the 8266 due to the add'l overhead of parsing the chunks. I'd try increasing the buffer size of the HTTP cache in the code, that's the easiest thing to do to help smooth out things.

ranger2012 commented 4 years ago

Thanks Earle, i'll wait for for an update,..