1 Reply
      Latest reply on Dec 3, 2019 2:24 AM by 8volution
      talbigvu Level 1 Level 1 (0 points)

        When I start the app in iOS 13.X, the Audio Context starts in a state of “suspended”.

        after the user clicked the “play” button (which has ‘onclick’ or ‘touchend’ event to trigger the context.resume() and wait until resolved), the audio context state turning into ‘running’.

        Then I use the method ‘createMediaElementSource’ and provide the HTML audio element and connect the source to the context.destination, but it doesn’t make any difference, because the audio fails to put out any sound.

        However, in iOS 12.X it works, so I can assume that the nodes connected properly.

         

        Is there something else i should do to make it work on iOS 13?

        Thanks in advance.