You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Colin Bau (JIRA)" <ji...@apache.org> on 2015/06/07 16:18:01 UTC

[jira] [Updated] (CB-7800) media plugin issues in wp

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

Colin Bau updated CB-7800:
--------------------------
    Environment: 
phonegap 3.6.3 with all latest plugin (media 1.0.0 version)
ios 8.02
winphone 8.1
Android 4.42
all real machine

  was:
phonegap 3.6.3 with all latest plugin
ios 8.02
winphone 8.1
Android 4.42
all real machine


> media plugin issues in wp
> -------------------------
>
>                 Key: CB-7800
>                 URL: https://issues.apache.org/jira/browse/CB-7800
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>    Affects Versions: 3.7.0, 3.6.3, 3.7.1
>         Environment: phonegap 3.6.3 with all latest plugin (media 1.0.0 version)
> ios 8.02
> winphone 8.1
> Android 4.42
> all real machine
>            Reporter: Colin Bau
>              Labels: media
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> these are my all code
> <a onClick="mytest()">TEST</a>
> <script type="text/javascript">
> function mytest() { var mediaRecord = null; mediaRecord = new Media('123.wav', onSuccess, onError); mediaRecord.startRecord(); mediaRecord.stopRecord(); 
> }
> function onSuccess() { alert("success"); }
> function onError(error) { alert("fail code:" + error.code + "\n" + "fail message:" + error.message); }
> </script>
> =====
> when I click "TEST"
> [First time]:it will trigger the success callback but "repeat for three times"
> [Second time]:it will trigger the success callback too but "repeat for six times"
> [Third time]:it will trigger the success callback too but "repeat for nine times"
> So...3....6...9...12...15
> and only the first time that can really record the true voice
> trust me,just copy my code and try for it
> PS,android and ios are all work perfect and normal



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org