-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Hotfix for backgrounded/suspended IOS issue #1660
base: master
Are you sure you want to change the base?
Conversation
- Verified working on IOS 14/15/16 - Issue was that after a certain amount of time after backgrounding the app and then coming back (~10-40 secs), audio would be forever muted
I don't have write access, but anybody who does feel free to merge this. |
Can someone please merge this PR ??? We want the fix as we are facing issues on older IOS devices. |
I would love this fix as well for an app I'm working on. Is there any possibility of this being merged/published soon? |
For what it's worth, I realized that my particular issue with the suspending of audio (after returning from inactivity) was being caused by Howler's global
Disabling this global setting solved my particular issue. import { Howl, Howler } from 'howler';
Howler.autoSuspend = false; Hope this helps someone! |
Okay, even after setting @goldfire Any possibility of reviewing/merging this PR soon? It would be wonderful to have in the official package. |
To fix this problem, I had to use the fork too. I would be glad if this PR is reviewed faster |
We have to use this fork as well... but It would be great if you could merge this PR as soon as possible! :) |
Issue/Feature
Issue was that after a certain amount of time after backgrounding the app and then coming back (~10-40 secs), audio would be forever muted.
Related Issues
Solution
Reproduction/Testing
On IOS 14/15/16, background an app using Howler for 10/20/30/40/50 seconds, and then return to that app and observe if audio is working or not.
Breaking Changes
This could break instances where the state is 'running' and we should not be resuming the context because the state is not interrupted, but I haven't seen this happen yet in testing.