3 ms·
iHeartRadio streams support both HLS and Shoutcast. You can find the stream info for each station embedded in a JSON object on the stream page. For example, f
by ohithereyou 7y ago
iHeartRadio streams support both HLS and Shoutcast. You can find the stream info for each station embedded in a JSON object on the stream page. For example, for a iHeartRadio station that I listen to occasionally, there's the following:
"streams":{
"hls_stream":"http://c8.prod.playlists.ihrhls.com/609/playlist.m3u8",
"shoutcast_stream":"http://c8icyelb.prod.playlists.ihrhls.com/609_icy",
"pivot_hls_stream":"https://us.api.iheart.com/api/v3/adswizzhls/redirect.m3u8?url=https%3A%2F%2Fc8.prod.playlists.ihrhls.com%2F609%2Fplaylist.m3u8&marketId=51",
"secure_hls_stream":"https://c8.prod.playlists.ihrhls.com/609/playlist.m3u8",
"secure_shoutcast_stream":"https://c8icy.prod.playlists.ihrhls.com/609_icy"
}
- mwcampbell 7y agoInteresting, thanks. So, I'm not crazy to think that using HLS for audio might be worthwhile. I wonder if iHeart does it for robustness over mobile connections, or just browser compatibility (particularly with iOS Safari). That secure Shoutcast stream is an interesting mix of old and new. It has the expected "icy-" HTTP headers, but it's using HTTP/2 and, of course, HTTPS. The fact that it even returns a valid response for an HTTP HEAD request puts it ahead of real Shoutcast and Icecast streams in terms of standards compliance. It looks like iHeart has their own streaming server.