I have a website that has the audio tag if the source of the audio is an mp3 file works on iOS. But it turns out that if the source of the audio is an audio streaming iOS does not play anything. The iOS version is 10.3.3. Thanks
<audio controls="controls" id="linkAudio"> <source src="http://192.168.1.25:8080" preload="none" type="audio/mpeg" >Dont Support</audio>
<script type="text/javascript">
var audio = document.getElementById("linkAudio");
document.getElementById("linkAudio").addEventListener("click", function () {
document.getElementById("linkAudio").play();
});
</script>
<button class="btn" type="button" onclick="audio.play()" >play iOS</button>