VLC for Android - Background playback stops after a short time
Problem:
Background playback stops after a short time. It seems to be random, from 20-120 seconds.
VLC for Android version 3.4.0 Beta 3 dated 2021-07-15
Revision 1aa9a149 VLC: 9831785a (2021-07-15) Compiled by: runner@yykwduqh-project-36-concurrent-0 (2021-07-15)
Android 11 / Samsung One UI 3
Use cases:
Listening to music, with phone out of hands. Playing a video file where I am only interested in the audio. Listening to audio while editing source code or surfing the web on phone. Temporarily (~5 minutes) ignoring video to look something up on the web, while listening to audio.
When does it happen?
Occurs if phone moving, or stationary. Occurs in bright light, dark room, or pocket. Occurs with all video and audio files. Occurs always. Occurs whether VLC is minimized but screen active, or if minimized and screen locked, or if not minimized and screen locked. Occurs with files on device and over SMB/WiFi/WLAN. Occurs despite screen timeout set to 10 minutes, so nothing should be sleeping in less than 2 minutes.
What have I tried?
In Android:
Change System Settings - Both Diabled, and Enabled, same result.
Within VLC:
Yes, I have enabled background playback. I am wondering if the phone is overriding that, or not respecting the permission setting anymore, or if VLC is not properly telling the phone.
Untested:
Not sure if VLC keeps playing if put into PIP mode. I don't use PIP mode for this use case.