How can I know if I have headphones connected to my computer? My goal is to get it using HTML5 + JavaScript.
The next page shows all the audio output devices, but there is no way to know if the active device is about headphones or not.
The only thing I want to know is if there are headphones connected with JavaScript and HTML5.