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

AudioContext stuck on "interrupted" in Safari #2585

Closed
methot-ilya-3ds opened this issue Apr 30, 2024 · 1 comment
Closed

AudioContext stuck on "interrupted" in Safari #2585

methot-ilya-3ds opened this issue Apr 30, 2024 · 1 comment

Comments

@methot-ilya-3ds
Copy link

I have a website which starts an audiocontext. This site works with all browsers on laptops, and works on Android l. However, for IOS devices the audiocontext seems to be stuck on the "interrupted" state.

Running AudioContext.resume() on user input does not seem to change the state of the context. Whenever I run resume I can see that the state has not changed via the debugger.

Is there something I am missing? Am I supposed to await the .resume function?

I've also tried to do AudioContext.resume().then(()=>) with not luck either.

@mjwilson-google
Copy link
Contributor

Please see #2392 -- Web Audio still hasn't specified how to handle "interrupted" or AudioSession integration.

This repository is only for working on the Web Audio specification. For support with the iOS Safari implementation please ask on https://bugs.webkit.org/, StackOverflow, or the WebAudio Slack Channel as appropriate.

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