title: Android Live Streaming based on javaCV + FFMpeg crashes by adding red5 link
body: <p>The Android application code is from:
  <a href="http://www.walking-productions.com/notslop/2013/01/16/android-live-streaming-courtesy-of-javacv-and-ffmpeg/" rel="nofollow">Android Live Streaming courtesy of JavaCV and FFMPEG</a></p>
  
  <p>It streams the live camera video from the device.</p>
  
  <p>I follow one comment's instruction (Yoshio Numai), to use Red5 as the stream server.
  By Red5 itself, I can successfully use simpleBroadcaster and simpleSubscriber to stream and display the live camera (from the computer) steam.</p>
  
  <p>In the MainActivity.java, I change the code as below:</p>
  
  <pre><code>private String ffmpeg_link = "rtmp://192.168.1.105/oflaDemo/red5StreamDemo"; 
  </code></pre>
  
  <p>And I can start the app in my Android device (Nexus 4).
  after click "start", the app crash, pops out a small window, saying:
  "Unfortunately, JavaCV 0.3 Stream Test has stopped. OK."</p>
  
  <p>Once I click the OK button, I find the app is still live in the task list.</p>
  
  <p>But the same thing will happen. 
  What's wrong here?</p>