Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b77f4aac5f8520116ec7750fa04778317ee44463
      
https://github.com/WebKit/WebKit/commit/b77f4aac5f8520116ec7750fa04778317ee44463
  Author: Jer Noble <jer.no...@apple.com>
  Date:   2025-03-27 (Thu, 27 Mar 2025)

  Changed paths:
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/platform/audio/cocoa/SpatialAudioExperienceHelper.h
    M Source/WebCore/platform/audio/cocoa/SpatialAudioExperienceHelper.mm
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
    M 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm
    M Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.cpp
    M Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxyConfiguration.h
    M 
Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxyConfiguration.serialization.in
    M Source/WebKit/WebProcess/GPU/media/RemoteMediaPlayerManager.cpp

  Log Message:
  -----------
  [Cocoa] Pass spatial audio experience preference to the GPU process
rdar://147084592
https://bugs.webkit.org/show_bug.cgi?id=290461

Reviewed by Eric Carlson.

Add prefersSpatialAudioExperience to RemoteMediaPlayerProxyConfiguration and 
initialize
the MediaPlayer in the GPU process with that new value.

Drive-by fix: Replace one instance where we were setting a STSLabel regardless 
of that prefrence,
and add more logging in updateSpatialTrackingLabel() about the experince we 
create.

* Source/WebCore/html/HTMLMediaElement.cpp:
* Source/WebCore/platform/audio/cocoa/SpatialAudioExperienceHelper.h:
* Source/WebCore/platform/audio/cocoa/SpatialAudioExperienceHelper.mm:
(WebCore::spatialAudioExperienceDescription):
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer):
(WebCore::MediaPlayerPrivateAVFoundationObjC::updateSpatialTrackingLabel):
* 
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::updateSpatialTrackingLabel):
* Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxy.cpp:
(WebKit::RemoteMediaPlayerProxy::RemoteMediaPlayerProxy):
* Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxyConfiguration.h:
* 
Source/WebKit/GPUProcess/media/RemoteMediaPlayerProxyConfiguration.serialization.in:
* Source/WebKit/WebProcess/GPU/media/RemoteMediaPlayerManager.cpp:
(WebKit::RemoteMediaPlayerManager::createRemoteMediaPlayer):

Canonical link: https://commits.webkit.org/292759@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