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. [WTB] Kumpulan ROM n tutorial HTC Desire

Rekans, mohon maaf atas thread saya yang mungkin terdengar agak aneh.
Saya baru punya "istri" baru, HTC Desire, dari yang sebelumnya pengguna
spica.
Sumpah, bingung abis soal modding desire dari yang saya baca di internet.
Daripada pusing dan resiko bricked membayangi, lebih baik saya ambil jalan
pintas aja deh...

Mohon berbaik hati menawarkan cd / dvd yang berisi software untuk rooting,
unrevoked atau apalah itu, sampai ke kumpulan ROM yang running well di
desire, MIUI, CM, dll.

Kebetulan karena saya juga tidak sempat dan tidak bisa belajar ataupun
download file2 besar dari internet untuk saat ini.
Mohon japri ke:
william_li...@yahoo.co.id
Untuk biaya yang harus saya bayarkan dan no rek BCA nya.

Terima kasih sebelumnya

Regards
William

-- 
===============

2. Tanya : Widget apa aja yg mantab?

Dear all,

Mau tanya, pasang widget apa aja ya yg mantab?

Gue barusan coba 3D-weather widget...bagus juga.

Mari bergabung dengan komunitas kami di www.facebook.com/diskonmantab lalu klik 
LIKE.
Nantikan yang MANTAB dari kami mulai 17 Maret 2011.

DiskonMantab.com
...cuma yang MANTAB yang ada di sini !

-- 
===============

3. Paging picopad users

4. Closed : WTA setting apn Flexi

5. sqlite SQLiteStatement please help with extending my INSERT statement

6. Setting up Android App in Eclipse

7. import package vs import class