2012-01-24 85 views
0

我试图播放媒体播放器在Android 4.0.3 API15无线电音频流。 一些站的工作,但很多站的失败,例如:Android媒体播放器与WMA编解码器电台流媒体

http://switch3.castup.net/cunet/gm.asp?ai=31&ar=88FM

这个站(和许多其他)将返回我下面的错误: 错误(1,-21477483648)。

我检查了该站及其wma中使用的编解码器。 媒体播放器不支持此编解码器,但我知道有应用程序(“Radio Israel”)可以播放此电台。

我的问题是,是否有任何解决方法播放该流? 谢谢

+0

http://stackoverflow.com/questions/8681550/android-2-2-mediaplayer-is-working-fine-with-one-shoutcast-url-but-not-with-the 的http:// stackoverflow.com/questions/8671479/android-mediaplayer-works-fine-in-our-custom-audio-streaming-application-up-to-a –

回答

0

WMA是Windows格式,Android是Linux。你可以使用你自己的代理服务器编码成MP3(或其他格式),然后从那里流。

+0

你知道吗如果有一个实用工具或一个开放源代码的android库可以编码给定的流? – Haim