Hi, To check if the issue is with your application, 1) run the same content locally see if buffering status is non zero. 2) run the content over http, and issue pause. This should make buffer status non zero
regards Shashank On Oct 13, 2:46 pm, Corentin_ <guy_coren...@hotmail.com> wrote: > Hi, > > I'm developping an application on Android 2.2. This application have > to read some h264 videos using HTTP protocol. > > To read a video, I'm using following methods : > > // INIT PART > mMediaPlayer = new MediaPlayer(); > mMediaPlayer.reset(); > mMediaPlayer.setOnErrorListener(this); > mMediaPlayer.setOnBufferingUpdateListener(this); > mMediaPlayer.setOnCompletionListener(this); > mMediaPlayer.setOnPreparedListener(this); > mMediaPlayer.setOnSeekCompleteListener(this); > mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); > > // SET DATASOURCE > mMediaPlayer.reset(); > mMediaPlayer.setDataSource(url); > mMediaPlayer.prepareAsync(); > > In prepareAsync callback : > public void onPrepared(MediaPlayer mediaplayer) { > mMediaPlayer.start(); > > } > > But, i'm logging current buffering percent in > OnBufferingUpdateListener callback ... it's always 0. Sometimes, a > same video can work, or not. I don't understand the problem ... > > Can I have some help ? > > Thanks, > > Corentin Guy -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en