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

Workaround for issues #518 #870 #1234

Open
wants to merge 2 commits into
base: minor
Choose a base branch
from
Open

Workaround for issues #518 #870 #1234

wants to merge 2 commits into from

Conversation

AErmek
Copy link

@AErmek AErmek commented Apr 29, 2024

This is just a workaround for issues #518 #870, not an official solution. And not tested on iOS devices.

I think these two issues are closely related to this audio_service 987 PR pull requests solution

_playerAudioHandler = _PlayerAudioHandler(
initRequest,
addPlaybackEventMessageError: (error, stackTrace) {
if (eventController.isClosed) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workaround will not work.
eventController already closed, because disposePlayer called and after that player?.release();

Future<void> release() async {
    eventController.close();
    await _audioHandler.stop();
  }

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