Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc7bb79ca72bfc056244eb5d31e0d5844f8faa61
      
https://github.com/WebKit/WebKit/commit/dc7bb79ca72bfc056244eb5d31e0d5844f8faa61
  Author: Jean-Yves Avenard <j...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to