Bug 146644

Summary: Refactor MediaSession State for UIProcess Coordinator
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, eric.carlson
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Brent Fulgham
Reported 2015-07-06 10:17:36 PDT
We could do a better job of coordinating media playback and event handling if the UIProcess took responsibility for tracking some media state. Right now the MediaSession information is controlled in the WebProcess. However, since individual WebProcess processes do not know about other WebProcess instances, we don't always do the right thing when resuming playback, since it boils down to a race between the different paused processes to see who gets started first. If the UIProcess took responsibility for this, we could always resume playback in the right state.
Attachments
Note You need to log in before you can comment on or make changes to this bug.