Bug 265778

Summary: [MSE] Remove need for SourceBufferPrivate to query MediaSource duration
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: 264134    

Description Jean-Yves Avenard [:jya] 2023-12-03 21:55:56 PST
The SourceBufferPrivate currently queries the MediaSourcePrivate to get the media element duration. We want to avoid that as they may not be running on the same thread.
Comment 1 Radar WebKit Bug Importer 2023-12-03 21:56:26 PST
<rdar://problem/119114938>
Comment 2 Jean-Yves Avenard [:jya] 2023-12-03 22:33:23 PST
Pull request: https://github.com/WebKit/WebKit/pull/21256
Comment 3 EWS 2023-12-04 15:13:34 PST
Committed 271514@main (adb77f8a601c): <https://commits.webkit.org/271514@main>

Reviewed commits have been landed. Closing PR #21256 and removing active labels.