Closed Bug 931654 Opened 11 years ago Closed 6 years ago

[HW test] Simple camera app implementation

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tjao, Assigned: tjao)

References

Details

Attachments

(1 file)

We need a simple camera app based on camera/getUserMedia APIs for testing purpose. This also makes sure that not only official camera app works well on webAPI, but also third-party apps.
Assignee: nobody → tjao
Blocks: eng-mode
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Summary: [HW test] Simple camera implementation → [HW test] Simple camera app implementation
I'm hesitated of choosing mozCamera or getUserMedia for implementation.
mozCamera API is much powerful but will be discontinued in the future. In constrast, getUserMedia is less powerful and lacks critical ability such as zooming (at this time)

Evelyn, would you please give me some suggestion?
Flags: needinfo?(ehung)
I will suggest to use getUserMedia and see what we can come out. :)
Flags: needinfo?(ehung)
In this test, user should see the video captured by camera. They can zoom (digitally, using CSS) and take shots.

I implement this test with gUM. However, since gUM is not complete yet, if gUM request returns with error then it will use a fake image for alternative.

Related message will be shown in console. I can't use window.alert() since there is a bug using alert() in fullscreen mode.

PS. There may be some bugs in this test since I can't test it in all conditions. gUM is not available on device and touch events is not available on desktop...
Attachment #8362440 - Flags: review?(ehung)
Comment on attachment 8362440 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/15522

I think Fred knows more than me on getUserMedia. :)
Attachment #8362440 - Flags: review?(ehung) → review?(gasolin)
I'd rather review this patch once the gUM video really ready...

@SC is there a target version for gUM video?
Flags: needinfo?(schien)
Suppose the target version for gUM video is v1.4 now, but I'll let Ivan answer this question.
Flags: needinfo?(schien) → needinfo?(itsay)
Depends on: 853356
(In reply to Shih-Chiang Chien [:schien] from comment #6)
> Suppose the target version for gUM video is v1.4 now, but I'll let Ivan
> answer this question.

Right, the gUM for video is in Firefox OS v1.4.
Flags: needinfo?(itsay)
gUM for video is laneded, I'll review this patch soon
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: