Bug 222473

Summary: [Cocoa] Register VP9 decoders when PlatformMediaSessionManager is created
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: MediaAssignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, eric.carlson, ews-watchlist, glenn, jean-yves.avenard, jer.noble, philipj, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225910
Attachments:
Description Flags
Patch none

Description Per Arne Vollan 2021-02-26 07:57:11 PST
Currently, VP9 decoders are registered when a Web page is created in the WebContent process. Instead, VP9 decoders can be registered when PlatformMediaSessionManager is created, which should be a slight performance improvement, since calls into media frameworks will then not be made unconditionally when creating a Web page, but delayed until required.
Comment 1 Radar WebKit Bug Importer 2021-02-26 07:57:43 PST
<rdar://problem/74790242>
Comment 2 Per Arne Vollan 2021-02-26 08:27:03 PST
Created attachment 421651 [details]
Patch
Comment 3 Per Arne Vollan 2021-02-26 10:17:12 PST
Comment on attachment 421651 [details]
Patch

Thanks for reviewing!
Comment 4 EWS 2021-02-26 10:24:39 PST
Committed r273564: <https://commits.webkit.org/r273564>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 421651 [details].