[
https://issues.apache.org/jira/browse/CB-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon MacDonald resolved CB-1249.
---------------------------------
Resolution: Fixed
I've fixed the stop/start methods so they no longer call the success callback
directly. Instead we let the onStatus method handle it.
> Media.startRecord fires the success callback twice
> --------------------------------------------------
>
> Key: CB-1249
> URL: https://issues.apache.org/jira/browse/CB-1249
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 1.9.0, 2.0.0
> Reporter: Simon MacDonald
> Assignee: Simon MacDonald
> Fix For: 2.1.0
>
>
> When you do a Media.startRecord the success callback is invoked twice. The
> first time the callback is invoked is when you start a record then it is
> fired a second time when the recorded is finished. Expected behaviour would
> be for the callback to fire only when the record is finished.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira