New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 678221 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner:
Android MediaRouter only (left Chro...
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

media notification should persist when retrieving next audio file.

Project Member Reported by fbeaufort@chromium.org, Jan 4 2017

Issue description

Chrome Version       : 57.0.2969.0
Android 7.1.1; Pixel Build NMF26U

What steps will reproduce the problem?
1. Go to https://beaufortfrancois.github.io/sandbox/media-session/playground.html
2. Play audio
3. From notification only, skip through sounds

What is the expected result?
Notification should persist when retrieving next audio file.

What happens instead of that?
Sometimes notification goes away and comes back a little bit after which causes some confusion... and prevents me to quickly press next button multiple times if I want to skip several songs.

See video attached. 
 
media-session.mp4
1.9 MB View Download
Cc: avayvod@chromium.org zqzh...@chromium.org mlamouri@chromium.org
Status: Available (was: Unconfirmed)
Aha, you mean this one. I saw you said large artwork image in chat so I was confused :)

It is actually the same cause of #672023. Currently we post a delayed task (1 second) for dismissing the notification when the page stops playing anything. In the case of switch src, we could use playbackState to mark the page as playing instead of paused, so the session keeps active.
Labels: -Pri-3 M-57 Pri-1
Owner: zqzh...@chromium.org
Status: Assigned (was: Available)
Status: WontFix (was: Assigned)
Marking as WontFix given that playbackState can be used to work around this and pretend that the page did not stop. Please reopen if I misunderstood.
For the record, https://bugs.chromium.org/p/chromium/issues/detail?id=678225 solved this issue.

playbackState wasn't useful there.

Sign in to add a comment