0 votes

Although Godot is a game engine and it does it job very good. But sometimes we do use Game Engines to make application which have lots of effects & animations.

I'm just curious that can we make Godot AudioStreamPlayer keep playing when we minimize app on Phone (Especially on Android)?

I'v tried but it just stop playing. Even i set it Pause Mode to Process.

Thank you all very much

Godot version 3.3.2
in Engine by (19 points)

1 Answer

0 votes
Best answer

As far as I know, Godot projects can't play background audio on iOS/Android because the OS will kill the app anytime it can to save battery. You have no control over this – the "keep background app alive" permission is not guaranteed to be 100% reliable.

A game engine isn't meant to run in the background as it would eat through the device's battery very quickly.

by (12,835 points)
selected by

Thank you so much for blazing fast answer. I't saved me a lots of time. :D

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.