hyochan / react-native-audio-recorder-player

react-native native module for audio recorder and player.
MIT License
681 stars 203 forks source link

In Android, when recording, if other apps are using the microphone, no exception is thrown #614

Open tamil-zinnect opened 3 weeks ago

tamil-zinnect commented 3 weeks ago

While recording audio on iOS, if other apps are simultaneously using the microphone, an exception is thrown. However, in Android, no exception is thrown in such a scenario. 3.6.7

0.74.2

Android

Throw exception while other apps using microphone.

THrowing exception for IOS. Not throwing for Android.

Attempt to use the microphone from another app concurrently, such as initiating a voice call or using a different recording app. Now, use audio player start record Observe that there's no exception thrown by the Android system, allowing both apps to access the microphone simultaneously.