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
1.99k stars 433 forks source link

Incompatibility with HTTPSRedirect #615

Open probonopd opened 1 year ago

probonopd commented 1 year ago

There appears to be an incompatibility between https://github.com/electronicsguy/HTTPSRedirect.git#0415a49 and https://github.com/earlephilhower/ESP8266Audio.git#12131e9. As soon as I put rtttl = new AudioGeneratorRTTTL(); into my sketch anywhere (even after client->connect(host, 443);), making the connection fails in ~8 out of 10 tries.

My use case: I would like to fetch calendar events from a Google Scripts web app using HTTPSRedirect, and then play sounds using ESP8266Audio based on those events. Each library on its own works fine, but I never can get them to play nicely together.

What might be causing this incompatibility and how can it be solved?

Cross-reference: