When StockAudioPlayer is playing and I want to stop it within OnLevel event I get the error:
"Cannot perform this operation while media data is still playing. Reset the device, or wait until the data is finished playing."
I need to stop the audio when level is > 90 so not continue playing.
How can I do this?
Thanks