Closed Bug 805685 Opened 12 years ago Closed 12 years ago

[camera] video recording does not work since bug 795379

Categories

(Firefox OS Graveyard :: Gaia, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
blocking-basecamp +

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

(Keywords: regression, smoketest)

Attachments

(1 file)

The signature for .startRecording() has changed. We need to wait until bug 805377 is fixed or we won't even get here. I have a patch almost ready and will post it tomorrow.
Keywords: unagi
This should block because we can't record video at all at the moment.
blocking-basecamp: --- → ?
Even with the signature fixed, recording fails. I tracked it down so far that GonkCameraSource::initCheck() return false and so we fail here:

http://mxr.mozilla.org/mozilla-central/source/dom/camera/GonkRecorder.cpp#1139
Depends on: 805777
No longer blocks: 795379
Depends on: 795379
(In reply to Tim Taubert [:ttaubert] from comment #2)
> Even with the signature fixed, recording fails. I tracked it down so far
> that GonkCameraSource::initCheck() returns false.

Filed bug 805777, the frame rate is unsupported.
Pointer to Github pull-request
Comment on attachment 675524 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/6025

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 bug 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.
Attachment #675524 - Flags: review?(dale)
This problem is actually not unagi-specific.
Keywords: unagi
Attachment #675524 - Flags: review?(dale) → review+
https://github.com/mozilla-b2g/gaia/commit/5817b97ab660de8808d6ee98f97d89d6f1be639d
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
blocking-basecamp: ? → +
Keywords: regression
Priority: -- → P2
Still happen.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to Vivien Nicolas (:vingtetun) from comment #8)
> Still happen.

Vivien, can you confirm that you have on your DUT:
- /system/lib/libOmxVidEnc.so, and
- /system/etc/media_profiles.xml of 18,066 bytes.

If you don't, recorder won't work.  This has been fixed in recent builds.

If you do, STR?
Video recording should at the moment work on Otoro, only. There still is bug 800627, right?
video recording works for me on unagi.

However we have no UI feedback that it is correctly saved, but it should belong in another bug.
Video recording works on the unagi

It requires files that we cannot distribute so if you have a phone that was flashed prior to these files being added to the build you will need to flash a new nightly.

The confirmation is already an open bug
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Device: Unagi
Build: 20130102070202

Recording works on the new build at this time.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: