Bug 302249

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 DUPLICATE    
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
Alexey Proskuryakov
Comment 1 2025-11-10 08:32:00 PST
*** This bug has been marked as a duplicate of bug 302250 ***
Radar WebKit Bug Importer
Comment 2 2025-11-10 08:32:07 PST
Note You need to log in before you can comment on or make changes to this bug.