Vic Goldfeld
Vic Goldfeld

Reputation: 1189

How to record audio in a Chrome Extension?

What's the simplest way to setup a chrome extension to record audio from the microphone?

Don't know of other possible alternatives (HTML5 isn't ready yet, it seems) but I welcome anything functional and simple to implement and hook into a chrome extension.

Upvotes: 8

Views: 6635

Answers (2)

Vic Goldfeld
Vic Goldfeld

Reputation: 1189

Finally a native solution appeared: Introducing getUserMedia

Upvotes: 3

Gaël Barbin
Gaël Barbin

Reputation: 3919

You cannot use the speech input API, since it will record only the microphone. Okay, you can grab the speakers like that, but it's clearly not the solution. Using a NPAPI plugin is a solution. You'll can identify the sound made by a particular tab and after record that source, but it is no longer web dev.

Upvotes: 1

Related Questions