title: Play video in Android from a bytes stream
body: <p>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 object.</p>
  
  <p>I was wondering if I can wrap my stream with a local http/rtsp link so I can play the stream instead of waiting until the file is downloaded to play it.</p>
  
  <p>My middleware works over TCP so I've also thought that I can wrap my rtsp datagrams with a tcp datagram and interpret them on the client somehow, after removing the TCP headers.</p>
  
  <p>I'm really surprised that I can't just pass a bytes stream to the MediaPlayer.
  Thanks in advance.</p>