You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Christoph Pojer (JIRA)" <ji...@apache.org> on 2012/10/17 23:10:03 UTC

[jira] [Commented] (CB-1669) Media.startRecord() is sometimes failing

    [ https://issues.apache.org/jira/browse/CB-1669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478385#comment-13478385 ] 

Christoph Pojer commented on CB-1669:
-------------------------------------

For reference, this is my AudioRecorder implementation: https://github.com/auphonic/auphonic-mobile/blob/master/JavaScript/Capture/CordovaAudioRecorder.js
                
> Media.startRecord() is sometimes failing
> ----------------------------------------
>
>                 Key: CB-1669
>                 URL: https://issues.apache.org/jira/browse/CB-1669
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Christoph Pojer
>            Assignee: Shazron Abdullah
>            Priority: Critical
>
> Using media.startRecord() sometimes fails in about 5 % of the cases.
> When calling media.startRecord() the status bar turns red and the WebView moves down a few pixels but it immediately reverts to normal after a second. No additional errors are visible in the log. When calling media.stopRecord() the recorded file is empty.
> This has happened to me both using a fresh install (first recording) or during continued application use.
> The normal behavior does *not* turn the status bar red, media.stopRecord() produces a valid audio file that I can play back.
> This error is especially problematic because the user only notices the issue after he has stopped recording.

--
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