WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
310616
MediaSource should actually cache the response
https://bugs.webkit.org/show_bug.cgi?id=310616
Summary
MediaSource should actually cache the response
Jean-Yves Avenard [:jya]
Reported
2026-03-24 02:13:27 PDT
AVStreamDataParserMIMETypeCache::canDecodeExtendedType just calls [AVStreamDataParser canParseExtendedMIMEType] to check if the type is supported or not and if not will call mediaStrategy()->canDecodeExtendedType which will issue a sync IPC call to the GPUP. the results of canDecodeExtendedType is never cached and so we end up making IPC sync call to the GPUP for all queries.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-03-24 02:13:34 PDT
<
rdar://problem/173224564
>
Jean-Yves Avenard [:jya]
Comment 2
2026-03-25 02:44:21 PDT
Rename title, caching the entire lots of MediaSource.isTypeSupported makes more sense, it can be made thread-safe avoiding the sync dispatch to the main thread,
Jean-Yves Avenard [:jya]
Comment 3
2026-03-25 07:56:03 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/61328
EWS
Comment 4
2026-03-26 05:54:16 PDT
Committed
309981@main
(877c1eacc4bb): <
https://commits.webkit.org/309981@main
> Reviewed commits have been landed. Closing PR #61328 and removing active labels.
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