New issue
Advanced search Search tips

Issue 888160 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

[CCA] Dru: CCA app, not able to switch to "Back" facing camera mode

Project Member Reported by allendam@chromium.org, Sep 21

Issue description

Chrome Version: 11021.23.0, 70.0.3538.28 (beta) channel
Camera vers: CCA 5.2.1
Devices: Dru

Step:
(1) Launch CCA 5.2.1
(2) Switch to "Back" facing camera mode
Observe: 

Expected result:
able to switch "Back/Front" facing camera without issue

Actual result:
not able to switch to "Back" facing camera mode

How frequently does this problem reproduce? (randomly)  

Feedback: https://listnr.corp.google.com/product/208/report/85676410368
 
Also reproducible on Nocturne with build  11086.0.0, 71.0.3555.0 (dev) channel. 

Cc: jcliang@chromium.org
Cc: shik@chromium.org
error log:
2018-09-21T21:46:42.034389+00:00 ERR cros_camera_service[2624]: E/ CAMHAL_Camera3HALModule:Don't support front/primary open at the same time

Is there any app using camera in the background? I cannot reproduce it on my Dru (scarlet/R71-11096.0.0/71.0.3558.0/CCA 5.2.1).
Owner: allendam@chromium.org
Status: Assigned (was: Untriaged)
allendam@,
Please help to verify if there's other app using camera at the same time. Thanks.
Owner: y...@chromium.org
I can able to reproduce the issue with 11095.0.0/71.0.3558.0/CCA 5.2.1 (dev) channel (Dru PVT) Only 1 camera open.
Owner: shik@chromium.org
This might be a race condition in our implementation of MediaStreamTrack.stop() finished too early while the underlying device are still closing the camera, so we cannot switch to another camera as the original camera is not yet fully closed.

I will investigate further.

Sign in to add a comment