You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Becky Gibson (JIRA)" <ji...@apache.org> on 2013/08/14 20:35:48 UTC

[jira] [Created] (CB-4585) Sound api should reset the AVAudioSession category when finished playing or recording

Becky Gibson created CB-4585:
--------------------------------

             Summary: Sound api should reset the AVAudioSession category when finished playing or recording
                 Key: CB-4585
                 URL: https://issues.apache.org/jira/browse/CB-4585
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Media
    Affects Versions: 2.9.0
            Reporter: Becky Gibson
            Assignee: Steve Gill
             Fix For: 3.1.0


I discovered this issue when working with the capture API and Voiceover. The media play and record methods have the same issue.  We modify the AVAudioSession category when playing and recording and don't reset it.  We really should capture the current AVAudioSession category before modifying it to perform the play or record and then reset it when the play or record operation completes. 

I (Becky) have a fix for this but it may be a bit before I get my system setup with the new directory structure in order to create a pull request or commit the fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira