Bug 300681

Summary: [MSE/FairPlay] Have AudioVideoRenderer manage CDMInstance/CDMSession
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 301073    

Jean-Yves Avenard [:jya]
Reported 2025-10-14 00:48:46 PDT
Currently the SourceBufferPrivateAVFObjC handles attaching the content key to the MediaSample and to hold off the MediaSample in a blocked queue if the decoding keys aren't yet available. This is problematic if the SourceBufferPrivate run in the content process as it won't have access to the CDM (which must runs in the same process as the renderer). We should move the CDMInstance/LegacyCDMSession management to the AudioVideoRenderer instead.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-14 00:48:52 PDT
Jean-Yves Avenard [:jya]
Comment 2 2025-10-20 00:29:51 PDT
EWS
Comment 3 2025-10-21 04:01:48 PDT
Committed 301865@main (02963503fd1b): <https://commits.webkit.org/301865@main> Reviewed commits have been landed. Closing PR #52642 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.