Android playing Video data from a custom network stream?

Posted by Cinar on Stack Overflow See other posts from Stack Overflow or by Cinar
Published on 2010-03-13T04:17:24Z Indexed on 2010/03/13 4:27 UTC
Read the original article Hit count: 225

Filed under:
|
|
|
|

Does Android MediaPlayer can only work with file sources? I would like play media (video) from a network stream, but the stream comes in a non-standard protocol, so I have to somehow feed Android MediaPlayer with the data only.

Is there anyway to do that? I found a few web pages suggesting using a temporary file for the buffered media data etc. but I would like to minimize the I/O usage as much as I can, so I'm looking for a API only solution if there is any? how about JNI? but looks like the permissions going to be an issue with that also.

© Stack Overflow or respective owner

Related posts about android

Related posts about video