BBC Radio Streams Stop Playing With No Obvious Cause
Hi. I've recently set up Serviio to stream internet radio to my DLNA devices but I seem to be having issues with BBC radio streams. After some amount of time playing they seem to just stop. I've monitored the HTTP requests that Serviio makes to the radio stream but nothing looks unusual towards the end. All the HTTP requests are completing and returning 200 response codes. As an example, here are the last requests made before a stream stopped playing:
The last m3u8 file (second last request) was the following:
I'm no expert on the HLS protocol, but I believe at this point Serviio should be making another request for the m3u8 file, but it doesn't.
Does anyone have any ideas of how to check why Serviio decided to stop loading the stream? I'd be really grateful for any help.
For the sake of completeness, this is the stream URL, however I believe it may only be accessible in the UK.
Edit
After some further investigation, I think I may actually have two different problems. Firstly the stream will never play for longer than about 4 hours, 33 minutes. It just ends and that's the problem shown above. Secondly, the stream sometimes appears to end before that when the last HTTP requests look like this (note the 408 response on the third last request):
- Code:
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d320000.m3u8?dvr_window_length=24
← 200 application/vnd.apple.mpegurl 513B 82ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226272690.ts
← 200 video/MP2T 261.8kB 473ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226272691.ts
← 200 video/MP2T 261.8kB 474ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226272692.ts
← 200 video/MP2T 261.8kB 341ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d320000.m3u8?dvr_window_length=24
← 200 application/vnd.apple.mpegurl 513B 265ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226272693.ts
← 200 video/MP2T 261.8kB 499ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d320000.m3u8?dvr_window_length=24
← 200 application/vnd.apple.mpegurl 499B 474ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226272694.ts
← 200 video/MP2T 261.8kB 412ms
The last m3u8 file (second last request) was the following:
- Code:
#EXTM3U
#EXT-X-VERSION:2
## Created with Unified Streaming Platform(version=1.7.9)
#EXT-X-MEDIA-SEQUENCE:226272691
#EXT-X-TARGETDURATION:7
#USP-X-TIMESTAMP-MAP:MPEGTS=6582710176,LOCAL=2015-11-21T22:33:36Z
#EXT-X-PROGRAM-DATE-TIME:2015-11-21T22:33:36Z
#EXTINF:6, no desc
bbc_radio_fourfm-audio=320000-226272691.ts
#EXTINF:6, no desc
bbc_radio_fourfm-audio=320000-226272692.ts
#EXTINF:6, no desc
bbc_radio_fourfm-audio=320000-226272693.ts
#EXTINF:6, no desc
bbc_radio_fourfm-audio=320000-226272694.ts
I'm no expert on the HLS protocol, but I believe at this point Serviio should be making another request for the m3u8 file, but it doesn't.
Does anyone have any ideas of how to check why Serviio decided to stop loading the stream? I'd be really grateful for any help.
For the sake of completeness, this is the stream URL, however I believe it may only be accessible in the UK.
Edit
After some further investigation, I think I may actually have two different problems. Firstly the stream will never play for longer than about 4 hours, 33 minutes. It just ends and that's the problem shown above. Secondly, the stream sometimes appears to end before that when the last HTTP requests look like this (note the 408 response on the third last request):
- Code:
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d320000.m3u8?dvr_window_length=24
← 200 application/vnd.apple.mpegurl 513B 1.59s
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226279200.ts
← 200 video/MP2T 261.8kB 2.29s
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226279201.ts
← 200 video/MP2T 261.8kB 1.44s
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d320000.m3u8?dvr_window_length=24
← 200 application/vnd.apple.mpegurl 513B 169ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226279202.ts
← 408 text/html 218B 20.8s
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d320000.m3u8?dvr_window_length=24
← 200 application/vnd.apple.mpegurl 513B 169ms
GET http://as-hls-uk-live.edgesuite.net/pool_6/live/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio=320000-226279204.ts
← 200 video/MP2T 261.8kB 1.16s
