stream player is choppy - what can we do to imporove?

Hello

Is it possible to have the player (javax.microedition.media. Player buffer) all the files before playing?

The flow of the voice seems choppy, with breaks sometimes a few seconds between the two. I tried all different trickes in the book as appellant prefetch() before calling start(), but nothing seems to help.

I use the device Simulator, simulating the Blackberry Storm. The voice file, that I use for testing is just a small wav file with some simple sound speak. The file is fetchecd as a URL on neighbor PC connected to the local network. When I play the file from a browser MS Internet Explorer on the computer on which I have the Simulator running, he plays very well.

Thank you!

RD.

Well, the problem is the network connection.  While you * can * is to create your own input stream that will go ahead and read all the data, it may the network source and place it within the stream - and who then move on to the player.

Or download all data from the remote source to a byte array, and then create a bytearrayinputstream to pass to the player.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • What is a private tab

    Is there a manual for Firefox Mobile?

  • Adding a photo via facebbok

    I try to add photos via Facebook, and all applications are grayed out. I use a macbook pro (15-inch, mid-2015 retina) OS X El capitan worm 10.11.5 Anyone know why this is happening...

  • Portege Z930 - FN keys issue - showing no no menu on screen

    Hello I have toshiba portege Z930 and my function keys worked until I installed YAC (yet another cleanser) to get rid of some malware, which worked, but the problem is that even after uninstalation, function keys is broken: FN + y/z which should high

  • Portege R600, Toshiba (backlight, toshiba assist) button do not work

    Hello world I have the problem with these two buttons on the right top corrner on my toshiba r600 and I just tried all buttons do not work. I associated with valid exe files buttons button support assist/toshiba toshiba / register with the paths of t

  • Adobe Illustrator CS5 launch

    I downloaded Adobe illustrator CS5 from this link: http://downloads.phpnuke.org/en/download-item-view-y-y-b-a-n-v/ADOBE%2BILLUSTRATOR%2BCS5.htm But it does not start automatically. I double-clicked set - up.exe, a massage appeared saying: Installerfa