incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-905) Hardware volume buttons don't effect Media API playback
Date Fri, 15 Jun 2012 23:23:42 GMT


Shazron Abdullah commented on CB-905:

To get a snapshot current system volume:

To get a callback when the system volume changes:
<-- but this is overkill for our application, since the hardware buttons will adjust the
media volume when it is playing.

Fix would be to set the current media volume based on the system volume. This is done right
before the audio is played here:

This should be good enough.

> Hardware volume buttons don't effect Media API playback
> -------------------------------------------------------
>                 Key: CB-905
>                 URL:
>             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, the hardware volume buttons don't change the playback volume
unless the button is pressed at these same time the sound is played.
> Expected behavior: hardware volume buttons change Media API playback volume regardless
of whether media is currently being played.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message