[Webkit-unassigned] [Bug 139813] [MSE] Implement per TrackBuffer buffered.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 14 05:02:44 PST 2015


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

Bartlomiej Gajda <b.gajda at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #243548|0                           |1
        is obsolete|                            |
 Attachment #243548|review?                     |
              Flags|                            |
 Attachment #244596|                            |review?, commit-queue?
              Flags|                            |

--- Comment #5 from Bartlomiej Gajda <b.gajda at samsung.com> ---
Created attachment 244596
  --> https://bugs.webkit.org/attachment.cgi?id=244596&action=review
add per trackBuffer buffered + layoutTests

So I've returned to my original concept with caching because all the hasCurrentTime()/hasFutureTime() already makes copies of buffered, I didn't want to put even more overhead for each of those calls.

As for handling readyState change, I just added recalculateBuffered() there, so there are 3 points of recaching now: adding samples, removing samples, changing ready state.

I have added tests for simple 2 tracks appends, and for MediaSource.readyState changes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150114/e806d50e/attachment-0002.html>


More information about the webkit-unassigned mailing list