Stream Error On AudioKit #1448
-
my code is working fine on some links and online radios, but when I change it occasionally, it crushes immediately. Here Is Code #include "AudioTools.h" #include "BluetoothSerial.h" //Header File for Serial Bluetooth, will be added by default into Arduino BluetoothSerial ESP_BT; //Object for Bluetooth const char *urls[] = { // Arduino setup EEPROM.begin(50); Serial.println("Waiting For Wifi Updates 60 seconds"); while (!check_wifiUpdate() == true) {} int i = temp.length(); Serial.println("Stored SSID"); AudioLogger::instance().begin(Serial, AudioLogger::Info); ESP_BT.end(); boolean check_wifiUpdate() { if (currentMillis - previousMillis >= interval) {
} else if (ESP_BT.available()) //Check if we receive anything from Bluetooth
} else { // Arduino loop auto cfg = kit.defaultConfig(TX_MODE); urlStream.setTimeout(100); player.setVolume(1); delay(1000); while (1) { as u can see, the first links work just fine but when I turn it into the second it crushes. in the last discussion, I had the same issue and it was solved I think the library needs a little update @pschatzmann here is error message |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Just look at your error message: you seem to run out of stack, so try to increase it... |
Beta Was this translation helpful? Give feedback.
Then you have some error in your code and you create some buffer overflow ...
If you think that the issue is in my code, please provide some small test sketch that demonstrates the issue.