Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1669

Media.startRecord() is sometimes failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1.0, 2.2.0
    • 2.3.0
    • cordova-ios
    • None

    Description

      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.

      Attachments

        1. AuphonicRecordingLog2.log
          10 kB
          Christoph Pojer

        Activity

          People

            shazron Shazron Abdullah
            cpojer Christoph Pojer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: