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

No Sound on Safari macOS #1759

Open
2 tasks done
maitycyrus opened this issue Feb 23, 2024 · 2 comments
Open
2 tasks done

No Sound on Safari macOS #1759

maitycyrus opened this issue Feb 23, 2024 · 2 comments
Labels
bug platform-web-safari Affects the Safari web platform

Comments

@maitycyrus
Copy link

maitycyrus commented Feb 23, 2024

Checklist

  • I read the troubleshooting guide before raising this issue
  • I made sure that the issue I am raising doesn't already exist

Current bug behaviour

Audio not playing on Safari macOS. onPositionChanged works but nothing to hear. Logs do not show any errors. Everything works fine on Chrome.

Expected behaviour

Hear sound

Steps to reproduce

await audioPlayer.setSourceUrl(audioUrl);
await  audioPlayer.resume();

Code sample

Code sample
void main() {
String audioUrl = "path/to/audio";
await audioPlayer.setSourceUrl(audioUrl);
await  audioPlayer.resume();
}

Affected platforms

web

Platform details

Safari Version 17.0 (19616.1.27.211.1)

AudioPlayers Version

5.2.1

Build mode

release

Audio Files/URLs/Sources

No response

Screenshots

No response

Logs

[✓] Flutter (Channel stable, 3.16.8, on macOS 14.0 23A344 darwin-arm64, locale en-AT)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Community Edition (version 2023.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
[✓] VS Code (version 1.86.0)
[✓] Connected device (3 available)            
[✓] Network resources

Related issues / more information

No response

Working on PR

no way

@maitycyrus maitycyrus added the bug label Feb 23, 2024
@maitycyrus maitycyrus changed the title No Sound in Safari No Sound on Safari Feb 23, 2024
@maitycyrus maitycyrus changed the title No Sound on Safari No Sound on Safari Mac Feb 23, 2024
@maitycyrus maitycyrus changed the title No Sound on Safari Mac No Sound on Safari macOS Feb 23, 2024
@JesterVZ
Copy link

same problem

@Gustl22 Gustl22 added the platform-web-safari Affects the Safari web platform label Mar 24, 2024
@Gustl22
Copy link
Collaborator

Gustl22 commented Mar 24, 2024

Plz see platform-web-safari Affects the Safari web platform
Feel free to provide a fix. I have no mac / iphone to debug it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug platform-web-safari Affects the Safari web platform
Projects
None yet
Development

No branches or pull requests

3 participants