How can I use VideoView to streaming without buffering?

by Kelvin » Wed, 14 Apr 2010 03:23:51 GMT

Sponsored Links
 I have a question.
When I use the VideoView to play the RTSP streaming, the VideoView
will buffering some cache buffer.
Is there any method to tell the VideoView DON'T buffer?

My code:
String VideoUri = "rtsp://";
mVideoView = (VideoView) findViewById(;

Is anybody help me?


How can I use VideoView to streaming without buffering?

by MobDev » Wed, 14 Apr 2010 19:32:49 GMT

 well most of the time buffering is just part of streaming...
it's there so that a user will get a more seamless playback of the
The flipside is that it starts a little later because it has to buffer
beforehand, and when it has enough data to play a specific amount of
time seamlessly it will start..
Cutting out the buffering might mean frequent hickups during play...
The first case might be acceptable for users (buffering) the second
one definitely isn't (frequent hickups)...


Sponsored Links

How can I use VideoView to streaming without buffering?

by Chirag » Fri, 23 Apr 2010 08:04:55 GMT

 When you want live video streaming, second case is fine. Is there any
way to reduce buffer size???


Other Threads

1. SMS Question

How can I tell, using "android.telephony.SmsManager," if the phone
supports SMS?  Will the getDefault() value be null?  Anyone have any


2. Activity and Interface

I've a problem to solve about pass reference between objects Activity.
Suppose follow situation with 3 class and 1 interface:

I don't know how pass the reference of MyEvents (_engine) to ActivityB
from ActivityA::StartActivityB()

public interface MyEvents {
        public abstract void MakeThis();
public class Engine implements Runnable, MyEvents {
        void Init(){
                _th = new Thread(this);
        public void run() {
        void MakeThis(){

public class ActivityA extends Activty {
        Engine _engine;
        public void onCreate(Bundle savedInstanceState) {
                _engine = new Engine();
                _engine.Init(); // start thread
        void StartActivityB(){
                Intent intent = new Intent(ActivityA.this, ActivityB.class);


public class ActivityB extends Activty {
        MyEvents _myEvent;

        ActivityB(MyEvents myEvent){
                _myEvent = myEvent;

        public void onCreate(Bundle savedInstanceState) {



3. moved Code: can't open a browser anymore (via FBRocket)

4. Icons revisited

5. No stats? 0 total; 0 active installs while 5000 AdMob impressions??

6. dynamic receiver enable/disable?