Bug 302250

Summary: [MSE] Make MediaSourcePrivate::hasAudio/hasVideo thread-safe
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   

Jean-Yves Avenard [:jya]
Reported 2025-11-10 03:16:17 PST
The MediaPlayer will query the MediaSourcePrivate::hasAudio/hasVideo methods on the main thread. But the MediaSourcePrivate may be running on a different thread/queue. We should make this method thread-safe
Attachments
Radar WebKit Bug Importer
Comment 1 2025-11-10 03:16:23 PST
Alexey Proskuryakov
Comment 2 2025-11-10 08:32:00 PST
*** Bug 302249 has been marked as a duplicate of this bug. ***
Jean-Yves Avenard [:jya]
Comment 3 2025-11-11 13:16:21 PST
EWS
Comment 4 2025-11-13 01:31:40 PST
Committed 302975@main (f686ca89c6e1): <https://commits.webkit.org/302975@main> Reviewed commits have been landed. Closing PR #53765 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.