Hi @tv4you2016,
this is the first m3u8 playlist I've seen in xml format. The crash comes from the large line length and the buffer limit overrides. Additionally, there is the problem that the chunks are not always played in the correct order. This will take some time.
I think I've got a handle on it now. I get the correct order of the chunks via the media sequence number. https://stream-hls.bauermedia.pt/comercial.aac/playlist.m3u8 has been running without any problems for an hour.
The changes are not in the master. The branch "Arduino V3.0" (with IDF 5.1) contains the relevant updates. As soon as there is a stable Arduino 3 version, the branch will become the master.
Hello @schreibfaul1 , I used the "Arduino V3.0" branch but I still encounter audio stops and I have these errors:
[218574][I][ESP32-iSND1W.ino:885] audio_showstreamtitle(): streamtitle: ONLY IF YOU WANT
[246843][E][Audio.cpp:2805] m3u8_findMediaSeqInURL(): not enough lines with "#EXTINF:" found
[246844][E][Audio.cpp:2702] parsePlaylist_M3U8(): err, 0 packets lost from 3954716330, to 4294967295
[247464][E][Audio.cpp:2805] m3u8_findMediaSeqInURL(): not enough lines with "#EXTINF:" found
[247465][E][Audio.cpp:2679] parsePlaylist_M3U8(): xMediaSequence not found
lasthost https://stream-hls.bauermedia.pt/cidhiphop.aac/playlist.m3u8
[248436][E][Audio.cpp:2702] parsePlaylist_M3U8(): err, 1073544496 packets lost from 0, to 0
[250600][I][ESP32-iSND1W.ino:885] audio_showstreamtitle(): streamtitle: ONLY IF YOU WANT
[306436][E][Audio.cpp:2805] m3u8_findMediaSeqInURL(): not enough lines with "#EXTINF:" found
[306437][E][Audio.cpp:2702] parsePlaylist_M3U8(): err, 0 packets lost from 3954716318, to 4294967295
[307060][E][Audio.cpp:2805] m3u8_findMediaSeqInURL(): not enough lines with "#EXTINF:" found
[307060][E][Audio.cpp:2679] parsePlaylist_M3U8(): xMediaSequence not found
lasthost https://stream-hls.bauermedia.pt/cidhiphop.aac/playlist.m3u8
[308142][E][Audio.cpp:2702] parsePlaylist_M3U8(): err, 1073544496 packets lost from 0, to 0
[310303][I][ESP32-iSND1W.ino:885] audio_showstreamtitle(): streamtitle: ONLY IF YOU WANT
[324272][E][Audio.cpp:2805] m3u8_findMediaSeqInURL(): not enough lines with "#EXTINF:" found
[324274][E][Audio.cpp:2702] parsePlaylist_M3U8(): err, 0 packets lost from 3954716314, to 4294967295
[324874][E][Audio.cpp:2805] m3u8_findMediaSeqInURL(): not enough lines with "#EXTINF:" found
[324876][E][Audio.cpp:2679] parsePlaylist_M3U8(): xMediaSequence not found
lasthost https://stream-hls.bauermedia.pt/cidhiphop.aac/playlist.m3u8
[326019][E][Audio.cpp:2702] parsePlaylist_M3U8(): err, 1073544496 packets lost from 0, to 0
[328013][I][ESP32-iSND1W.ino:885] audio_showstreamtitle(): streamtitle: ONLY IF YOU WANT
This error will certainly not occur again. Whereby the station chunks-bauerpt.sharp-stream.com is difficult to receive for me, ping times are okay, but 25% data loss.
hello @schreibfaul1
When I try to reproduce this url the reboot esp
Media URL: https://stream-hls.bauermedia.pt/comercial.aac/playlist.m3u8
Log: