Hi everyone,
I was wondering if anyone had ever tried to make an Icecast/Shoutcast player for Android, and found out the best way to do it?
As far as I know (but please correct me if I'm wrong), there's no native support for streaming from CF2.5's audio stack.
I've been toying a bit with the Web View trying to play it as an HTML5 stream, but have had limited success so far :
- Direct playing of the stream works with Icecast in MP3 format, although not very well (tends to get long to get started, and is not automatic). Kinda works with Icecast AAC+ too but even less stable (sometimes won't start at all)
- Direct playing of a Shoutcast stream doesn't work (probably because of the ICY 200 OK instead of HTTP/1.0 200)
- Using an HTML5/JS player such as JPlayer, Shoutcast MP3 seems to be working perfectly, but Shoutcast AAC+ doesn't work at all. Couldn't try with Icecast but would guess at least Icecast MP3 works fine. It can't be started automatically either though, but it's less of a problem since the controls can be skinned so it can basically be part of the client's UI, although it won't be Android native unfortunately.
- There are PHP libs that allow to display Shoutcast/Icecast metadata, but I can't think of a way to display it natively under CF2.5. Anyone got an idea?
In short: has anyone already toyed with playing Icecast/Shoutcast stream (sound and metadata) and have you come up with an elegant solution?
Thanks.
Azraël.