react-native-audio-streaming icon indicating copy to clipboard operation
react-native-audio-streaming copied to clipboard

the audio player does not stop when another application plays audio

Open hernanbruno97 opened this issue 7 years ago • 1 comments

the audio player does not stop when another application plays audio, for example a whatsapp audio

hernanbruno97 avatar Jun 11 '18 10:06 hernanbruno97

For android, what needs to be done is replace TelephonyManager with AudioManager. I have a custom fork with this implemented. Here is the relevant commit. It has several commits before it, so you won't be able to simply cherry pick it, hopefully the merge conflict isn't difficult. It also isn't properly tested yet, but it looks alright so far.

jeremy8883 avatar Nov 18 '18 10:11 jeremy8883