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

Broadcast event error: Operation aborted #41

Open
Febinjohnson96 opened this issue Jul 17, 2024 · 1 comment
Open

Broadcast event error: Operation aborted #41

Febinjohnson96 opened this issue Jul 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Febinjohnson96
Copy link

Febinjohnson96 commented Jul 17, 2024

Which API doesn't behave as documented, and how does it misbehave?
Just_Audio_Windows 0.2.1 , is used. and the mobile implementation is working fine using just audio. An audio is assigned to a button and when clicked the, it throws Broadcast event error: Operation aborted and the windows app crashes..

Minimal reproduction project
Provide a link here using one of two options:
1.
2. .

To Reproduce (i.e. user steps, not code)
Steps to reproduce the behavior:

  1. Just_Audio is used for android implementation
  2. There's buttons which contain an audio assigned, clicking it throws this error
  3. This crashes the app itself
  4. See error below

Error messages

[ERROR:flutter/shell/common/shell.cc(1055)] The 'com.ryanheise.just_audio.events.e17c1f22-b165-4ec9-aeb9-2b503967b6ac' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
[ERROR:flutter/shell/common/shell.cc(1055)] The 'com.ryanheise.just_audio.data.e17c1f22-b165-4ec9-aeb9-2b503967b6ac' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
[just_audio_windows] Broadcast event error: Operation aborted
Lost connection to device.

Expected behavior
Able to complete the action which is a button click

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Brave

Smartphone (please complete the following information):

  • Device: Andorid
  • OS: Android 13

Flutter SDK version

[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3880], locale en-IN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc4)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.4)
[√] Android Studio (version 2023.3)
[√] Connected device (3 available)
[√] Network resources

Additional context
Nil

@Febinjohnson96 Febinjohnson96 added the bug Something isn't working label Jul 17, 2024
@Vito0912
Copy link

Vito0912 commented Nov 2, 2024

This has to do with #43 I assume. Still happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants