I've tried to see if there's a way to record audio with HTML5 to no avail. I tried using this example but it didn't work. I'm guessing he really meant it when he said that it is not supported by any browser yet.
Am I missing something? perhaps it is already possible? What are my options to record audio on a browser-based application?
Open Source only please :)
The current HTML5 draft specification does not specify which audio formats browsers should support in the audio tag. But most commonly used audio formats are ogg, mp3 and wav. Your browser does not support the element.
The <source> element allows you to specify alternative audio files which the browser may choose from. The browser will use the first recognized format. The text between the <audio> and </audio> tags will only be displayed in browsers that do not support the <audio> element.
You might wanna have a look at HTML Media Capture and its API.
Ericsson labs already achieved this, see: here (Note: Note that the device element and the related APIs are not available in any browser yet, and the APIs may change before this happens.) But it gives you a rough idea about how it's done.
I am currently working on something like this myself, see: 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