-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Hostaddress is empty' trying to play BBC .m3u8 stream #645
Comments
The BBC URLs are slightly different from the usual HLS streams. I've added a correction, the BBC streams now work. BBC URLs:
|
Works perfectly. Thank you so much for the speedy resolution. Happy new year! |
Hi again, there's a new problem which may be related to the above. Same setup and code, seemingly only affecting BBC Radio streams. It plays fine for a while then this happens:
and this is happening many times a second, and it does not recover unless retuned. Thanks |
Running for an hour so far with no wobbles. I'd written a little code to monitor VU levels and detect when they freeze as a workaround, but this is much better! Thanks again for your help. |
Hello, love the library, thanks for sharing it. I'm having trouble playing the latest BBC streams. It gets the first playlist and plays the .ts files OK but then it just stops. I've tried calling connecttohost again when isRunning is false but there is either repetition or loss when that happens.
What am I doing wrong?
Thanks!
I'm using an ESP32_S3 with PSRAM
output
20:09:43.607 -> info Connect to new host: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio%3d48000.norewind.m3u8"
20:09:43.698 -> info PSRAM found, inputBufferSize: 638965 bytes
20:09:43.698 -> [ 8652][V][ssl_client.cpp:321] stop_ssl_socket(): Cleaning SSL connection.
20:09:43.698 -> info buffers freed, free Heap: 255448 bytes
20:09:43.744 -> info Connection has been established in 45 ms, free Heap: 254328 bytes
20:09:43.744 -> lasthost http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio%3d48000.norewind.m3u8
20:09:43.837 -> info media sequence number: 266285342
20:09:43.837 -> info new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio=48000-266285342.ts"
20:09:43.872 -> [ 8863][D][aac_decoder.cpp:1679] AACDecoder_AllocateBuffers(): AAC Spectral Band Replication enabled, 50788 additional bytes allocated
20:09:43.910 -> info AACDecoder has been initialized, free Heap: 252604 bytes , free stack 5516 DWORDs
20:09:43.910 -> info syncword found at pos 0
20:09:43.945 -> info Channels: 2
20:09:43.945 -> info SampleRate: 48000
20:09:43.945 -> info BitsPerSample: 16
20:09:43.945 -> info BitRate: 57937
20:09:43.945 -> info AAC HeaderFormat: ADTS
20:09:43.945 -> info AAC Codec: MPEG-4 LowComplexity
20:09:44.023 -> info VBR recognized, audioFileDuration is estimated
20:09:44.287 -> info new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio=48000-266285343.ts"
20:09:48.645 -> info new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio=48000-266285344.ts"
20:09:55.029 -> info new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio=48000-266285345.ts"
20:10:02.438 -> info new request: "http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_6music/bbc_6music.isml/bbc_6music-audio=48000-266285346.ts"
20:10:08.829 -> info Hostaddress is empty
code
The text was updated successfully, but these errors were encountered: