0

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();

Progressive-Download= true私はjadファイルに追加し、nokia X3でテストしました。OutOfMemory エラーをスローします。

4

0 に答える 0