You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/06/19 00:26:42 UTC
[jira] [Created] (CB-933) Add iOS quirk for Media.play (for
hardware mute button weirdness)
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
[jira] [Resolved] (CB-933) Add iOS quirk for Media.play (for
hardware mute button weirdness)
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-933.
---------------------------------
Resolution: Fixed
Fix commit - http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/9616db4b
> 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
[jira] [Commented] (CB-933) Add iOS quirk for Media.play (for
hardware mute button weirdness)
Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396315#comment-13396315 ]
Shazron Abdullah commented on CB-933:
-------------------------------------
Notified the list here: http://markmail.org/message/cw2kzothxn3htn65
> 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