Hi guys, I'm a XR Developer, lately making a lot of web ar apps, I'm having an issue with iOS 17 at least on my iphone 14 Pro where the sound comes out of the call speaker, resulting very very low volume, sometimes I'm not sure how if I lock the phone and move it when I unlock it and go back to the webapp the sound it normal, loud and coming out of the media speakers.
How I used to do this is my "start button" I unmute a <video> play and pause it, and with this I used to be able to play later sounds of videos on the browser.
Did something change with the last iOS 17 update? Is there a workaround for this? In the end what I want is be able to play sounds and videos on the web browser...
This is a tag of a project that was working fine before the 17 update:
<video id="vid" playsinline webkit-playsinline crossorigin="anonymous" loop="false" src="./assets/video.mp4" preload="auto" muted></video>
And this is what I do on the start button:
video.muted = false; video.play(); video.pause();
Help would be appreciated since I'm in the middle of deployment, thanks in advance