Monday, February 7, 2011

[android-developers] Re: BufferPercentage never reaches 100 %

Anyone?

On 27 jan, 11:04, Johannes De Smedt <johannes.desm...@gmail.com>
wrote:
> Hello,
>
> I have a video app that plays videos from urls. I have a
> MediaController that displays the progress of the playback and of the
> buffering.
> I have tested my app on different devices (HTC Magic - android 1.5  //
> Samsung apollo - android 2.1update1) and on it works fine. However
> when I test my app on the HTC desire (android 2.2) the
> bufferpercentage never reaches 100.
> My MediaPlayer.OnBufferingUpdateListener onBufferingUpdate
> (MediaPlayer mp, int percent) never gets called with percent = 100. It
> stops around 95/97 and when the video reaches the end, it sometimes
> gets updated to 99 percent, but almost never to 100. It even occurs
> that the playback progress is bigger then the buffering progress...
>
> Also on the Desire the bufferingPercent value sometimes decreases:
> when it is stuck at e.g. 93% it occurs that it decreases to 92% and
> back...
>
> What could be the cause of these weird things?
>
> Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment