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

the audio player does not stop when another application plays audio #143

Open
hernanbruno97 opened this issue Jun 11, 2018 · 1 comment
Open

Comments

@hernanbruno97
Copy link

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

@jeremy8883
Copy link

jeremy8883 commented Nov 18, 2018

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.

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

2 participants