Bug 234840
| Summary: | Audio canPlayType() reports false negative for PCM WAV | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ashley Gullen <ashley> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | acase, bfulgham, cdumez, jean-yves.avenard, jer.noble, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ashley Gullen
(Forked from issue 229799)
Repro URL: https://downloads.scirra.com/labs/audioCodecTests/
In Safari 15.2, canPlayType() indicates PCM WAV ("audio/wav;codecs=1") is not supported by returning an empty string. However when passing a PCM WAV file to both an <audio> element and Web Audio, it correctly decodes and plays the file.
Observed result: canPlayType() returns empty string
Expected result: canPlayType() to return "maybe" or "probably"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/87122702>
Austin Case
Hey all, this is becoming a big challenge and causing us to have to recommend using any other browser. But Safari has the best video codec support with HEVC and PRORES -- commonly with wav/pcm audio... thus our application can't trust if it can play the files or not.
Brent Fulgham
This should be fixed in Safari 17. I checked on a recent macOS Sonoma system and am able to play the PCM WAV example (and others on the site).
Brent Fulgham
Note: The cause of this bug was outside of the WebKit source code, so I am marking this as 'Configuration Changed'.