incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-933) Add iOS quirk for Media.play (for hardware mute button weirdness)
Date Mon, 18 Jun 2012 22:26:42 GMT
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

        

Mime
View raw message