mozilla-b2g/gaia — pull request #6025 by ttaubert (2012-10-26 13:13:41+00:00)
Title: Bug 805685 - [camera] video recording does not work since bug 795379

There's a couple of changes here:

1) The overlay does now disappear if you click it. I don't know if it's supposed to fade away automatically but I didn't find any code for that so I just assumed we need that.

2) As soon as I got this._cameraObj.startRecording() working again it always failed - because of https://bugzilla.mozilla.org/show_bug.cgi?id=805777 I figured it would be better to have an error message than nothing happening.

3) startRecording() does now support a maxFileSizeBytes parameter which I think we should use to constraint used disk space by videos. I replaced the old code that periodically checks with a one-time check before the recording starts.