Open wmarkow opened 4 years ago
I wrote a wrapper for this issue. Check out https://github.com/CelliesProjects/ESP32_VS1053_Stream.
With the lib it is as easy as stream.connecttohost("http://icecast.omroep.nl/radio6-bb-mp3");
to open a stream (chunked, https or just plain http) and a loop()
function that has to be called every few ms. See #65.
Thank you @CelliesProjects for providing a solution to the issue and your work. I had a look to https://github.com/CelliesProjects/ESP32_VS1053_Stream, next to https://github.com/CelliesProjects/eStreamPlayer32_VS1053 and I must say I'm very impressed.
Now I'm wondering how about those two MRs:
I haven't figured out if we have a clear answer: this works for all people reporting "glitches problem" in this and related issues. Probably it was still not enough for all cases, without firmware patch, etc.
Are those still valuable examples?
That we can we merge both as a "simple example solution" (with small amount of code)?
Then in both we would add a code comment pointing to ESP32_VS1053_Stream
and eStreamPlayer32_VS1053
example,
that if someone wants to do more, he/she might try the more comprehensive solution?
What do you think @CelliesProjects ? What is your opinion @wmarkow and @fabitom?
A simple example how to handle the audio stream with chunked transfer, to avoid sound glitches. More discussion also in #47.