record icon indicating copy to clipboard operation
record copied to clipboard

Unable to get microphone audio from connected bluetooth headset

Open premingiet opened this issue 2 years ago • 7 comments

I have connected Bluetooth headset to my phone, but still audio is received from phone internal microphone only. How do i switch it to Bluetooth microphone ? Or maybe add some option to choose a microphone from list of input devices. I think adding option to choose which device to take input from will help a lot. Currently its unusable for me because Bluetooth microphone is not supported.

premingiet avatar Jul 18 '22 05:07 premingiet

I also need to be able to use a bluetooth device. Would be super grateful if you could add device selection for android/ios. EDIT: I see it's already on the roadmap. Thanks!

KieranSteyn avatar Jul 18 '22 12:07 KieranSteyn

I have some time and can help with the development. let me know if you need a hand.

KieranSteyn avatar Jul 18 '22 12:07 KieranSteyn

I guess your platform is Android? If so, this is not implemented as you can see in the readme.md.

llfbandit avatar Jul 18 '22 15:07 llfbandit

yes my platform is android. But i think this is a necessary feature. I am actually developing for both iOS and Android, but as soon as i realised its not working for android, i didn't test for iOS either. I mean it needs to work for both platforms, orelse what's the point of making a cross platform app without support for 1 platform.

premingiet avatar Jul 19 '22 06:07 premingiet

OK so if you're in a rush please fill a PR

llfbandit avatar Jul 19 '22 15:07 llfbandit

@KieranSteyn any help is very welcome for sure. You may focus on ios mic selection (code is nearly available) or implement Bluetooth feature on Android (which is the main purpose of this issue).

llfbandit avatar Jul 20 '22 15:07 llfbandit

Unfortunately, recording from bluetooth on Android is very limited. Sample rate must be set to 8kHz which is very low even for voice recording and number of channels to 1 only (mono). https://developer.android.com/reference/android/media/AudioManager#startBluetoothSco()

llfbandit avatar Aug 22 '22 08:08 llfbandit

@llfbandit Hello, is there any chance to see some code for android implementation. I'm okay with 8 kHz, just need it for Android by any means

niktimmans avatar Nov 07 '22 19:11 niktimmans

Hi, any update on this? it's still not working with Bluetooth

AliKhan6 avatar Jun 13 '23 12:06 AliKhan6

Would also like to use a bluetooth device for recording audio. Any news?

bejaeger avatar Aug 12 '23 12:08 bejaeger

@llfbandit Just wanted to check when this is going to available? Thank you for all your support.

patelnirav48 avatar Oct 17 '23 12:10 patelnirav48

@llfbandit Just wanted to check when this is going to available? Thank you for all your support.

I've already modify this package so can record through microphone bluetooth . Check my repo: https://github.com/rezins/record.5.0.1 . I've also add pull request so the author can merge or not.

rezins avatar Oct 23 '23 04:10 rezins

@llfbandit please take a look on this

@llfbandit Just wanted to check when this is going to available? Thank you for all your support.

I've already modify this package so can record through microphone bluetooth . Check my repo: https://github.com/rezins/record.5.0.1 . I've also add pull request so the author can merge or not.

wongcheehong avatar Oct 24 '23 02:10 wongcheehong

@llfbandit please take a look on this

@llfbandit Just wanted to check when this is going to available? Thank you for all your support.

I've already modify this package so can record through microphone bluetooth . Check my repo: https://github.com/rezins/record.5.0.1 . I've also add pull request so the author can merge or not.

He closed my issue 10 minutes after I created it, but hasn't replied to this in 3 months. I wll try to use @rezins package as it also allows background recording in iOS, even if it means missing out on updates from this package.

darajava avatar Jan 09 '24 16:01 darajava

@llfbandit please take a look on this

@llfbandit Just wanted to check when this is going to available? Thank you for all your support.

I've already modify this package so can record through microphone bluetooth . Check my repo: https://github.com/rezins/record.5.0.1 . I've also add pull request so the author can merge or not.

He closed my issue 10 minutes after I created it, but hasn't replied to this in 3 months. I wll try to use @rezins package as it also allows background recording in iOS, even if it means missing out on updates from this package.

I think the author considering my PR code, that record automatically use microphone bluetooth. Its should has an platform channel to active microphone bluetooth so user can have a choice to use it or not.

This sunday I will refactor my code, hope @llfbandit can accept my PR . thanks.

rezins avatar Jan 10 '24 01:01 rezins

@llfbandit please take a look on this

@llfbandit Just wanted to check when this is going to available? Thank you for all your support.

I've already modify this package so can record through microphone bluetooth . Check my repo: https://github.com/rezins/record.5.0.1 . I've also add pull request so the author can merge or not.

He closed my issue 10 minutes after I created it, but hasn't replied to this in 3 months. I wll try to use @rezins package as it also allows background recording in iOS, even if it means missing out on updates from this package.

I think the author considering my PR code, that record automatically use microphone bluetooth. Its should has an platform channel to active microphone bluetooth so user can have a choice to use it or not.

This sunday I will refactor my code, hope @llfbandit can accept my PR . thanks.

@rezins can you please open PR for that. Thanks

harshmdr avatar Feb 02 '24 10:02 harshmdr

Sorry for taking couple of weeks. Please take a look https://github.com/llfbandit/record/pull/284

rezins avatar Feb 11 '24 13:02 rezins