[Webkit-unassigned] [Bug 218228] New: [MSE] Infinite loop in sample eviction when duration is NaN
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 27 05:20:22 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=218228
Bug ID: 218228
Summary: [MSE] Infinite loop in sample eviction when duration
is NaN
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: pnormand at igalia.com
When playing live streams the MediaSource DOM duration attribute has no meaning and would thus be set as +inf. When seeks are triggered to positions prior to the current playback position the SourceBuffer might attempt to free some space in order to keep the amount of memory used under control. It proceeds in 2 steps:
1. Attempt to free space represented by buffered range from media start up until current playback position - 30 seconds.
2. If step 1 didn't free enough memory, attempt to release memory represented by buffered ranges starting from current playback position + 30 seconds until media duration.
Step 2 here is not taking into account the case where MediaSource.duration is actually invalid, and thus enters an infinite loop.
--
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/20201027/32d2ccf2/attachment.htm>
More information about the webkit-unassigned
mailing list