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. Quick Search Box - Getting results in "All"

I can get search results in my app's search area (selecting the app
icon in the 2.3 quick search box to restrict the search to my app).

However, i dont see any of my results when All is selected.  Does
android just deprioritize them?  What determines what search results
show up in the All category?  Is there something I need to do?

Thanks

-- 

2. username and password for sample sync adapter

Hi,

I am very new to android. I wanna see my app in account manager. How to do 
that????

I just added sample code in android. Where do i keep 
samplesyncadapter_server files?????

In apache....

Pls assist me...

Thanks.

-- 

3. [WTA] Lagfix Samsung Galaxy S

4. Force close after adding resources and textview

5. Galaxy Tab bisa jalanin Flash ?

6. Motorola DEFY LCD

7. Condition compile for the Android JAVA code