[Webkit-unassigned] [Bug 73320] 'application/octet-stream' is not a type the UA cannot render
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 27 08:14:23 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=73320
Eric Carlson <eric.carlson at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CONFIGURATION CHANGED
--- Comment #2 from Eric Carlson <eric.carlson at apple.com> ---
`HTMLMediaElement::canPlayType` returns `emptyString()` when `MediaPlayer::supportsType ` returns `SupportsType::IsNotSupported`:
https://github.com/WebKit/WebKit/blob/903dab21ab4f09d231bd7064153c712243aaa900/Source/WebCore/html/HTMLMediaElement.cpp#L1164
`bestMediaEngineForSupportParameters` returns `nullptr` to signal that no media engine supports the configuration. This causes `MediaPlayer::supportsType` to return `SupportsType::IsNotSupported`:
https://github.com/WebKit/WebKit/blob/903dab21ab4f09d231bd7064153c712243aaa900/Source/WebCore/platform/graphics/MediaPlayer.cpp#L1160
so `canPlayType` returns an empty string as per above.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221027/d2f8e0a5/attachment.htm>
More information about the webkit-unassigned
mailing list