Closed Bug 946375 Opened 11 years ago Closed 10 years ago

[Camera][emulator] Unable to capture photos and videos on emulator

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: davehunt, Unassigned)

References

Details

When running the emulator builds from https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-emulator-jb I am unable to capture any photos or videos.

Steps to reproduce:
1. Download emulator.tar.gz from https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-emulator-jb and extract the contents.
2. Remove the line -camera-back webcam0 from run-emulator.sh (this doesn't work for me in VMWare, and removing this gives me an animation in the camera app).
3. Run ./run-emulator.sh
4. Launch the Camera app and attempt to take a photo or video

Expected:
Photo or video should be captured, and appear in the filmstrip at the top of the app and available via the Gallery and Video apps.

Actual:
When taking a photo nothing appears to happen and the Camera app becomes unresponsive. When taking a video a modal dialog appears stating "Video not recorded. An error prevented Camera from recording the video."

I was using https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-emulator-jb/20131204055447/
It is possible to make the emulator use existing camera hardware (e.g. the USB cameras build into laptops) and to present a viewfinder and take pictures, although the emulator is not fast enough to support recording.
Summary: Unable to capture photos and videos on emulator → [Camera][emulator] Unable to capture photos and videos on emulator
In short: the emulator supports taking pictures (either a built-in fake one, or using a real USB webcam), but does not support recording videos.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.