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/03 12:40:51 UTC

[jira] [Commented] (CB-7453) Cordova-media-capture fails to record an mp3 file on WP8.1 device/emulator

    [ https://issues.apache.org/jira/browse/CB-7453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14119739#comment-14119739 ] 

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

GitHub user vladimir-kotikov opened a pull request:

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

    CB-7453 Adds fallback to m4a audio format when mp3 recording fails.

    Fix for https://issues.apache.org/jira/browse/CB-7453
    Adds a fallback to m4a audio format when mp3 recording fails.

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

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

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

    https://github.com/apache/cordova-plugin-media-capture/pull/26.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 #26
    
----
commit 989126e600d5f4805b1a870338c043708d606785
Author: Vladimir Kotikov <v-...@microsoft.com>
Date:   2014-09-03T10:37:06Z

    CB-7453 Adds fallback to m4a audio format when mp3 recording fails.

----


> Cordova-media-capture fails to record an mp3 file on WP8.1 device/emulator
> --------------------------------------------------------------------------
>
>                 Key: CB-7453
>                 URL: https://issues.apache.org/jira/browse/CB-7453
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media Capture
>         Environment: WP8.1 device/emulator 
>            Reporter: Vladimir Kotikov
>              Labels: media-capture, mp3, wp8.1
>
> When trying to record audio file using media-capture plugin on WP8.1 device, i gettting error with code 3, which is equal to {{CAPTURE_NO_MEDIA_FILES}}. It seems that WP8.1 by some reasons can't encode audio stream to mp3 format.
> Possible solution is to add a fallback to another format (m4a looks good) when mp3 recording fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)