web-audio-peak-meter icon indicating copy to clipboard operation
web-audio-peak-meter copied to clipboard

Strange Behavior on Single Device Platform

Open bryannso opened this issue 2 years ago • 1 comments

Good day. I utilize your JS on one of my websites. Very simple HTML5 audio element with web-audio-peak-meters "plugged in". (http://www.baycountyscanner.org).

Recently, users with Samsung Galaxy A32's (after latest updates) see the HTML5 audio element behave strangely - but only with the web-audio-peak-meter active. If I comment out the code, the audio element works fine.

When a user clicks "play"; nothing happens. If the click "mute", the audio starts to play, but is muted. If they push "mute" to then un-mute, it pauses playback.

I haven't been able to determine how your code would affect the audio element. I've tried checking release notes for this device, but that's turned up nothing but an empty search.

I'm surprised by how many people have these phones, to be honest. Just trying to help this small niche of users out before trying to send them off to Samsung or AT&T for support.

Thanks in advance.

bryannso avatar Aug 30 '22 19:08 bryannso

Have you had a look at the browser console, using Android Studio or something similar perhaps? Or can you reproduce on the desktop? I had issues when trying to create the audio node twice, like in the example if I somehow execute

  var sourceNode = audioCtx.createMediaElementSource(myAudio);

twice, I get an error.

suterma avatar Mar 24 '23 06:03 suterma