New issue
Advanced search Search tips

Issue 900961 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue 894255



Sign in to add a comment

Audio focus and PiP

Project Member Reported by beccahughes@chromium.org, Nov 1

Issue description

At the moment the PiP window will capture media keys on CrOS if it is open before passing to a WebContents. If we switch on media key delegation this will (kind of) break. The PiP window will only get media keys if the underlying tab has audio focus. We should think about how PiP should interact with audio focus (i.e. whether we should close a pip window if another session gains focus, or whether we should block other sessions from gaining focus).
 
Cc: fbeaufort@chromium.org
+fbeaufort@ who implemented this.

Could we drop audio focus from the tab in PIP?
If we drop audio focus from the tab then it will not get the media keys?
Here's a thought I was having this morning about this issue: If a "muted" MediaStream video is playing in PiP and tab audio comes from WebAudio for instance, tab should always get audio focus.

Sign in to add a comment