Question

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 :)

Was it helpful?

Solution

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.

OTHER TIPS

This is the only solution within iOS 6 that I've found so far:

Youtube video showing how it works

The source can be found here: GitHub Repository Link

It uses an workaround by using iOS6's camera plugin's record features to record video and audio and uploads that to the server. Then FFMPEG crunches the video and extracts the audio as a .wav file.

With all the limitations and unfinalized HTML 5 specs, I think this is the only way for it to work. I hope this helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top