You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2014/09/25 13:29:33 UTC

[jira] [Resolved] (CB-7547) [plugin-media] Record Audio fails on windows platform

     [ https://issues.apache.org/jira/browse/CB-7547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Kotikov resolved CB-7547.
----------------------------------
    Resolution: Fixed

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