amazon-sumerian-hosts icon indicating copy to clipboard operation
amazon-sumerian-hosts copied to clipboard

Audio not working with BabylonJS Demo on iOS devices

Open GeneUNCG opened this issue 1 year ago • 1 comments

With the latest version of this repository, text-to-speech audio does not work on iOS devices. A mute button appears at the top left, and even when clicked on, the audio still does not play. This issue started happening in the recent months. Just a theory, but perhaps the issue is related to version 4 of BabylonJS, and it was fixed in more recent updates (e.g. version 5 or 6). Please see the screenshot attached.

image

GeneUNCG avatar Jun 30 '23 21:06 GeneUNCG

On iOS, the click event has to happen before any Web Audio is played. If this does not happen, Babylon audio is permanently broken the rest of the session until a user restarts the tab (ouch!).

https://forum.babylonjs.com/t/remove-unmute-button/27577

trusktr avatar Feb 17 '24 06:02 trusktr