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.
https://github.com/edimuj/app-audioinput-demo
MIT License
161 stars 88 forks source link

stereo recording #76

Closed shi11 closed 5 years ago

shi11 commented 6 years ago

Hi, I'm trying out your plugin and first want to say great work! I'm specifically testing whether I can record in stereo.

In your wav-demo.js file, I added CHANNELS.STEREO to this block

captureCfg = { audioSourceType: parseInt(audioSourceType), channels: window.audioinput.CHANNELS.STEREO };

however I'm getting this error caught in stopCapture().

"undefined is not an object (evaluating 'r[n][e]')"

any ideas? thanks in advance, Seth

edimuj commented 6 years ago

It sounds like the plugin isn't properly installed in your app for some reason. Does this error occur in mobile or in a browser? Do the window.audioinput object actually exists?

edimuj commented 5 years ago

Since there haven't been any activity on this issue for some months now, I'm closing it. Feel free to open it again if there is any change or new information.