[Webkit-unassigned] [Bug 86113] Replace WebMediaPlayer::bytesLoaded() with an explicit didLoadingProgress()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 10 10:57:48 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86113


Andrew Scherkus <scherkus at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pnormand at igalia.com,
                   |                            |scherkus at chromium.org




--- Comment #1 from Andrew Scherkus <scherkus at chromium.org>  2012-05-10 10:56:52 PST ---
Yeah the idea was to let ports have more choice in deciding what the definition of "progress" is.

There are a few options:
  1) Monitor changes in buffered() TimeRanges (would this be sufficient?)
  2) Ask ports for a loading percentage (a more abstract version of what we have today)
  3) Ask ports a "did you progress since the last time I asked you?" method (what you propose here)

While (3) is a bit more complex I believe the added flexibility is warranted here. Monitoring changes in buffered() as well as a load percentage assumes that the underlying port is actually buffering. For example, what would a port report in (1) and (2) if it was an infinite live stream?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list