Shazron Abdullah created CB-933:
-----------------------------------
Summary: Add iOS quirk for Media.play (for hardware mute button
weirdness)
Key: CB-933
URL: https://issues.apache.org/jira/browse/CB-933
Project: Apache Cordova
Issue Type: Bug
Components: Docs
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
Fix For: 1.9.0
See CB-906.
Add play option "playAudioWhenScreenIsLocked" and default to YES if not set
(which is the current behaviour).
Setting
iOS Audio Session Categories ignores the hardware mute button for the
AVAudioSessionCategoryPlayback session category, which allows for playback when
the screen is locked. To make the app respect the hardware mute button, we have
to set the session category to AVAudioSessionCategorySoloAmbient or
AVAudioSessionCategoryAmbient -- we are setting it to
AVAudioSessionCategorySoloAmbient so app gets exclusive audio access (no mixing
with iPod if its playing).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira