Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA05010F70 for ; Tue, 10 Dec 2013 23:22:07 +0000 (UTC) Received: (qmail 22617 invoked by uid 500); 10 Dec 2013 23:22:07 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 22602 invoked by uid 500); 10 Dec 2013 23:22:07 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 22594 invoked by uid 99); 10 Dec 2013 23:22:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 23:22:07 +0000 Date: Tue, 10 Dec 2013 23:22:07 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CB-5603) Media Capture: Audio Capture on Android 4.4 generates cancel error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-5603. ---------------------------- Resolution: Cannot Reproduce I can record audio without an issue with MobileSpec on the Nexus 5. > Media Capture: Audio Capture on Android 4.4 generates cancel error > ------------------------------------------------------------------ > > Key: CB-5603 > URL: https://issues.apache.org/jira/browse/CB-5603 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 3.2.0 > Environment: Nexus 7 running Android 4.4 > Reporter: John M. Wargo > > When I try to use Media Capture to capture an audio file, the capture API generates a cancelled error: > {"message":"Canceled.","code":3} > as shown in the following log entries: > 12-09 09:59:12.140: I/chromium(23394): [INFO:CONSOLE(112)] "Entering onCaptureError", source: file:///android_asset/www/index.html (112) > 12-09 09:59:12.150: D/CordovaLog(23394): file:///android_asset/www/index.html: Line 114 : {"message":"Canceled.","code":3} > 12-09 09:59:12.150: I/chromium(23394): [INFO:CONSOLE(114)] "{"message":"Canceled.","code":3}", source: file:///android_asset/www/index.html (114) > 12-09 09:59:12.150: D/CordovaLog(23394): file:///android_asset/www/index.html: Line 143 : User likely cancelled the capture process. > 12-09 09:59:12.150: I/chromium(23394): [INFO:CONSOLE(143)] "User likely cancelled the capture process.", source: file:///android_asset/www/index.html (143) > 12-09 09:59:12.200: D/CordovaLog(23394): file:///android_asset/www/index.html: Line 145 : Leaving onCaptureError > 12-09 09:59:12.200: I/chromium(23394): [INFO:CONSOLE(145)] "Leaving onCaptureError", source: file:///android_asset/www/index.html (145) > I'm guessing that this is because the nexus doesn't have a voice recorder, but I'm expecting the API to return an CaptureError.CAPTURE_NOT_SUPPORTED rather than CaptureError.CAPTURE_NO_MEDIA_FILES. -- This message was sent by Atlassian JIRA (v6.1.4#6159)