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

Vladimir Kotikov updated CB-7454:
---------------------------------
    Description: 
Current version doesn't support m4a audio even if platform, we're running on 
does.

For example CB-7453 describes that media-capture for WP8.1 can record an m4a 
file when mp3 recording fails, and the recorded file format which is fully 
supported by Windows platform and IE11, can't be used with Media plugin due to 
current plugin limitations.

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.

  was:
Current version doesn't support m4a audio even if platform, we're running on 
does.

For example CB-7453 describes that media-capture for WP8.1 can record an m4a 
file when mp3 recording fails, and the recorded file format which is fully 
supported by Windows platform and IE11, can't be used with Media plugin due to 
current plugin limitations.


> Add support for m4a audio format to Media plugin
> ------------------------------------------------
>
>                 Key: CB-7454
>                 URL: https://issues.apache.org/jira/browse/CB-7454
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Media
>            Reporter: Vladimir Kotikov
>              Labels: m4a, media, wp8.1
>
> Current version doesn't support m4a audio even if platform, we're running on 
> does.
> For example CB-7453 describes that media-capture for WP8.1 can record an m4a 
> file when mp3 recording fails, and the recorded file format which is fully 
> supported by Windows platform and IE11, can't be used with Media plugin due 
> to current plugin limitations.
> 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)

Reply via email to