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

Audio continues on phone call #50

Open
michaelspeedcode opened this issue Apr 20, 2020 · 3 comments
Open

Audio continues on phone call #50

michaelspeedcode opened this issue Apr 20, 2020 · 3 comments

Comments

@michaelspeedcode
Copy link

Currently, if you receive a phone call and the audio is playing, you can hear the caller and the audio continuing in the background. Ideally the audio should pause when you answer the call.
Thanks!

@lecicdjuro
Copy link
Contributor

That should be handled in your project.
You should observe AppLifecycleState and update player state when that happens

@michaelspeedcode
Copy link
Author

michaelspeedcode commented Apr 21, 2020 via email

@michaelspeedcode
Copy link
Author

Just an update:
The AppLifecycleState is Pause when you get a phone call, so you could pause the audio here. But you also get that even when you enter the app switcher and some other places. So not really an ideal solution.

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