tags:

views:

356

answers:

1

We've a mpeg4 source that we would like to play in the media player. Our source is not in a file or on an rtsp server. It is hand coded to generate mpeg4 source on the fly. Imagine the data is coming from an unix pipe stream instead of rtsp or a file. How can I use that stream in media player?

+1  A: 

Android does not presently support streaming video other than through HTTP and RTSP, sorry.

CommonsWare
Thanks for the response. I just wanted to find out if through NDK we've any access to Media Player or if we can extend the existing Media player work. Has anyone tried any such things? Any insight into what kind of issues could pop up?
AFAIK, you cannot extend MediaPlayer through the NDK. For audio, you can use the NDK and AudioTrack to stream arbitrary stuff (e.g., SIP). However, I am not aware of a video equivalent to AudioTrack.
CommonsWare