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?