Android playing Video data from a custom network stream?
- by Cinar
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.