[Webkit-unassigned] [Bug 256985] New: [ManagedMSE] bufferedchange event should pass the list of changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 18 14:35:32 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=256985
Bug ID: 256985
Summary: [ManagedMSE] bufferedchange event should pass the list
of changes
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jean-yves.avenard at apple.com
The expensive part of handling the buffered change event (and updateend) is determining what if anything has changed after iterating through SourceBuffer.buffered TimeRanges.
Just knowing at a glance if the change included appends and/or removal would be a huge time savings as we could skip all the work looking for removal if there was none, and we could avoid duplicating work done on updateend.
The internal code knows exactly what was added and removed ; we should pass this information to the bufferedchange event as a dictionary of TimeRanges added and removed.
This would greatly simplify the code of web players.
--
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/20230518/0ef6e2ae/attachment.htm>
More information about the webkit-unassigned
mailing list