[webkit-changes] [WebKit/WebKit] b4568c: [Cocoa] Adopt -makeStreamingContentKeyRequestDataF...

Jer Noble noreply at github.com
Tue Dec 12 07:58:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b4568cba88d9e148145c207ab61c9daacbe3cf16
      https://github.com/WebKit/WebKit/commit/b4568cba88d9e148145c207ab61c9daacbe3cf16
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm

  Log Message:
  -----------
  [Cocoa] Adopt -makeStreamingContentKeyRequestDataForApp in CDMSessionAVContentKeySession
https://bugs.webkit.org/show_bug.cgi?id=266264
rdar://119527921

Reviewed by Eric Carlson.

Adopt -makeStreamingContentKeyRequestDataForApp, which takes a completion handler that is called on
a background queue, but force the call to become synchronous through a local semaphore.

* Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm:
(WebCore::CDMSessionAVContentKeySession::update):

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




More information about the webkit-changes mailing list