GrapheneOS / Vanadium

Privacy and security enhanced releases of Chromium for GrapheneOS. Vanadium provides the WebView and standard user-facing browser on GrapheneOS. It depends on hardening in other GrapheneOS repositories and doesn't include patches not relevant to the build targets used on GrapheneOS.
https://vanadium.app/
Other
909 stars 67 forks source link

Audio/Video Fails to Play on Lock Screen #138

Open nullagit opened 2 years ago

nullagit commented 2 years ago

Vanadium Version: 96.0.4664.104 Operating system: Android 12 (GrapheneOS); Pixel 4 Build/SQ1A.211205.008

Summary: If I play a video from any number of video sites, lock my screen, and then press the play button/arrow on the lock screen, the video (audio) doesn't play.

Steps to Reproduce:

  1. Visit your favorite video site (Youtube, Brighteon, Rumble, D.Tube, Twitch, etc) and play a video.
  2. Let the video play for a few seconds to confirm it's loaded and playing correctly.
  3. Press the power button to lock the screen (the audio/video stops).
  4. Tap the screen to wake it up and reveal the Vanadium media player controls (phone is still locked).
  5. Press the play arrow button to play the video. Notice the play arrow briefly turns to a pause icon, then back to a play arrow.
  6. The video/audio never plays.

What I've Tried to Resolve:

  1. Disabling hardware acceleration, enabling hardware acceleration
  2. Set DRM content allowed
  3. Battery usage set to "Unrestricted" in App settings
  4. Background data enabled, Unrestricted data usage enabled
  5. I tried Bromite, which works as expected, but only for a few minutes before the video/audio stops.
ghost commented 2 years ago

Update to the latest beta which has updated Vanadium (97) and see if the issue persists.

nullagit commented 2 years ago

Update to the latest beta which has updated Vanadium (97) and see if the issue persists.

Vanadium Version: 97.0.4692.70 Operating system: Android 12 (GrapheneOS); Pixel 4 Build/SQ1A.220105.002

Same issue/behavior, except now there's a "stop" button to the right of the play arrow when before the upgrade to beta there wasn't.

ghost commented 2 years ago

Is this still an issue?

nullagit commented 2 years ago

The controls work now and the video plays; however, after starting the audio/video and pressing the power button to lock/dim the screen, the audio/video stops playing after a few minutes rather than playing until completion. Expected behavior is: start video, lock screen, have video play until finished or stopped by the user. Right now the only way to have the video play through is to leave the phone unlocked which isn't ideal, particularly in a setting where the phone is left unattended for short periods of time (like at a gym).