[GH-ISSUE #1754] "Failed to start the audio device" error on iOS #965

Closed
opened 2026-02-26 02:34:46 +03:00 by kerem · 1 comment
Owner

Originally created by @davinci-klod on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/koel/koel/issues/1754

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
Originally created by @davinci-klod on GitHub (Mar 7, 2024). Original GitHub issue: https://github.com/koel/koel/issues/1754 **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](https://github.com/koel/koel/assets/60784639/25a66e43-2ae4-4d16-9bb2-67642dfb5874) 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
kerem closed this issue 2026-02-26 02:34:46 +03:00
Author
Owner

@phanan commented on GitHub (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.

<!-- gh-comment-id:1987049540 --> @phanan commented on GitHub (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](https://github.com/koel/player) 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#965
No description provided.