RESOLVED FIXED 265274
[MSE] MSE objects should be using thread-safe refcount
https://bugs.webkit.org/show_bug.cgi?id=265274
Summary [MSE] MSE objects should be using thread-safe refcount
Jean-Yves Avenard [:jya]
Reported 2023-11-22 20:58:52 PST
With MSE in a Worker, the threading model of the MSE objects will be changing. Currently, all run in the main thread. As we progress bug 264134, the threading model will become: HTMLMediaElement, MediaPlayer, MediaPlayerPrivate run on the main thread (MediaPlayerPrivate run in the GPU process). MediaSource and SourceBuffer will run on either the main thread or in a worker. MediaSourcePrivate and SourceBufferPrivate will run in a dedicated WorkQueue (either in the content process or in the GPU Process). Currently, MediaSource (a MediaSourcePrivateClient) and SourceBuffer (a SourceBufferPrivateClient) are using non-thread safe refcounting and supports weakptr. MediaSourcePrivate and SourceBufferPrivate are using non-thread safe refcounting and supports weakptr. We want to make them use thread-safe refcounting and thread safe weakptr.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-11-22 20:59:15 PST
Jean-Yves Avenard [:jya]
Comment 2 2023-11-22 21:24:18 PST
EWS
Comment 3 2023-11-25 06:54:26 PST
Committed 271111@main (3e109296984d): <https://commits.webkit.org/271111@main> Reviewed commits have been landed. Closing PR #20840 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.