ios-audio-unlock

1.0.7 • Public • Published

iOS Audio Unlock

Unlock audio on iOS after user touches screen, allows Web Audio to be played even when mute switch is on

Example:

import unlockAudio from 'ios-audio-unlock';

playAudio = () => {

// play some audio

}

unlockAudio(myAudioContext, playAudio, false, true);

Readme

Keywords

Package Sidebar

Install

npm i ios-audio-unlock

Weekly Downloads

0

Version

1.0.7

License

ISC

Last publish

Collaborators

  • jfred1979