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.

On Oct 1, 11:03 pm, zohar lerman <[email protected]> wrote:
> 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

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to