brave / brave-browser

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

Playlist allowing playback while background playback continues from an open tab. #42344

Closed jamesmudgett closed 1 week ago

jamesmudgett commented 1 week ago

Description

Seems to happen when locking the device with both a background video playing on playlist and open tab. Reported by some users:

  1. https://community.brave.com/t/brave-playlist-issues/581503
  2. https://community.brave.com/t/new-playlist-plays-audio-twice-after-receiving-call/580624

Steps to reproduce

https://community.brave.com/t/brave-playlist-issues/581503 https://community.brave.com/t/new-playlist-plays-audio-twice-after-receiving-call/580624

Actual result

Playing from two sources at one time

Expected result

Should prioritize playlist, not sure if OS level issue.

Reproduces how often

Intermittent issue

Brave version

Doesn't seem to happen all of the time, would need to force only one playback item, could be happening on App state going into background on device lock or other...

Device/iOS version

iOS 17+

Affected browser versions

Reproducibility

Miscellaneous information

No response

kjozwiak commented 6 days ago

The above requires 1.73.91 or higher for 1.73.x verification 👍

hffvld commented 4 days ago

Verified on iPhone 14 using version(s):

Device/OS: iPhone 14 / iOS 17.7.1
Brave build: 1.73 (91)
BraveCore: 1.73.91 (131.0.6778.85)

STEPS:

  1. Follow the STR/TP from https://github.com/brave/brave-core/pull/26619#issue-2669739092
  2. Verify

ACTUAL RESULTS:


https://github.com/user-attachments/assets/50bfd1ab-2aab-4dd8-90f0-63e0be427ef7