02-16-2010 08:10 AM - edited 02-17-2010 07:36 AM
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(some
CustomDataSource); fPlayer.realize(); fPlayer.prefetch(); fPlayer.start();
4) how can I squeeze in the '0's before starting the player ?
Edit: typo: realized -> unrealized