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

Issue 649286 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 649271
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Weird notification behavior and background playback pauses for vine.co

Project Member Reported by zqzh...@chromium.org, Sep 22 2016

Issue description

1. Navigate vine.co, play some video
2. Press home button, the video should pause
3. Resume video from media notification, the video should resume

Observed:
Bug 1:
After 3, the video pauses again after resume. Seems to be a different issue with  https://crbug.com/649271 

 Bug 2 :
The video is looping, but the media notification shows for one playthrough, and disappears for the next, and then appears again (over and over).
 
Description: Show this description
#1 - Could that be that they simply prevent background playback?
#2 - When/How does this happen? 
For #2, it happens all the time, even if the page is in foreground. Could be a signal issue with media playback state when looping is on.
Ok, then #2 is  bug 515143  :)

I will investigate #1.
Labels: -Pri-3 M-55 Pri-2
Owner: zqzh...@chromium.org
Status: Assigned (was: Available)
I can reproduce #2 intermittently. However, #2 is worse that  bug 515143 . We definitely regressed something here.

zqzhang@, can you have a look at #2?
OK, will do.
#2 seems like a race:
- the media playback ends and the notification is told to be hidden - it sends an intent to the notification service to hide
- the new media playback starts and the intent is sent to the notification service to show
- if show is received before hide, the service will hide the notification for the new playback (as we key notifications by the tab id)
Cc: -mlamouri@chromium.org
Owner: mlamouri@chromium.org
Forked #2 into  http://crbug.com/649336 . Let's use this bug only for #1.
Mergedinto: 649271
Status: Duplicate (was: Assigned)

Sign in to add a comment