No waveform visible with "EncodingError: Decoding failed" error when running iOS Capacitor app on Apple Silicon Mac #4035
-
When trying to play just-recorded AAC audio in iOS app running on Apple Silicon Mac, I'm getting the decoding error:
Everything works smoothly If running on iOS simulator or iOS device. I've seen some issues on GitHub describing a bug in WebKit (goldfire/howler.js#1513) but it seems to be already fixed. Could you please advise, what may differ relating to audio codecs, etc. in such environment comparing to iOS device/simulator? The user agent of browser when running app on Mac is:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This issue seems to be specific to Once this issue is resolved, WaveSurfer.js should be able to decode array buffers correctly, as it relies on the native |
Beta Was this translation helpful? Give feedback.
This issue seems to be specific to
WKWebView
on macOS. Here's the corresponding WebKit Bugzilla report.Once this issue is resolved, WaveSurfer.js should be able to decode array buffers correctly, as it relies on the native
AudioContext.decodeAudioData()
API under the hood.