[webkit-changes] [WebKit/WebKit] dc7bb7: Safari unable to play YouTube content fast enough....

Jean-Yves Avenard noreply at github.com
Wed Feb 28 07:13:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc7bb79ca72bfc056244eb5d31e0d5844f8faa61
      https://github.com/WebKit/WebKit/commit/dc7bb79ca72bfc056244eb5d31e0d5844f8faa61
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M Source/WebKit/GPUProcess/media/RemoteMediaResourceLoader.h
    M Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.cpp

  Log Message:
  -----------
  Safari unable to play YouTube content fast enough. Content window spins and plays only after 25-30 seconds
https://bugs.webkit.org/show_bug.cgi?id=270205
rdar://123528095

Reviewed by Eric Carlson.

Both MSE and MediaSourceRemote and RemoteMediaResourceLoader WorkQueue were created using QOS::Background priority.
Trace shows that when a task is being run on those WorkQueues, they are either being pre-empted or yielded and sometimes
it takes over 10s for a task to even complete.

We change the priority to the default, the same as what the IPC's WorkQueue is using.

* Source/WebKit/GPUProcess/media/RemoteMediaResourceLoader.h:
* Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.cpp:
(WebKit::MediaSourcePrivateRemote::queue):

Canonical link: https://commits.webkit.org/275443@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list