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 focus processing on android is missing #72

Open
DovgopolsSerj opened this issue Feb 9, 2024 · 1 comment
Open

Audio focus processing on android is missing #72

DovgopolsSerj opened this issue Feb 9, 2024 · 1 comment

Comments

@DovgopolsSerj
Copy link

DovgopolsSerj commented Feb 9, 2024

I'm making an application for car headunits and there can be a player and a navigator on the screen at the same time.
When the navigator starts to say something the standard video_player pauses. But with FVP this behavior is lost.
For clarity:
With FVP:
https://drive.google.com/file/d/1IARpnnEJ74_0FaoMPz4IopOxS-tG0z87/view?usp=drive_link
No FVP (only registerWith( ) was deleted):
https://drive.google.com/file/d/1YUBALyfd-c53eqaKmC802BXtqIv25P9E/view?usp=sharing

@DovgopolsSerj
Copy link
Author

I think this issue can be closed.
It turned out to be quite easy to add standard behavior using the audio_session package: https://pub.dev/packages/audio_session
And even achieve much more flexible behavior than video_player provides.

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

1 participant