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. Animations Persistance


I am looking for a way for animations to persist in my application.
For example, if I user clicks one button I want to run a scale
animation on a view, to scale the view 200%. Then if a user clicks
another button I may want to run a tanslate animation to slide the
view 50px's to the left.

I can set up both of these animations to run in isolation, and to
persist afterwards by setting fillAfter to true. But each time a
button is pressed the view goes back to it's original position and
scale, before the animation is run. E.G. I cannot get my scaled view
to move 50px's o the left. It always reverts to an unscaled view, and
then slides this left.

Any advice, to get the transformations to persist for the lifetime of
the views would be much appreciated.




2. HashMap via http tunneling


how can i connect an Android application
to a servlet engine (es. tomcat) by sending
an HashMap  via http tunneling?

In my Android application I tried to
send/receivce a HashMap by
using the but, as
descrived in the documentation, the
method getOutputStream() returns "UnknownServiceException".

Is there an alternative solution?



3. T-Mobile G1: How to properly resume View's focus when Activity resumed from screen black-out?

4. Implementing Parcelable with Eclipse - " is in the way of MyClass.aidl"

5. battery level

6. Dialog with No Title

7. Android Shell