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

"Failed to start the audio device" error on iOS #1754

Closed
davinci-klod opened this issue Mar 7, 2024 · 1 comment
Closed

"Failed to start the audio device" error on iOS #1754

davinci-klod opened this issue Mar 7, 2024 · 1 comment

Comments

@davinci-klod
Copy link

Describe the bug
Hi,

I'm facing an issue. When I'm trying to play a song on iOS, nothing happens. On my console, here's the error prompted :

Capture d’écran 2024-03-07 à 07 27 14

I tested to use x_sendfile to solve this issue but It was not the solution in my case. The problem happens in Safari, Chrome and Firefox, but not on Desktop. I'm not using the mobile app, just simply trying to use Koel via browser.
Could you help me with this please ? Thanks you !

To reproduce
Simply trying to play a song on a iOS device.

Expected behavior
Songs playing on a iOS device.

Environment

  • OS: iOS 17
  • Firefox, Chrome, Safari
  • PHP 8.2.7
@phanan
Copy link
Member

phanan commented Mar 10, 2024

This likely is related to mobile Safari's (including Chrome and Firefox, as they're just Safari on iOS) strict policy when it comes to the AudioContext. At this moment there's very little I can do about this, as it pops up once in a while with a new version of Safari, and it's very inconsistent (works with some and doesn't with others).

May I suggest you look at the mobile app instead? If you can't / don't want to build it, you can always buy it from the AppStore. I know it's a paid product in that case, but it doesn't have this annoying issue (as well as some others as with mobile PWA) and it's a way to further support the project.

@phanan phanan closed this as completed Mar 10, 2024
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

2 participants