| Summary: | REGRESSION (Safari 15): AudioContext.decodeAudioData() fails to decode MP3 on macOS 10.15 (Catalina) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | aaron | ||||
| Component: | Web Audio | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED DUPLICATE | ||||||
| Severity: | Blocker | CC: | andrewmacp, ap, cdumez, chris.lowis, eric.carlson, jean-yves.avenard, jer.noble, peng.liu6, sam, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 15 | ||||||
| Hardware: | Mac (Intel) | ||||||
| OS: | macOS 10.15 | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=231643 | ||||||
| Attachments: |
|
||||||
|
Description
aaron
2021-10-08 13:52:20 PDT
I believe this may be a more general problem with the `decodeAudioData` in Safari 15 on Catalina. To reproduce: On Safari Version 15.0 (15612.1.29.41.4, 15612) / OS X 10.15.7 (19H1323) - visit https://chinmay.audio/decodethis/ - click "test all" - observe Success Count: 48 (47.059%) / Failure Count: 54 (52.941%) - observe all `mp3` files fail to decode Expected behaviour On Safari Version 13.1.2 / OS X 10.15 (tested using browserstack) - Success Count: 92 / Failure count: 10 - Only `ogg` file types fail to decode (as expected on this browser/os combination) Also running into this here, Safari 15 on OSX 10.15 is unable to decode mp3 files. Previous version of Safari on 10.15 was fine and Safari 15 on OSX 11.6 is also able to decode mp3. I cannot reproduces this using Safari 15.1 with macOS 12 beta. Success rate is 90.196%. Could you please try Safari 15.1 beta? I can reproduce in Safari 15.1 beta on macOS 10.15.7 I think a better title for this bug might be something like: "AudioContext.decodeAudioData fails to decode MP3 in Safari 15 on macOS 10.15.7" as it now seems to be wider-reaching than just Unity WebGL. (In reply to Alexey Proskuryakov from comment #3) > I cannot reproduces this using Safari 15.1 with macOS 12 beta. Success rate > is 90.196%. Could you please try Safari 15.1 beta? I am also unable to reproduce on macOS 12 beta. It seems this bug is specific to down level: Safari 15.x on Mac OS 10.15.x (Catalina). Looks like Jean-Yves made significant changes to AudioFileReaderCocoa recently, this may be fallout from that work. (In reply to Chris Dumez from comment #8) > Looks like Jean-Yves made significant changes to AudioFileReaderCocoa > recently, this may be fallout from that work. there's been no change to the mp3 side of things (it's all using ExtAudioFile suite) other than ensuring the number of frames out was correct. this is a sandbox issue. same as bug 230974 *** This bug has been marked as a duplicate of bug 230974 *** What exact version of Safari is this fixed in? 15.2? |