Your device will probably play aac files your problem is most likely being unable to connect to the server, both the links you say won't play are hosted on the Amazon Cloudfront server.
That is the limit of my knowledge about servers so I can't say whether there is a way to connect or not.
I have a sketch that allows me to play various files from a SD card to a vs1053 using a Nano ESP32 and I know the aac format works in that situation.
I moved your topic to a more appropriate forum category @xdrgizsdg.
The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.
In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.
Thank you for your answer!
This might be the case, if so theres nothing I can do.
But when I tried to play the m3u8 using https://github.com/schreibfaul1/ESP32-vs1053_ext,
I got the following error:
I wonder if it has something to do with the missing PSRAM.
Because the station I tried to stream is in the actual example of the Git Repository, so it should work
I have a channel list and looking at it all the url's link to mp3 streams, this is fine for me, the quality is very good especially listening through a wired headset or over BLE. Occasionally if the connection gets flaky at my end or the server end, packets will get dropped and I get a "click" every so often but usually I can listen for hours without an issue.
I've looked at PSRAM briefly but not implemented it with anything yet, maybe your example is using it for the stream buffer, I created my own ring buffer there was plenty of room for it on the nano.