Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to record user's voice from the website but without Flash?

How to record user's voice from the website without Flash? I want to use HTML5 but I found it will be hard to implement that. This site says this functionality is now only supported by the latest version of Chrome and Opera.

After searching the articles both here and the other site, I decide to find an alternative approach.

The scenario is: users will use different sort of platform (Android/iOS and other OS), but they access the same website and record their voice in their device and upload it later.

BTW: My purpose is that, as the users press the "Record" button on my web-page, the recording starts with his microphone. And as he presses the button again, the process stops. This can be on an iPad or a mobile phone so that he can't record his voice by some other software and store in his device then upload. They use their device to link my web-page to record voice. The webpage is not just for the users who operate on a PC.

Can I implement this function in client side via javascript? Or I should refer to Server side? What language and method should I adopt?

like image 985
Alston Avatar asked May 02 '12 10:05

Alston


People also ask

How do I record audio from a website?

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.


1 Answers

You can check google's web fundamental article on recording audio here : https://developers.google.com/web/fundamentals/media/recording-audio/

Its pretty easy to follow and it is device independent, obviously given correct browser support. You can get the audio recorded and saved on the local device or upload it to a server. Hope it helps.

oh, and on a note, its based on HTML5 and js. I don't know why you think implementing it using HTML5 is difficult but I hope this helps.

like image 155
shahburhan Avatar answered Oct 13 '22 00:10

shahburhan