New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 910885 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Rear-facing camera issues with built-in camera app when Android is enabled

Reported by 0spor...@gmail.com, Dec 1

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 11021.56.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.76 Safari/537.36
Platform: 11021.56.0 (Official Build) stable-channel coral-unibuild (astronaut babymega babytiger blacktip blacktip360 blacktiplte blue bruce coral epaulette lava nasher nasher360 porbeagle rabbid robo robo360 santa whitetip)

Steps to reproduce the problem:
1. Get a ChromeOS device with two separate cameras, a front facing camera and a rear-facing camera (in my case, the one on the keyboard)
2. Turn Android applications on via settings.
3. Open the camera application.
4. Switch the camera to the rear-facing camera.
5. Take a picture.

What is the expected behavior?
Photos taken with rear camera are not blurry.

What went wrong?
Something is up with how Android apps (notably the built-in camera app) recognizes the rear-facing camera on ChromeOS with two cameras. 

The blurring happens with any Android app that uses the camera, when switched to the rear camera. There are no major issues when using the front-facing camera, even if Android is toggled.

When Android is disabled, the built-in camera app works perfectly, with no blurring of images. Presumably because when you disable Android, it switches the camera app back to the ChromeApp version.

Did this work before? N/A 

Chrome version: 70.0.3538.76  Channel: stable
OS Version: 11021.56.0
Flash Version: 

This has been tested with at least a Lenovo 500E 81ES (Coral) on Stable 70.0.3538.76. I asked a few others to test it with their own devices, with them seeing it too, but I don't know their device model or what channel they are on. 

Comparison files are attached. They are all taken of the same view, same device, same built-in camera, with the default settings of the camera. 
The different files are 
ChromeAppNoARC++.jpg : An image taken with the default Chrome Camera app, Android disabled.
AppScreenshotARC++.png : Screenshot of the Android version of the default camera. Android enabled.
AndroidCameraAppWithARC++.jpg : Actual picture taken with the Android version of the default camera. Note the blurriness in this image. Android enabled. 
WebcameraioWebAppExampleARC++.jpg : Picture taken with a third-party website that can take pictures (webcamera.io). Android enabled.
VideoARC++.mp4 : Possibly separate issue. Videos with the rear-facing camera do not work, it creates a 0mb .mp4 file, and it gives an error message (next file). This only happens with android apps, as I am able to take videos with websites. Android enabled.
FailedVideoARC++.png : Error message for the above issue related with video.
3rdPartyAndroidCameraAppARC++.jpg : 3rd-party camera application from the Play Store. "Camera For Android". Note the blurriness of the image. Android enabled.
 
ChromeAppNoARC++.jpg
139 KB View Download
AppScreenshotARC++.png
694 KB View Download
AndroidCameraAppWithARC++.jpg
554 KB View Download
WebcameraioWebAppExampleARC++.jpg
982 KB View Download
VideoARC++.mp4
0 bytes View Download
FailedVideoARC++.png
64.5 KB View Download
3rdPartyAndroidCameraARC++.jpg
264 KB View Download
Another device this happens on is the HP Chromebook x2, Beta channel 71.0.3578.49, platform 11151.29.0.
Components: Platform>Apps>ARC OS>Kernel>Camera
Labels: Hotlist-gCon-Source-Forum Hotlist-ConOps-CrOS
Owner: jcliang@chromium.org
Cc: 0spor...@gmail.com chromeos-camera-eng@google.com
Owner: shenghao@chromium.org
Status: Assigned (was: Unconfirmed)
There are three issues on this bug:

1. The blurry image taken by the back camera on Lenovo 500E 81ES (coral)
2. The blurry image taken by the back camera on HP Chromebook x2 (soraka)
3. Video recording not working on rear camera on Lenovo 500E 81ES (coral)

Sheng-hao - Could you check why the video recording does not work in GCA?

0spore13@ - I assume you were testing with the mass-production devices on the market. Please correct me if this is not correct.
The blurry image on coral might need some tuning on the camera module firmware.

The blurry image on soraka is most likely a bug.
Owner: jcliang@chromium.org
I tried to record a video on coral 11021.56.0 with back camera. GCA crashed immediately. It couldn't even start the preview for video for back camera (front camera is working correctly). I filed https://bugs.chromium.org/p/chromium/issues/detail?id=911481 to address this.
Assign this back to jcliang for other items mentioned in #5.
I tested on a coral-lava device and can't reproduce the blurry image issue. Lenovo 500E is coral-robo360 so it may be a camera module specific issue.
Yes, this was tested with consumer units. 
Labels: Hotlist-ConOps-Source-Forum
After updating my 500e to stable Version 71.0.3578.94, the camera is in working order. Issue https://bugs.chromium.org/p/chromium/issues/detail?id=911481 seems to be fixed too following the update.

Sign in to add a comment