Skip to content

Conversation

xuanduc987
Copy link

Issue/Feature

Fix race condition when calling play() just right after pause() on iOS

On iOS, a looping sound with html5:true fails to loop intermittently.

Related Issues

Solution

Calling play() in next macro task by wrapping playHtml5 in setTimeout

Reproduction/Testing

I can reproduce the bug pretty frequently with somewhat long audio file.

Breaking Changes

N/A

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

Successfully merging this pull request may close these issues.

1 participant