WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 256113
256092
[MSE] Evict content earlier to source buffer reduce memory usage.
https://bugs.webkit.org/show_bug.cgi?id=256092
Summary
[MSE] Evict content earlier to source buffer reduce memory usage.
Jean-Yves Avenard [:jya]
Reported
2023-04-28 07:00:49 PDT
We only starts to evict content when the source buffer size reach a given threshold. However the source buffer size is calculated by looking at the size of each media sample contained in the track buffers. But this only account for the media content itself. A MediaSampleAVFObjC wraps a CMSampleBuffer, which itself is over 590 bytes. So regardless of the size of the actual media segment, we store at least 590 bytes. We should account for the size of the sample container itself, which would make the source buffer more accurately determine when eviction should occur and do so earlier.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-04-28 07:01:17 PDT
<
rdar://problem/108658434
>
Jer Noble
Comment 2
2023-05-02 11:50:06 PDT
Dup of
bug # 256113
*** This bug has been marked as a duplicate of
bug 256113
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug