WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
124348
Background operation of webaudio in Safari (iOS)
https://bugs.webkit.org/show_bug.cgi?id=124348
Summary
Background operation of webaudio in Safari (iOS)
Leinho
Reported
2013-11-14 06:07:53 PST
I would like to generate sounds in HTML5 and to be able to play them on background operation, I mean when the screen is off. Right now I am able to generate sounds using ScriptProcessor of webAudio API and play them correctly on Safari/Chrome for iOS 7. The problem is that when I turn the screen off, when using Safari, the sounds are stopped and the sound reproduction is started again when I turn the screen on. This problem does not happen in Chrome, I can listen to them even with the screen off. Is there something I can do to support this feature in Safari?
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2013-11-14 10:31:33 PST
Please file this bug via
http://bugreport.apple.com
. It is very iOS specific, and tracking it in open source WebKit Bugzilla is not practical. Please also file a report via
http://bugreport.apple.com
about how Chrome is not properly suspended and keeps wasting battery even when screen is off. This might be an OS bug that it plays audio under these conditions.
Leinho
Comment 2
2013-11-14 10:37:26 PST
Thank you! So, should it be suspended? I have tested the same app in Chrome using my Android phone and the sounds are still reproduced when the screen is off... I thought that background operation should be supported. (In reply to
comment #1
)
> Please file this bug via
http://bugreport.apple.com
. It is very iOS specific, and tracking it in open source WebKit Bugzilla is not practical. > > Please also file a report via
http://bugreport.apple.com
about how Chrome is not properly suspended and keeps wasting battery even when screen is off. This might be an OS bug that it plays audio under these conditions.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug