connecttohost() return "can't set newFilePos" with some urls
Hi,
i'm working with an ESP32, i'm trying to stream podcast form urls.
here the code i use to stream podcast.
```
if (Btn == "Ok") {
if(WiFi.status() == WL_CONNECTED){
audio.connecttohost(episodes[pdTopListIndex+count].url.c_str());
Serial.print("index : ");Serial.println(pdTopListIndex+count);
Serial.print("url : ");Serial.println(episodes[pdTopListIndex+count].url);
}
}
```
it works with this URL : https://sphinx.acast.com/p/open/s/68db9a016d92c33f9c2eff83/e/69c1530b007cdcf83fc488d5/media.mp3
It doesn't with this URL : https://proxycast.radiofrance.fr/0760f712-f39e-4aba-a3f2-891453f91f66/5e238698-941a-4afc-8883-dbecfda89821/6b201c5d-890b-4409-b993-191efffb59f0/10212-14.05.2026-ITEMA_24511450-2026F10732S0134-NET_MFI_3A1D00C6-CE59-471B-B911-03D4B0DE62E3-27-88f876368ea7ed5e8507ffd7018f5a0b.m4a
it returns :
```
E (24517) ARDUINO: [lib/ESP32-audioI2S-3.4.6/src/psram_unique_ptr.hpp:2367] ps_ptr[]: Index 16 out of bounds (size = 16, name = unnamed)
E (25851) ARDUINO: Audio.cpp:7119 can't set newFilePos
```
i don't know if the second url is too long, or if it's related to format u4a.
0 条评论