iOS Sound Problem

Hi everyone,

I am working on a project where I want to play sound on iOS in following way

  1. Click Sound Button
  2. Send API Call
  3. Receive result
  4. Play Result in audio form

Only Playcanvas native sound component is playing sound, audio, and Windows speech synthesis are not playing any sound. If someone can help in how playcanvas is still managing to play sound, and what I can do to achieve this.

Demo project: PlayCanvas | HTML5 Game Engine

Hi @Faiq_Laiq,

I’m not fully sure on what the issue may be, from what I know the browser needs to play the sound as a response to an input event handler. I assume it’s ok if the response is first a Rest call and afterwards the audio play() method (but iOS can be strange).

Here is the Sound Component source code if it helps: