[Webkit-unassigned] [Bug 233495] New: [MSE][WPE] Parameterize maximum buffer size using the MSE_MAX_BUFFER_SIZE env var

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 25 06:51:32 PST 2021


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

            Bug ID: 233495
           Summary: [MSE][WPE] Parameterize maximum buffer size using the
                    MSE_MAX_BUFFER_SIZE env var
           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: eocanha at igalia.com

The current MSE policy of SourceBuffers taking all the available system memory until the MemoryPressureHandler complains may work fine for a typical desktop system, when caching is preferred over memory footprint. However, memory is scarce on embedded systems and WebKit may compete with other software for memory resources. In that scenario, the embedder may prefer to restrict the amount of memory available for each kind of SourceBuffer (audio, video, text).

Metrological has been successfully using an environment variable for that purpose downstream since 2016. If that implementation is upstreamed, other WPE users can benefit from it.

-- 
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/20211125/6ca7b0d3/attachment.htm>


More information about the webkit-unassigned mailing list