Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07e98f6bcf9a5d101f9539b657a005d96151a865
      
https://github.com/WebKit/WebKit/commit/07e98f6bcf9a5d101f9539b657a005d96151a865
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp
    M Source/WebCore/Modules/encryptedmedia/InitDataRegistry.h
    M Source/WebCore/platform/encryptedmedia/CDMInstanceSession.h
    M Source/WebCore/platform/encryptedmedia/CDMPrivate.h
    M Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.cpp
    M Source/WebCore/platform/encryptedmedia/clearkey/CDMClearKey.h
    M Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm
    M Source/WebCore/platform/graphics/avfoundation/CDMFairPlayStreaming.cpp
    M Source/WebCore/platform/graphics/avfoundation/CDMFairPlayStreaming.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.h
    M 
Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm
    M Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.cpp
    M Source/WebCore/platform/graphics/gstreamer/eme/CDMThunder.h
    M Source/WebCore/testing/MockCDMFactory.cpp
    M Source/WebCore/testing/MockCDMFactory.h
    M Source/WebCore/testing/MockCDMFactory.idl
    M Source/WebKit/GPUProcess/media/RemoteCDMInstanceSessionProxy.cpp
    M Source/WebKit/GPUProcess/media/RemoteCDMInstanceSessionProxy.h
    M Source/WebKit/GPUProcess/media/RemoteCDMInstanceSessionProxy.messages.in
    M Source/WebKit/GPUProcess/media/RemoteCDMProxy.cpp
    M Source/WebKit/GPUProcess/media/RemoteCDMProxy.h
    M Source/WebKit/WebProcess/GPU/media/RemoteCDM.cpp
    M Source/WebKit/WebProcess/GPU/media/RemoteCDM.h
    M Source/WebKit/WebProcess/GPU/media/RemoteCDMConfiguration.h
    M Source/WebKit/WebProcess/GPU/media/RemoteCDMConfiguration.serialization.in
    M Source/WebKit/WebProcess/GPU/media/RemoteCDMInstanceSession.cpp
    M Source/WebKit/WebProcess/GPU/media/RemoteCDMInstanceSession.h

  Log Message:
  -----------
  ASSERTION: ASSERT(isMainThread()); when watching protected content with 
MediaSourceUseRemoteAudioVideoRenderer enabled
https://bugs.webkit.org/show_bug.cgi?id=303035
rdar://165322277

Reviewed by Youenn Fablet.

The SourceBufferParser runs in a dedicated WorkQueue ; if the 
CDMPrivateFairPlayStreaming::sinfName, sdkName, mptsName
were first accessed on that queue, their MainThreadNeverDestroyed container's 
constructor would assert.

Due to the multi-threaded nature of the SourceBufferParser / 
SourceBufferPrivate / MediaPlayerPrivate
we replace the use of AtomString with String. Almost all CDMs were using 
Strings in
their API but the initialisation, so using String isn't much of a jump.

No change in observable behaviours. Covered by existing tests.

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



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

Reply via email to