Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capture video/image using user's webcam using GWT

I am developing project using GWT2.5 and I need to use the User’s webcam to capture images/video. How it is possible in GWT?

like image 592
Sweta Avatar asked Apr 01 '13 13:04

Sweta


1 Answers

GWT 2.5 comes with a new library called Elemental, it is thought as a wrapper of the browser API. It just works with chrome, but in a future it could support more browsers.

If you are confortable supporting in your app chrome for this feature, you can take a look to this example. The source code of the demo is in googlecode.

If you wanted to support other browsers, you could take the elemental classes as base and modify them to match other browsers.

Here is a video introducing elemental during the google I/O 2012

like image 74
Manolo Carrasco Moñino Avatar answered Nov 04 '22 06:11

Manolo Carrasco Moñino