richtr / NoSleep.js

Prevent display sleep and enable wake lock in any Android or iOS web browser.
MIT License
2.19k stars 379 forks source link

Usage with complex web audio api app #143

Open dj-fiorex opened 2 years ago

dj-fiorex commented 2 years ago

My app uses a complex ScriptProcessorNode with the Web Audio API, When I activate NoSleep in any ios devices I have problems with audio playback, the sound becomes jerky. Is anyone tried a different approach? Thanks

This is the link to the app if someone wants to try with an iphone: https://lattesplayer--preview-tag-cvewbtlv.web.app/player?trackId=600&version=0