[
https://issues.apache.org/jira/browse/CB-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-4584:
---------------------------------
Fix Version/s: (was: 3.5.0)
3.6.0
> 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
> Environment: iOS
> Reporter: Becky Gibson
> Fix For: 3.6.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.2#6252)