Page 1 of 1

Background playback stops after a short time

Posted: 23 Jul 2021 02:19
by warp-9.9
It seems to be random, from 20-120 seconds.

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.

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.

In Android:

Android 11 / Samsung One UI 3
Change System Settings - Both Diabled, and Enabled, same result.

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.

Untested:

Not sure if VLC keeps playing if put into PIP mode. I don't use PIP mode for this use case.

VLC version 3.4.0 Beta 3 dated 2021-07-15

Revision 1aa9a1496 VLC: 9831785aa (2021-07-15)
Compiled by:
runner@yykwduqh-project-36-concurrent-0 (2021-07-15)

Re: Background playback stops after a short time

Posted: 23 Jul 2021 06:32
by Aza
Could you please provide some logs?
Reproduce the issue and then go to: Settings > Advanced > Debug logs. Then share the logs with the sharing service you prefer (Google Drive, Dropbox, pastebin...).

Re: Background playback stops after a short time

Posted: 13 Nov 2021 08:34
by hsgsg
I have a similar issue.
The pastebin contains log from the audio file starting till it stops while playing in the background.
Link:-https://pastebin.com/ggNwsFaQ