brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.94k stars 2.35k forks source link

New Playlist UI can crash in the background due to excessive CPU usage #42408

Open kylehickinson opened 1 day ago

kylehickinson commented 1 day ago

Description

We've had reports of playlist stopping after an extended period of time in the background and its due to iOS ejecting Brave based on CPU usage while backgrounded.

The new playlist UI introduces a few nice decorative features such as the video ambiance shown around the video while playing but unfortunately these continue being used while in the background causing high CPU usages.

Steps to reproduce

  1. Find a long form video (45m+)
  2. Start playing it and lock your phone so that it continues playing in the background
  3. Wait

Actual result

Should play the entire video

Expected result

Can sometimes stop and crash Brave

Reproduces how often

Intermittent issue

Brave version

1.71+

Device/iOS version

N/A

Affected browser versions

Reproducibility

Miscellaneous information

No response