Java me j2me设备中的实时视频流

Java me j2me设备中的实时视频流,java-me,video-streaming,Java Me,Video Streaming,我在不支持RTSP流媒体的设备上流媒体视频时遇到了一个问题,所以我不得不使用其他任何东西。请向我推荐任何与此相关的好方法 HttpConnection connection; connection = (HttpConnection) Connector.open("http://myurl/video.3gp?streamable=true", Connector.READ_WRITE); InputStream is = ((HttpConnection) connection).openI

我在不支持RTSP流媒体的设备上流媒体视频时遇到了一个问题,所以我不得不使用其他任何东西。请向我推荐任何与此相关的好方法

HttpConnection connection;
connection = (HttpConnection) Connector.open("http://myurl/video.3gp?streamable=true", Connector.READ_WRITE);
InputStream is = ((HttpConnection) connection).openInputStream();

player = Manager.createPlayer(is ,"video/3gpp");
//or below line in both cases it throw OutOfMemory error 
//player = Manager.createPlayer("myurl/video.3gp?streamable=true");

player.addPlayerListener(this);
player.realize();
player.prefetch();
player.start();

我在jad文件中添加了
Progressive Download=true
,并在诺基亚X3上进行了测试。它抛出了内存错误。

我正试图按照这个player=Manager.createPlayer(“myurl.3gp?streamable=true”)工作;player.realize();我要的是你试过的代码,它抛出了一个错误,因为视频文件对于j2me文件来说太大了。解决方案是使用MIDlet.platformRequest(url);这将缓冲并将视频保存到设备。我还没有找到处理输入流内存不足异常的好方法。