|author||Tomasz Mikolajewski <email@example.com>||Fri Sep 08 07:43:19 2017|
|committer||Tomasz Mikolajewski <firstname.lastname@example.org>||Fri Nov 24 10:49:23 2017|
Make the user facing camera always be the default one. This CL fixes the wrong camera picked on launch by switching to the new constraints syntax which support facingMode. BUG=b:62110111 TEST=Tested manually on snappy on Chrome 59 and newer. Change-Id: I07e5c00e9d69e75201fd589cd24aae57aa603bbd Reviewed-on: https://chromium-review.googlesource.com/656919 Reviewed-by: Daichi Hirono <email@example.com> Tested-by: Sean FS Chiang <firstname.lastname@example.org>
Camera App is a packaged app designed to take pictures with several effects using the embedded web camera.
Should work on any operating system, especially on Chrome OS.
To compile run “make all”, then drag the camera.crx package from the build directory to Chrome. Note, that currently building on Linux only is supported. However, the crx packages should work on any other operating system without problems.
To perform automated tests on Linux, run “make run-tests”. Note, that these tests are experimental. The script must be able to execute sudo without a password.
The automated tests run chromium with a testing package of the Camera app. The Camera app communicates with the python test runner via web sockets. Note, that you will need a usb web camera to be plugged in. Embedded notebook cameras may also work, depending on the model.