title: How to programatically remove microphone permission given to my webapp?
body: <p>After I obtained microphone permission with <code>navigator.mediaDevices.getUserMedia({ audio: true })</code> and done everything I want with media stream how can I remove microphone permission and remove this annoying icon from tab and toolbar?</p>
  
  <p><a href="https://i.stack.imgur.com/BC5bt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BC5bt.png" alt="microphone icon"></a></p>
  
  <h3>edit</h3>
  
  <p>After inspecting <code>LocalMediaStream</code> object I've found <code>stop()</code> function in prototype and it worked!</p>