ExoPlayer stutters / stops after screen turns off or in background

As I said it will play forever (because it is looped):

Note:
The TaifunBatteryOptimization.Request definitely doesn’t solve the Doze problem as is often claimed. See e.g. here:

I’ve tested this extensively on dozen of devices.

1 Like