react-native-webrtc / react-native-callkeep

iOS CallKit framework and Android ConnectionService for React Native
ISC License
925 stars 445 forks source link

Issue/st 5786 bluetooth #787

Closed ChrisLFieldsII closed 5 months ago

ChrisLFieldsII commented 5 months ago

This PR makes it so that getAudioDevices only cares about bluetooth devices that work with telephony.

I believe the A2DP bluetooth type is for the audio flag? It basically is always returned even with the "Calls" bluetooth setting OFF. However the SCO bluetooth type is only returned when the "Calls" bluetooth setting is ON.

So the fix should only be including the SCO type as "Bluetooth".