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 A4C0411E62 for ; Wed, 17 Sep 2014 21:53:39 +0000 (UTC) Received: (qmail 41793 invoked by uid 500); 17 Sep 2014 21:53:39 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 41777 invoked by uid 500); 17 Sep 2014 21:53:39 -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 41762 invoked by uid 99); 17 Sep 2014 21:53:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 21:53:39 +0000 Date: Wed, 17 Sep 2014 21:53:39 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-7547) [plugin-media] Record Audio fails on windows platform 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-7547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138063#comment-14138063 ] ASF subversion and git services commented on CB-7547: ----------------------------------------------------- Commit 513a5cb887880c6f3e44029ff33d94a1fda66fe7 in cordova-plugin-media's branch refs/heads/master from [~purplecabbage] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=513a5cb ] Merge branch 'CB-7547' of https://github.com/MSOpenTech/cordova-plugin-media > [plugin-media] Record Audio fails on windows platform > ----------------------------------------------------- > > Key: CB-7547 > URL: https://issues.apache.org/jira/browse/CB-7547 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media > Reporter: Vladimir Kotikov > Labels: media, recording, windows > > 1. Create mobilespec app witn windows platform > 2. Run plugin manual test ->org.apache.cordova.media.tests.tests > 3. Press Record Audio 10 sec - at wp8.1 get error: recordAudio(): Audio Error: undefined > 4. Status don't changes to Stopped when finished recording > 5. Press play - nothing happened > Exception was thrown at line 54, column 5 in ms-appx://org.apache.mobilespec/www/plugins/org.apache.cordova.test-framework/www/medic.js > 0x800c0005 - JavaScript runtime error: The system cannot locate the resource specified. > Issue is that Media plugin for windows treats {{src}} property of Media instance as a file name inside of Music library, although it can be a full path to file. > Solution is to record audio file to temporary folder, and if full path for file is provided, copy recorded file to this path, otherwise, leave recorded file at temporary folder. > Also it is necessary to update tests to properly handle windows specifics. -- This message was sent by Atlassian JIRA (v6.3.4#6332)