Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6792010dc8f962e42f3ee5cf9eb82bd9c8ed7a2b
https://github.com/WebKit/WebKit/commit/6792010dc8f962e42f3ee5cf9eb82bd9c8ed7a2b
Author: Youenn Fablet <[email protected]>
Date: 2025-12-16 (Tue, 16 Dec 2025)
Changed paths:
A LayoutTests/http/wpt/media/blob-and-ogg-expected.txt
A LayoutTests/http/wpt/media/blob-and-ogg.html
A LayoutTests/http/wpt/media/resources/ogg-file.py
A LayoutTests/http/wpt/media/resources/silence.ogg
M LayoutTests/platform/ios/TestExpectations
M
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
Log Message:
-----------
Playback of application/ogg blob media is broken
rdar://163119790
https://bugs.webkit.org/show_bug.cgi?id=301509
Reviewed by Jean-Yves Avenard.
When loading through blob, WebCoreAVFResourceLoader is used.
`application/ogg` mime type does not lead to a valid UTI and AV player is not
able to recover itself.
Mime Sniffer is used but it will still return `application/ogg`.
We update MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL to use
`audio/ogg` in case `application/ogg` is the preferred mime type.
We only do this for blob URLs and should follow-up for all URLs.
We skip the test on iOS due to the lack of ogg support there.
Test: http/wpt/media/blob-and-ogg.html
Canonical link: https://commits.webkit.org/304530@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications