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

bluetooth issue #77

Closed libyenter closed 5 years ago

libyenter commented 6 years ago

It's a very good plugin, really something I'm looking for.

I was playing your example code within an ionic APP on my iPhone, everything is fine, but I met a problem when I connect my Bluetooth earphone, the audio is still play to the speaker but not to the earphone (the wireless connection is ok, because when I play the Apple Music, it's in the earphone).

What I mean is I would like capture the signal from the mic in iPhone, and play it back through the Bluetooth earphone instead of the speaker in iPhone.

Do you know any work around for that?

Thank you very much!

edimuj commented 6 years ago

I would use another plugin for that, like for example: https://github.com/danielflippance/audiotoggle or https://github.com/saghul/cordova-plugin-audioroute

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.