title: Access Android phone camera stream using ffmpeg
body: <p>I am developing an application that performs live streaming. Currently, I am able to stream a local video from my SD card to my Wowza streaming server successfully.</p>
  
  <p>This is the command that I fire from my FFMPEG based Android project</p>
  
  <pre><code> ffmpeg -re -i /sdcard/sample.mp4 -c copy -f flv rtmp://192.168.1.34:1936/live/myStream
  </code></pre>
  
  <p>Now, I want to send my camera stream to my streaming server.
  I tried using the below command but it does not work since the /dev/video0 device is denied permission.</p>
  
  <pre><code>   ffmpeg -re -i /dev/video0 -c copy -f flv rtmp://192.168.1.34:1936/live/myStream
  </code></pre>
  
  <p>Can anyone tell me the right way to stream the camera feed using ffmpeg on Android </p>