edimuj / cordova-plugin-audioinput

This iOS/Android Cordova/PhoneGap plugin enables audio capture from the device microphone, by in near real-time forwarding audio to the web layer of your application. A typical usage scenario for this plugin would be to use the captured audio as source for a web audio node chain, where it then can be analyzed, manipulated and/or played.

Home Page:https://github.com/edimuj/app-audioinput-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polyfill getUserMedia etc. so that plugin can be used seamlessly on all platforms

edimuj opened this issue · comments

commented

I believe that most users of this plugin, use it as a 1-1 substitute for getUserMedia, since it still isn't available in the iOS WebViews. It would be tasteful to be able to hide the custom API of this plugin behind a polyfill for getUserMedia. On platforms where getUserMedia exists, it would be returned instead, while on iOS the plugin is used to power the same thing.

This would require implementing parts of:

Including the events associated with the above.