title: HTML5: play on speakers stream from microphone on Ubuntu
body: <p>I am learning html5 and want to try to play on speakers what I say on microphone. So I wrote the following js code:</p>
  
  <pre><code>navigator.getUserMedia = navigator.getUserMedia ||navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
  
  var aCtx;
  var analyser;
  var microphone;
  if (navigator.getUserMedia) {
      navigator.getUserMedia(
          {audio: true}, 
          function(stream) {
              aCtx = new AudioContext();
              analyser = aCtx.createAnalyser();
              microphone = aCtx.createMediaStreamSource(stream);
              microphone.connect(analyser);
              var destination=aCtx.destination;
              analyser.connect(destination);
          },
          function(){ console.log("Error 003.")}
       );
  } 
  </code></pre>
  
  <p>I test it on firefox 47 and ubuntu 14. I see the panel to share my microphone, I select share and nothing  I hear nothing. How to fix it?</p>
  
  <p><strong>EDIT:</strong>
  However, it works on firefox 47 in windows7. But in ubuntu I have all drivers installed and I use skype, youtube etc everything works except this js script.</p>