[Webkit-unassigned] [Bug 222448] New: [MSE] Overlapping MediaSamples are not deleted
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 25 17:33:50 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222448
Bug ID: 222448
Summary: [MSE] Overlapping MediaSamples are not deleted
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: toshio.ogasawara at access-company.com
In WebKit's SourceBuffer design, MediaSamples can handle plural frames but the eviction process seemingly expects that a MediaSample should be linked to one frame. With this precondition, some unnecessary MediaSamples in SourceBuffer are not deleted when overlapped MediaSamples are appended.
When overlapped MediaSamples are composed of multiple frame data with DTS order and the following Condition A) or Condition B) is valid, the overlapped MediaSamples are not deleted; such MediaSamples are leaked.
Condition A): A MediaSample's PTS + its duration exceeds the next MediaSample's PTS
Condition B): The I-Frame start position of a newly appended MediaSample doesn't match the I-Frame start position of a MediaSample which is already buffered.
To make the SourceBuffer eviction algorithm more general, the eviction process should check the end of MediaSample instead of presentation timestamp (PTS).
--
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/20210226/428d2509/attachment-0001.htm>
More information about the webkit-unassigned
mailing list