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. Install Android on my pocket pc


I'm new to Android & have heard its open source, but am not very clear
on a few things.

-Is it possible to download the sources & compile it for an Intel
Xscale processor as used by most pocket pc devices?

-If the above is true, is it possible to flash the device to Android
to make it the default OS?

I'd be interested in customizing the OS for HTC devices like the
Blueangel (XDA IIs) & Universal (XDA exec).



2. onTap display toast or message


I looked for any information about onTap event processing for itemized
overlays in this group. There is a lot of useful information but I
could not find the answer to one question.

The tutorial by Mark Murphy on itemized overlays,

describes how to generate a Toast message whenever an onTap event
occurs. In his case, the custom itemized overlay activity is included
in the main activity. In my case, it is not. My custom itemized
overlay activity is included in the application package as a public

This means that the line

Toast.makeText(NooYawk.this, items.get(i).getSnippet(),

will not work "as is".

I have had trouble in correctly identifying the context for the Toast.
Attempts to use the main class' (the one calling the custom itemized
overlay class) context have not worked. I would appreciate it if
anyone could suggest how I could resolve this issue. Incorporating the
custom itemized overlay class in the main class is not a desirable

Alternatively, I would appreciate any suggestions for generating a
display of the title and/or snippet information for markers on a map.


Alex Donnini

P.S. the onTap event works fine (Log.i statements in the onTap method
display the correct information for each marker tapped)

3. How to get attributes of KeyboardView?

4. Compiling and running modified code

5. How to pass User created object between two Activity in same Application?

6. Issue creating new service as part of framework

7. URL commands when calling Youtube through Intent