title: Transfer real-time video stream to server using Android
body: <p>We have to capture the real-time video using Android Camera, and send them to the server, then other users would read them through the browser or something else.</p>
  
  <p>I have Googled and searched at SO, and there are some examples about video stream app like:</p>
  
  <p>1 Android-eye: <a href="https://github.com/Teaonly/android-eye" rel="noreferrer">https://github.com/Teaonly/android-eye</a></p>
  
  <p>2 Spydroid-ipcamera:<a href="https://code.google.com/p/spydroid-ipcamera/" rel="noreferrer">https://code.google.com/p/spydroid-ipcamera/</a></p>
  
  <p>However it seems that they have different environments, most of the apps will start an HTTP server for stream requests, then the client will visit the page through the local network and see the video.</p>
  
  <p>Then the video stream  source and the server are both the device like this:
  <img src="https://i.stack.imgur.com/BxkFt.png" alt="enter image description here"></p>
  
  <p>But we need the internet support like this:
  <img src="https://i.stack.imgur.com/2qLdG.png" alt="enter image description here"></p>
  
  <p>So I wonder if there are any alternative ideas.</p>