[
https://issues.apache.org/jira/browse/CB-906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295957#comment-13295957
]
Shazron Abdullah commented on CB-906:
-------------------------------------
re:
http://stackoverflow.com/questions/6901363/detecting-the-iphones-ring-silent-mute-switch-using-avaudioplayer-not-worki
Apple has reportedly commented: "They've said they don't and never have
provided a method for detecting hardware mute switch and don't intend to do so."
So doing that is a no go and/or not reliable with iOS > 4.
> Hardware mute button doesn't effect Media API playback
> ------------------------------------------------------
>
> Key: CB-906
> URL: https://issues.apache.org/jira/browse/CB-906
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 1.8.0
> Environment: iPad 2/iOS 5.1.1
> iPhone 4/iOS 5.1.1
> Reporter: Nathan Demick
> Assignee: Shazron Abdullah
> Fix For: 1.9.0
>
>
> When using the Media API, audio is played even if hardware mute button is
> switched on. There is no way to override this setting.
> Expected behavior: Media API respects hardware mute button; optionally an
> "override" argument could be passed to the play() method which ignores the
> mute button.
--
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