title: Integrating javascript with computer sound input device
body: <p>I am developing an app with javascript which records audio using html 5 audio context. I want to develop a feature which needs whether the current active sound device is connected microphone or default laptop/computer microphone and adjust its settings like decreasing its volume. Is there a way to achieve this ?  </p>