New issue
Advanced search Search tips

Issue 888475 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Webcam private api is lacking support for focus control.

Project Member Reported by dfenner@google.com, Sep 24

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
The webcam_private api offers support for setting the absolute positions of Pan, Tilt, Zoom (PTZ) cameras. 
We'd also like to switch on/off auto focus and set the focus value directly. (If the camera supports this this.)

What is the expected behavior?

What went wrong?
Nothing. It just lacks implementation.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 
Flash Version:
 
Components: Platform>Extensions
Project Member

Comment 2 by bugdroid1@chromium.org, Sep 27

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/c3a04a2f21c24c72ac146901f8145f5423dcda3e

commit c3a04a2f21c24c72ac146901f8145f5423dcda3e
Author: Daniel Fenner <dfenner@google.com>
Date: Thu Sep 27 11:38:55 2018

Expand webcam_private api such that we can control auto focus setting ('on' or 'off') and the focus value. The focus value can be read back with the get command. Implemented for Visca and UVC cameras.

Bug: 888475
Change-Id: I41ac7c75e4e0893d085b7b1599ead7ffba7b5d26
Reviewed-on: https://chromium-review.googlesource.com/1240281
Reviewed-by: Zachary Kuznia <zork@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Commit-Queue: Daniel Fenner <dfenner@google.com>
Cr-Commit-Position: refs/heads/master@{#594672}
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/browser/api/webcam_private/v4l2_webcam.cc
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/browser/api/webcam_private/v4l2_webcam.h
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/browser/api/webcam_private/visca_webcam.cc
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/browser/api/webcam_private/visca_webcam.h
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/browser/api/webcam_private/webcam.h
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/browser/api/webcam_private/webcam_private_api.h
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/browser/api/webcam_private/webcam_private_api_chromeos.cc
[modify] https://crrev.com/c3a04a2f21c24c72ac146901f8145f5423dcda3e/extensions/common/api/webcam_private.idl

Sign in to add a comment