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

When iOS Safari goes to background, sound stops after a while and is not restored when reopening Safari #53945

Open
Tracked by #76797
waochi opened this issue Oct 18, 2021 · 1 comment

Comments

@waochi
Copy link

waochi commented Oct 18, 2021

Godot version

3.3.4.stable

System information

iOS 15.0, safari

Issue description

If I put the safari process in the background (or put my iPhone to sleep) with sound playing, and wait for 30 seconds and then put Safari in the foreground again, there will be no sound at all.

Once this happens, sounds will not play unless reloading.
This problem does not occur on IOS 14 or lower.

Steps to reproduce

  • Create a 2d scene
  • Add AudioStreamPlayer node and Button node
  • Run the game on safari(ios15) and play sound
  • Put Safari process in the background and wait 30 seconds
  • Put Safari in the foreground

Minimal reproduction project

audio_test.zip

@Calinou Calinou changed the title When safari goes to background, sound stops after a while. When iOS Safari goes to background, sound stops after a while and is not restored when reopening Safari Oct 18, 2021
@Calinou
Copy link
Member

Calinou commented May 2, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants