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

Standalone session.MediaButtonReceiver #361

Closed
ariefwijaya opened this issue Jun 15, 2020 · 2 comments
Closed

Standalone session.MediaButtonReceiver #361

ariefwijaya opened this issue Jun 15, 2020 · 2 comments
Assignees
Labels
1 backlog enhancement New feature or request

Comments

@ariefwijaya
Copy link

Is your feature request related to a problem? Please describe.
Currently, I'm using flutter_sound to recording audio only and audio_service plugin to play audio background which also use MediaButtonReceiver. But I notice that flutter_sound also using that kind of receiver. It makes MediaButton in Notification Control doesn't respond to the background task.

Describe the solution you'd like
Regarding to avoid the conflict or even split the receiver so audio_service can use it without any problem. It might be useful to use unique MediaButtonReceiver. Is that possible?

@ariefwijaya
Copy link
Author

I Solved this by fork flutter_sound and remove their MediaButtonReceiver receiver from manifest .

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1 backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants