title: WebRTC - Browser doesn't ask for mic access permission for local html file
body: <p>I have some simple webRTC code which uses <code>getUserMedia</code> to gain access to user's mic. Now when I load that html file  (saved at my localhost) in my browser, the browser doesn't ask for mic access permission and thus get failed to get access.</p>
  
  <p>But when I run the same html inside the w3schools.com editor, it asks for mic access permission and upon allowing it to access my mic, it works fine...</p>
  
  <p>Why is this strange behaviour?</p>