Adopt CoreMedia SPI to identify audio-only playback for MSE clients master
authorjya@apple.com <jya@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 May 2021 13:42:18 +0000 (13:42 +0000)
committerjya@apple.com <jya@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 May 2021 13:42:18 +0000 (13:42 +0000)
commit3749d5699ca4f61e0ae1276dfea8b2f4dd4315a6
treea6af7eb4b6245f70324249ee881e294b477268f8
parent9c32740a7ae7db3739f0c57fa62095e302b3e9d1
Adopt CoreMedia SPI to identify audio-only playback for MSE clients
https://bugs.webkit.org/show_bug.cgi?id=225647
rdar://76138365

Reviewed by Youenn Fablet.

Source/WebCore:

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
  tells whether the AVSBAR is attached to an <audio> or <video> element.

Source/WebCore/PAL:

* pal/spi/cocoa/AVFoundationSPI.h: Add forward declaration for new methods
  while this isn't in SDK yet.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@277322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm