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

fix when play music in background thread, play state will change wrong #1335

Open
wants to merge 1 commit into
base: minor
Choose a base branch
from

Conversation

zhushenwudi
Copy link

output.mp4

screenshot-20240924-070517

When I play with other music player, click a home widget to play with just_audio, it will throw a exception from native core.
At this point, we should catch the exception and change the playback status to stop.
Or just_audio can provide the ability to interrupt other audio, I think both are possible.

@ryanheise
Copy link
Owner

Are you able to link this to a bug report? This will help me to reproduce the issue and test your fix. Can you reproduce this without a home widget and maybe just the media notification carousel?

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

Successfully merging this pull request may close these issues.

2 participants