Skip to main content

Here is a stream:

https://as-hls-ww.live.cf.md.bbci.co.uk/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_r
adio_one-audio=320000.norewind.m3u8

Which I’d think my Sonos should play. But it does not.

I am even trying mediamtx to transcode it into something Sonos would accept as:

/usr/bin/ffmpeg -re -i https://as-hls-ww.live.cf.md.bbci.co.uk/pool_01505109/live/ww/bbc_radio_one/bbc_radio_one.isml/bbc_radio_one-audio=320000.norewind.m3u8 -acodec libfdk_aac -profile:a aac_low -f rtsp rtsp://localhost:8554/a1

and try playing it on Sonos as “http://192.168.10.201:8888/a1/index.m3u8” but the android Sonos app says “is not encoded correctly”. It is aac and I hacked mediamtx to return content type as audio/aac as per https://docs.sonos.com/docs/supported-audio-formats  but still no playing.

How do you debug this kind of problems?

I think your best bet would be to stream the station from the Sonos app using TuneIn.


That is a playlist, not an audio stream.

I did try an audio stream from this playlist, but its a .ts stream in mp2t format which I don’t believe Sonos support. I am also not in the UK so I could be geo-blocked.

If you have an actual stream url in a supported format you can add it to your Sonos system using the desktop or third party apps. (You can’t just play it via a url in the manner you listed).