How to stream video

by zohar lerman » Sat, 02 Oct 2010 14:04:05 GMT


Sponsored Links
 Hi,

I want to play video file that exists in one of my servers.
I am using MediaPlay and VideoView classes and it works fine but the
problem is that the video start to play only when it finished
downloading the whole file.

How can i stream it, meaning play the video while it continues to
download?

thanks

-Z

--



How to stream video

by Doug » Sat, 02 Oct 2010 15:07:16 GMT


How to stream video

by Indicator Veritatis » Sat, 02 Oct 2010 18:19:27 GMT


 You need to serve it with a streaming server instead of a mere HTTP
server. Red5 will work. Or Darwin. Or ffserver. You'll have to decide
which is best for your needs. Darwin can be hard to install and
configure, but it is very good and handles many streaming formats/
protocols. ffserver handles only RTP/RTSP/HTTP.

And if you are using the stock Android Media Player, you must serve it
in RTP/RTSP, not RTMP (which MediaPlayer does not understand). See
 http://stackoverflow.com/questions/1201374/rtsp-client-in-android for 
more details.




--



How to stream video

by Indicator Veritatis » Sun, 03 Oct 2010 17:32:34 GMT


 Unfortunately, the Quicktime tutorial link on that thread is no longer
a live link. Nor does the obvious search at the Apple site turn one
up.



> 



Other Threads

1. asmack as apposed to smack

Hi,

I have had a brief look at smack and android... but I have been trying
long and hard to get my hands on the documentation for 'asmack' as
apposed to 'smack'... but have failed so far.... although I am able to
locate the documentation for 'smack' ( ie
http://www.igniterealtime.org/builds/smack/docs/latest/documentation/index.html
). would it be possible for you to point me in the right direction.

I have searched their website but have still not been able to locate
the actual asmack documentation... (ie http://code.google.com/p/asmack/)

much appreciated....
eehksar

--

2. build libmedia for nexus one

Hi,
Building libmedia from the git kernel will obviously not use
snapdragon hardware features on the N1. Mu question is, will it even
work at all with the existing HTC-provided kernel? I don't want to
reflash the entire kernel, as I want the app to work on "normal" N1
phones.

I'm trying to implement a real-time video streaming app on the N1.
Using the Java-space MediaPlayer with RTSP gives me a 5-second delay
introduced, I assume, by PVPlayer's buffering. So I figured I'll have
to build libmedia and use software decoding to be able to display
frames as they come in. If anyone has experience with this and could
give me some pointers I'd be grateful. Thanks.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Dynamic view with two layout

4. Papago

5. Miley with Motoblur was WTB: Motorola Qliq With Motoblur BNIB

6. Miley with Motoblur was WTB: Motorola Qliq With Motoblur BNIB

7. HTTP post to non-standard port over Wifi?