title: Streaming webcam and mic inputs through browser
body: <p><strong>Short version:</strong><br>
  I need an in-browser solution to deliver the webcam and mic streams to a server.</p>
  
  <p><strong>Long version:</strong><br>
  I'm trying to create a live streaming application. So far I've only managed to figure out this workflow:</p>
  
  <ol>
  <li>Client creates stream (some transcoder is probably required here)</li>
  <li>Client sends(publishes?) stream to server (basically hosts an <code>RTMP</code>/other stream that should be accessible by my server)</li>
  <li>Server transcodes, transrates, etc. and publishes the stream to a CDN</li>
  <li>Viewers watch published stream</li>
  </ol>
  
  <p>Ideally, I'd like a browser-based solution that requires minimal setup from the client's end (a Flash plugin download might be acceptable) and streams the webcam and mic inputs to the server. I'm either unaware of the precise keywords or am looking for the wrong thing, but I can't find an apt solution.</p>
  
  <p>Solutions that involve using <code>ffmpeg</code> or <code>vlc</code> to publish a stream aren't really what I'm looking for, since they require additional download and setup, and aren't restricted to just webcam and mic inputs. <code>WebRTC</code> probably won't serve the same quality but if all else fails, I think it can get the job done, at least for some browsers.</p>
  
  <p>I'm using Ubuntu for development and have just activated a trial license for Wowza streaming server and cloud.</p>
  
  <p>Is <code>ffmpeg</code>/<code>vlc</code> et. al. the only way out? Or is there something that can do the job in a single browser tab?</p>