-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AudioContext not being properly resumed on iOS 15. (#4062)
* Fix AudioContext not being properly resumed on iOS 15. * Add null check to AudioContext and fix comments. * Add null check to onstatechange callback. * Improve handling of errors around auto-play when resuming the AudioContext. * Add further checks for Auto-Play. * Safely remove all listeners on destroy and use constants. * Initialize the _attached variables in constructor. * Use constant for 'running'.
- Loading branch information
1 parent
8289145
commit 0d82af7
Showing
1 changed file
with
133 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters