I want to record audio using javascript and html5, there is device element in html5 but i dont know to use it. Found no examples for the same.
One of the best ways to record audio on a website is to use a Chrome Extension like Audio Capture. This tool can be easily installed on the browser, ready to use whenever you need to record audio on any tab. It also allows you to mute all other tabs to avoid accidently recording them as well.
No current stable browser supports the Stream API (formally known as <device>
), so in practical terms — you can't. The lack of examples using it is a consequence of this.
If you want to play with it, you have to use development branches of Chrome. There is a demo of voice input here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With