title: How request microphone access in html5
body: <p>i have code like this</p>
  
  <pre><code>function initAudio() {
      if (!navigator.webkitGetUserMedia)
          return(alert("Error: getUserMedia not supported!"));
  
      navigator.webkitGetUserMedia({audio:true}, gotStream, function(e) {
              alert('Error getting audio');
              console.log(e);
          });
  }
  
  window.addEventListener('load', initAudio );
  </code></pre>
  
  <p>my output in console is this</p>
  
  <pre><code>NavigatorUserMediaError {code: 1, PERMISSION_DENIED: 1} 
  </code></pre>
  
  <p>why permission deny for me?
  I try to make audio recorder from source code of this page <a href="http://webaudiodemos.appspot.com/AudioRecorder/index.html" rel="nofollow">http://webaudiodemos.appspot.com/AudioRecorder/index.html</a>   </p>