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://192.168.5.121:6666/live/h264";
mVideoView = (VideoView) findViewById(R.id.video_view);
mVideoView.setVideoURI(Uri.parse(VideoUri));
mVideoView.start();

Is anybody help me?
Thanks.

--



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
video/audio...
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. Failure loading drawables on Cupcake/1.5 when building with Froyo/2.2 SDK

Have you resolved this issue ? I have the exact same problem .







-- 

2. Developer control of Android Market Server license settings

I was looking for per-application control over retry until and other
license settings from the developer console. This appears not to be
available. Do I implement a more lenient ServerManagedPolicy by
twiddling with these settings and associated preferences in
ProcessServerRequest? My app operates fine in airplane mode, and I can
anticipate it being used for extended periods of time where internet
connectivity is unavailable.

-- 

3. how can I check my app stopped by which home key or other apps

4. Public Custom components

5. Can't make restartPackage() / killBackgroundProcesses() to work

6. How to unload image from memory?

7. Are external libraries limited by Android version?