This bug seems to be related to the previous bug #203435, which is currently reported as RESOLVED FIXED.
We asked every user we could get in touch with to test the following player on their iOS devices. Not a single one of the visitors using a device with iOS 13, including the ones who upgraded to the recent iOS 13.4.1, managed to see the player playing back the audio track. The player is stuck as soon as the user hits the play button. No warnings or errors are reported in the browser console.
The player uses the `createMediaElementSource` WebAudio function to connect an HTML5 Audio Element as a source for an Analyzer Node so that the audio file can be analyzed and a waveform animated using the Frequency Data coming from the source can be rendered in the player canvas.
Currently, the only alternative we could find is a fallback to the regular Audio Element for all the iOS 13 visitors. A solution that excludes them from seeing the waveform animations.
Please note that this has been working just fine on any other recent versions of iOS until iOS 13 came out.
If needed, I can provide further details about the player.
Luigi's experience with this bug matches up directly with mine. I'm also using `createMediaElementSource` to analyze audio for https://saturn.fm.
Same for me. Using audio with createMediaElementSource used in a there's positional audio environment. Not working.
three-js positional audio environment*
Have the same experience as outlined above. Please fix asap. User experience is ruined on iOS devices for my audio visualizer app.
We have the same issue. Our app works fine for all users, only those with an iPhone or iPad with iOS 13 or up can't play sound.
No error occurs. The audio element associated with the node fires the 'play' event but no playback starts. We don't receive any 'timeupdate' from the audio element. When we don't use the 'createMediaElementSource' function on the audio element, the sound plays without a problem.
Same for me. This functionality is broken. createMediaElementSource is not working and thus analyzer nodes and visualizing audio are not working either. Everything was working fine till iOS 13 was released. It's been over half a year since this bug was first reported. Please bump this up/make this a priority.
Verifying what all the others have described. This is still an issue. The `createMediaElementSource `WebAudio function is broken. Please fix asap. It's really ruining our customer experience on iOS devices. Works perfectly fine on Android phones and on desktops.
Created attachment 399684 [details]
Comment on attachment 399684 [details]
Committed r261865: <https://trac.webkit.org/changeset/261865>
All reviewed patches have been landed. Closing bug and clearing flags on attachment 399684 [details].
Do we have a sense for when the fixes will land on iOS?
Also thanks for much for the prompt handling of this!
+1 for the quick response, thank you Brent & Per! 🙌
I agree with Adam McAmis: this was very fast compared to the previous report of the same issue.
Any word on the possible timeframe this patch will make it to the public would be very appreciated. The list of complaining users is growing quite fast and if we can expect this to be out soon, it doesn't make sense that we think of a fallback in the meantime.