blob audio issues under iPadOS 15.4

My company has an app that consists of a full screen web application in a WebView. The app makes extensive use of audio. At one point, a reading passage is presented to the user, and audio is downloaded (essentially cached) as the page loads, allowing the user to read along with a narrator as sentences in the passage are highlighted sequentially. The audio is played from the downloaded blob resource just using a standard html5 audio player. This has worked great for many years, until iOS 15.4.

Now, it seems to choke on audio files that are larger than about 70KB, and sends "something" into an endless loop, eventually causing the audio to stop playing. The strange thing is that the WebView remains responsive. The user can still tap buttons, for example, but that loop continues, as I can see in the Safari debugger and, I'm guessing, would eventually crash the app. No error ever occurs that I can tell.

I'm not quite sure what other info to share at this point, but I thought I'd ask to see if anyone out there has run into similar issues. Again, everything has been working fine this way for years now. Only with iPadOS 15.4 do we experience this problem. I do have a couple screen shots of the Network tab in the debugger that I can share, but I didn't know if that would really be helpful or not. If so, I can certainly post those. Also, this issue does not occur in desktop browsers at all, as far as we can tell. It is something specific to iPadOS 15.4.

Thank you!

csheff,

I'm experiencing the same exact issue with my app. This doesn't seem limited to webviews, though. You can observe the same behavior in Safari with this simple demo: https://lastmjs.github.io/safari-object-url-test/

We are experiencing the same thing in our production environment. We are heavily relying on creating audio from text on our website, using Microsoft cognitive services. We need to use the same setup as csheff is referring to (https://lastmjs.github.io/safari-object-url-test/), but our audio played using window.URL.createObjectURL is stopped/muted early. Length of the audio file is correct, but the audio stops outputting sound towards the end of the file. Only appearing on 15.4. Kind of a big problem for us since we don't see a workaround for this issue.

I created a feedback report for this here https://feedbackassistant.apple.com/feedback/9966036 (FB9966036 (blob audio issues under iPadOS 15.4)). I don't know if this is accessible/searchable to everyone or not. Kind of just hoping this gets fixed very soon. For now, we created a workaround in our app by loading lower quality audio files so the file size is smaller. This is working for us, but I realize is probably not an option for everyone...

blob audio issues under iPadOS 15.4
 
 
Q