From 6fe830df908842fa936d5efbfe9a829f3f9f4449 Mon Sep 17 00:00:00 2001 From: Mattia Iavarone Date: Wed, 19 Sep 2018 11:07:24 -0300 Subject: [PATCH] Remove cameraFacing definition in demo app --- MIGRATION.md | 2 ++ demo/src/main/res/layout/activity_camera.xml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index 70a972ae..f7da36b0 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -52,6 +52,8 @@ - TODO: takeVideoSnapshot documentation - New setVideoBitRate() and setAudioBitRate() (and XML too) options, accepting bits per second values. TODO: document them +- Now default Facing value is not BACK but rather a value that guarantees taht you have cameras (if possible). + If device has no BACK cameras, defaults to FRONT. TODO: revisit the demo app, change the controls appearance, add missing controls, add all information from the VideoResult in the VideoPreviewActivity, same for pictures \ No newline at end of file diff --git a/demo/src/main/res/layout/activity_camera.xml b/demo/src/main/res/layout/activity_camera.xml index 6f23534b..e4d302ac 100644 --- a/demo/src/main/res/layout/activity_camera.xml +++ b/demo/src/main/res/layout/activity_camera.xml @@ -19,7 +19,6 @@ app:cameraExperimental="true" app:cameraPlaySounds="true" app:cameraGrid="off" - app:cameraFacing="back" app:cameraFlash="off" app:cameraAudio="on" app:cameraGestureTap="focusWithMarker"