There doesn’t seem to be a solution to this problem with the version of ExoPlayer currently used by Kodular. I have already pointed this out several times:
I checked this again several times. It definitely doesn’t work on a Galaxy Note8 (Android 9) when screen is off (in standby / idle mode) and I’m pretty sure it won’t work on an S8 (Android 9) either. Otherwise, please show the power options (battery settings of your device ) so that I can test them on my device.
I was able to largely prevent the problem of stuttering and later stopping by triggering the [grafik] every 500 ms with a timer.
But the app still stops after 6-20 minutes; cannot be…
I have built a simple app to play (looping) a sound (loop.ogg, 22 sec) from the assets. But if some devices (e.g. Samsung Galaxy S8, Note8, Android 9) go to background (pressing the Home button) or I turn the screen of (standby, sleep mode), the sound begins to stutter after about 50-60 sec and later it stops.
ExoPlayer_test.aia (466.8 KB)
This does not happen on my Xiaomi Redmi Note 5 (Android 9), OnePlus 6 (Android 10).
We already discussed a similar issue (bug) in the forum, but without an…
Unfortunately, there seems to be no solution to the problem with some devices when streaming sounds. We have discussed this problem extensively in all AI forums. Not even deactivating battery optimization will bring long-term success.