incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon MacDonald <simon.macdon...@gmail.com>
Subject Commit to common JS to resolve double success callbacks on Media.startRecord/stopRecord
Date Wed, 15 Aug 2012 22:22:50 GMT
Hey other platform maintainers. I checked in a fix today:

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=b4c5682f7654ba01a1de2e6bd565e06acbac456a

Basically, the Media.onStatus() method calls the success callback once
it gets the update that the media has stopped recording. That is the
way I think it should work but startRecord and stopRecord also called
the success callback when they were executed. I changed the Media.js
file to pass null in for the start/stopRecord methods and everything
is working as I believe it should now.

Just a heads up for the rest of you to check on the change in behaviour.

Simon Mac Donald
http://hi.im/simonmacdonald

Mime
View raw message