New issue
Advanced search Search tips

Issue 876409 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Switch the WebMediaPlayer interface to be callback driven and remove ready state / network state knowledge from WebMediaPlayer.

Project Member Reported by dalecur...@chromium.org, Aug 21

Issue description

As a part of onion soup it makes sense to switch away from having WebMediaPlayer know anything about ready states or network states. Instead it should more closely resemble a callback driven interface.

This constant worry about ready states and when it can/should be switched in response to under the hood operations in a constant source of bugs. I.e.  issue 873837  most recently. We've had issues in the past with things like play not being delivered prior to have enough data too.

Having things like the seek API be callback driven instead of implicitly signaled by a ready state change would simplify the interface significantly. Removing knowledge of ready states would simplify things around "have_future_data" and it's implications for play.

+few folks who probably care about this stuff.
 
Cc: -sande...@chromium.org dalecur...@chromium.org
Owner: sande...@chromium.org
=>dan who wanted to give this some thought in the new year.

Sign in to add a comment