[webkit-changes] [WebKit/WebKit] 3a1caa: Video playback on Nintendo.com fails with "No supp...

Jer Noble noreply at github.com
Mon Jul 10 20:42:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a1caaa7c86ff7ef906244cb3d4b60213532877c
      https://github.com/WebKit/WebKit/commit/3a1caaa7c86ff7ef906244cb3d4b60213532877c
  Author: Jer Noble <jer.noble at apple.com>
  Date:   2023-07-10 (Mon, 10 Jul 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h
    M Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm
    M Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h
    M Source/WebCore/platform/graphics/avfoundation/objc/AVAssetMIMETypeCache.mm

  Log Message:
  -----------
  Video playback on Nintendo.com fails with "No supported media sources" error
https://bugs.webkit.org/show_bug.cgi?id=259077
rdar://110588102

Reviewed by Andy Estes and Eric Carlson.

In macOS Sonoma and iOS 17, the conventions of -isPlayableExtendedMIMEType have
changed, and queries of HLS container types with `codecs=` parameters will start
to return NO where they returned YES in previous versions of those platforms. To
allow existing websites to continue to use those styles of queries, adopt
-isPlayableExtendedMIMEType:options: with a key/value pair that indicates
AVURLAsset should assume the query refers to a HLS stream with ISO-BMFF segments.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.h:
* Source/WebCore/PAL/pal/cocoa/AVFoundationSoftLink.mm:
* Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h:
* Source/WebCore/platform/graphics/avfoundation/objc/AVAssetMIMETypeCache.mm:
(WebCore::AVAssetMIMETypeCache::canDecodeExtendedType):

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




More information about the webkit-changes mailing list