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

[jira] [Updated] (CB-4584) Capture audio should reset AVAudioSession when finished recording

     [ https://issues.apache.org/jira/browse/CB-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Gill updated CB-4584:
---------------------------

    Assignee:     (was: Steve Gill)

> 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: iOS, Plugin Media Capture
>    Affects Versions: 2.9.0
>            Reporter: Becky Gibson
>             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 was sent by Atlassian JIRA
(v6.1#6144)