Bug 146644 - Refactor MediaSession State for UIProcess Coordinator
Summary: Refactor MediaSession State for UIProcess Coordinator
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-06 10:17 PDT by Brent Fulgham
Modified: 2015-07-06 10:17 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 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.