【发布时间】:2014-03-04 16:57:01
【问题描述】:
我的应用程序正在播放广播流,即广播流。我在互联网上搜索了 2 天,但我的应用程序仍然无法播放此网址。我不知道如何解决这个问题。
这是我的示例源代码。
String url1 = "http://203.150.224.142:8003/;
HttpConnection con= (HttpConnection)Connector.open(url1);
InputStream is = con.openInputStream();
player = Manager.createPlayer(is, "audio/mpeg");
player.realize();
player.prefetch();
player.start();
【问题讨论】:
-
我没有解决方案,但我认为如果你能满足于 rtsp 协议,那会容易得多。我认为(无论如何)JavaME 手机都支持 rtsp 协议。