Is there any way to play a video from a bytes stream in Android? I\'m using an specific communications middleware so I can\'t just pass the http/rtsp link to the MediaPlayer obj
Custom streaming in Android isn't as easy as I thought. I've managed to do it but only with very specific videos. MPEG4 Videos that are poorly interleaved seem to be streamable. The farest I've gotten is streaming this video:
http://www.pocketjourney.com/downloads/pj/video/famous.3gp
As Cipi answered me, most formats cannot just be packed in a bytes buffer and pass it to MediaPlayer. They need some headers, tails, etc. I'm not sure which format is contained within the aforementioned file, but I guess it's MPEG4.