Listen to a shoutcast with Android

丶灬走出姿态 提交于 2019-11-27 11:30:34
CommonsWare

You can try these resources:

Shoutcast streaming

http://ostermiller.org/shoutgrab/

http://code.google.com/p/streamscraper/

http://code.google.com/p/castor-streamer/

http://mp3imagetagextr.sourceforge.net/ShoutcastPlsDownloader/index.html

From what I can tell, you may need to handle the PLS download (via HTTP if I understand correctly) and parsing yourself, but you can then hand the actual audio stream URLs to MediaPlayer for playback. Assuming those streams are within specifications (and not all are), Android should be able to play them back. But I am not a Shoutcast expert by any means.

Android 2.2 (FroYo) now natively streams Shoutcast streams.

For older devices, in addition to the above links see http://code.google.com/p/npr-android-app/ which includes a proxy for buffering shoutcast streams.

Maybe late, but VLC for android was the only really stable app I could find for this. I set up an icecast server on my linux box and could listen to it perfectly using VLC on my old Nexus one. The only (stupid) problem VLC has is that you cant bookmark your URLs in it, you always have to type (or paste) them.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!