Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headphones without microphones (Android) #12

Open
fcvalise opened this issue Mar 11, 2020 · 2 comments
Open

Headphones without microphones (Android) #12

fcvalise opened this issue Mar 11, 2020 · 2 comments

Comments

@fcvalise
Copy link

Thank you for this pluggin, it saves me lot of time :)

I noticed that nothing is detected if I plug headphones without microphone,. Does that makes any sense to you ?

Thanks again for your work !

@SniperED007
Copy link

add TYPE_WIRED_HEADPHONES to the android plugin:

if(audioDeviceInfos[i].getType() == AudioDeviceInfo.TYPE_BLUETOOTH_SCO || audioDeviceInfos[i].getType() == AudioDeviceInfo.TYPE_WIRED_HEADSET || audioDeviceInfos[i].getType() == AudioDeviceInfo.TYPE_WIRED_HEADPHONES)

alamboley added a commit that referenced this issue Apr 30, 2020
@juanma-ivre
Copy link

Thank you very much for the plugin and this addition was golden for headphones without mic :D

From my testing this is working for Sony inline mic headphones but unfortunately not for Apple in line mic headphones:

image (5)

Do you know if there is another device type for these kind of headphones?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants