1

I have found that the default video buffer size was set to 8 seconds in Gingerbread, so any clips shorter than this could not be played.

Is there any way to change default buffer size on streaming MediaPlayer?

Adinia
  • 3,722
  • 5
  • 40
  • 58
Renjith
  • 546
  • 1
  • 8
  • 28

1 Answers1

2

As far as I know, there is not API support to do this. Soz.

All you can do is monitor how much of the buffer is filled.


Since you are doing this by yourself, change this:

   static int64_t kHighWaterMarkUs = 10000000ll;  // 10secs

It is the buffering time, and this :

  static const size_t kHighWaterMarkBytes = 200000;
Reno
  • 33,594
  • 11
  • 89
  • 102
  • i am building the android source code to fix this issue. Which file do i need to change it . i have checked Awesomeplayer.cpp – Renjith Nov 11 '11 at 05:28