I have a tag that I have loaded an mp3 into. When I play the mp3 when it is in paused state, the volume on iPad spikes much louder for a few seconds before returning to its prior volume level. The issue occurs in this sequence:
var sound = $("#AudioElement");
sound.src = url;
I have reproduced this on iOS 11.2.5, 12.0, and 12.1.
The mp3s are encoded at 64Kbps/44100Hz in CBR formatting.
I think 1 of two things is happening here:
1. The audio when first played is being muted by Safari for some reason, and resuming the audio from paused state causes the volume to spike up to the global volume control for the device. IE, volume is spiking to what its supposed to be before being muted again by Safari.
2. The volume is not being muted by Safari on first play, and the spike in volume is just abnormal.
Jer Noble, I've noticed you've been assigned to this case as well. You can use the same login to the demo account I got for you in the other bug (190644) to reproduce. Select the same assessment from the menu and click the pause button in the lower left.
If possible, could I an update on this ticket, please?
I have tried a few workarounds to this issue, re-encoding the MP3s to different sample and bit rates. Here are the set of encodings I've tried (sample rate/bit rate):
I have also tried wavs encoded at 44100 bit rate.
None of these resolved the issue. I am at loss for what else I can do different. And advice or help would be greatly appreciated.