Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.7.0, 3.6.3, 3.7.1
-
None
-
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
Description
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