You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/09/15 13:39:34 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14133809#comment-14133809 ] 

ASF GitHub Bot commented on CB-7547:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-plugin-media/pull/29

    CB-7547 Fixes audio recording on windows platform

    Fix for https://issues.apache.org/jira/browse/CB-7547

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-plugin-media CB-7547

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-media/pull/29.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #29
    
----
commit bd6aa6d92c0dedf35704af1bd3d9f1885d13b073
Author: Vladimir Kotikov <v-...@microsoft.com>
Date:   2014-09-15T10:11:27Z

    CB-7547 Fixes audio recording on windows platform

----


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