Becky Gibson created CB-4584:
--------------------------------

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


After recording, the AVAudioSession is left in record mode.  This prevents 
VoiceOver from working properly.  Steps to reproduce:
1) Turn on VoiceOver
2) call captureAudio api to bring up the recording UI
3) record something and click done
4) WithOUT playing the recording, call the captureAudio api to bring up the 
recording UI again. Note that this time no information is spoken by VoiceOver. 
This is because the AVAudioSession category is left in record mode.

The solution is to store the current AVAudioSession.category when the view is 
loaded and reset back to that category when recording is completed (the mode is 
set in the code to AVAudioSessionCategoryRecord in order to record).

Becky has a fix for this it just may take me a bit to get my system set up to 
post a patch or check in a 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

Reply via email to