crackededed / Xtra

Xtra is a Twitch player and browser for Android.
GNU Affero General Public License v3.0
1.25k stars 48 forks source link

Bug: Audio with phone off when PiP is selected #531

Open Dstendo opened 3 months ago

Dstendo commented 3 months ago

When i select PiP in the Background Playback option in the app settings, then start a stream or vod and turn my phone off while in the Xtra app, the audio continues playing while the screen is off. If i go to my home screen with the same settings while the video is playing in PiP and turn my phone off, the option behaves correctly and no audio plays. If i select "Only Audio" it plays the audio both in phone standby with off screen and on the home screen in the background. The issue persist both with no Bluetooth Headphones connected and with them connected. Using Samsung S10 with newest updates. In Xtra App settings version is 2.33.3. Apk in Github release from 3rd August 2024

Steps to reproduce:

Szczupsiak commented 1 day ago

I have the same issue on pixel 8 pro. Also, when I pause PIP, lock the phone and then unlock it - the playback starts on its own. It has lead to some awkward moments when checking my phone during meetings at work 😅