Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 412
Registered: ‎09-12-2008
My Device: 9000 9810

Playing without delay (MMAPI streaming).

[ Edited ]

Hi all.


I am experiencing this effect for a while now and cannot get past it, so maybe this community will have any hints (as it usually does).


I am using a custom datasource with streamed data to feed the player. And it is working fine but:


The player has an offset. It gets noticable when I loop the player.


1) How can I skip the buffering player makes at the beggining ?


as Kyublin kindly suggested in this thread, the player should be fed '0's while in UNREALIZED state.


2) Is that the solution ?

3) Does that mean that the player starts reading from the moment of creation?


I am asking this because this is the regular scenario:



fPlayer = javax.microedition.media.Manager.createPlayer(someCustomDataSource);

 4) how can I squeeze in the '0's before starting the player ?


Thanks !



Edit: typo: realized -> unrealized

"Listen carefully, I shall say this only once"
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: Playing without delay (MMAPI streaming).

The player starts the reading process as soon as it goes to prefetch state.