Bug 301073

Summary: [MSE/SourceBuffer] MediaSourcePrivate doesn't need to know about 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: 300681    
Bug Blocks:    

Jean-Yves Avenard [:jya]
Reported 2025-10-20 00:32:57 PDT
Following bug 300681 ; the management of protected MediaSample is entirely done in the AudioVideoRenderer and should only involved the MediaPlayerPrivate and its AudioVideoRenderer. Currently, MediaPlayerPrivateMediaSourceAVFObjC provides the CDMInstance/LegacyCDMSession to the MediaSourcePrivateAVFObjC which then passes it on all SourceBufferPrivateAVFObjC. This is no longer necessary. This is a step in allowing the MediaSourcePrivateAVFObjC/SourceBufferPrivateAVFObjC to run in a worker directly.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-20 00:33:03 PDT
Jean-Yves Avenard [:jya]
Comment 2 2025-10-20 00:42:12 PDT
EWS
Comment 3 2025-10-21 18:00:04 PDT
Committed 301921@main (85760d3ab1e8): <https://commits.webkit.org/301921@main> Reviewed commits have been landed. Closing PR #52643 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.