Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[visionOS] Safari YouTube audio location stays stationary when window…
… is moved while viewing other tab (audio is not spatial) https://bugs.webkit.org/show_bug.cgi?id=260364 <radar://112181086> Reviewed by Andy Estes. Set the STSLabel when the viewer becomes invisible so audio follows the scene. Set it back to nil when the viewer becomes visible to restore the current behavior. * Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::setPageIsVisible): * Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h: Stage SPI for non-internal clients. Canonical link: https://commits.webkit.org/267018@main
- Loading branch information