Can I get a live camera image inside my App in Firefox OS?
26 views
Skip to first unread message
freder...@gmail.com
unread,
Apr 20, 2013, 1:20:27 PM4/20/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
So I am having a look into Firefox OS right now. One thing I would like to try is to manipulate the device camera's live feed using canvas et.al.
From what I can see in the blog posts (like this one) and the code in the boilerplate app this is always done using a MozActivity, meaning that the user is leaving the application, takes a picture and passes this picture back to the application, where I could post-process it.
But for live manipulation I would need to have a live camera feed inside my App, just like you would do using getUserMedia when accessing a computer's webcam. getUserMedia doesn't seem to be supported in the Firefox OS simulator though.
Is this disallowed due to security reasons?
Is there any workaround to this or some API that I am missing?
Mounir Lamouri
unread,
Apr 20, 2013, 3:37:29 PM4/20/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-w...@lists.mozilla.org
As far as I know, you can't do that with the current version of Firefox
OS but this is definitely something that will be exposed via an API in
the next versions.
Cheers,
--
Mounir
Harald Kirschner
unread,
Apr 20, 2013, 3:39:20 PM4/20/13
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-w...@lists.mozilla.org
Hi Frederik,
WebRTC will (hopefully) land in Firefox OS 1.2 (as reference, the initial launch is on 1.0.1, closely followed but dependent on carriers is 1.1). WebRTC is a of lot of low-level hardware dependencies, so it might take longer.
On Saturday, April 20, 2013 at 12:37 PM, Mounir Lamouri wrote:
> As far as I know, you can't do that with the current version of Firefox
> OS but this is definitely something that will be exposed via an API in
> the next versions.
>
> Cheers,
> --
> Mounir