New issue
Advanced search Search tips

Issue 883210 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

applyConstraints({advanced:{torch:false}})) does not work

Reported by dil...@eslsoftware.co.uk, Sep 12

Issue description

Steps to reproduce the problem:
1. get active video track
2. apply constraint {advanced: { torch: true }} - torch turns on
3. apply constraint {advanced: { torch: false }} - torch does not turn off

https://codepen.io/tomthedev/pen/bxvaGO

What is the expected behavior?
The torch should turn off

What went wrong?
applying the constraint to turn the torch off does not work

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 69.0.3497.86   Channel: n/a
OS Version: 5.1.0
Flash Version: 

Have this working correctly on a chrome 68 android table
 
Components: -Blink>GetUserMedia Blink>ImageCapture
Labels: Needs-Feedback
Constraints for image capture are well supported according to the standard.
Can you try {advanced: {torch: {exact: true}}} ?
exact: true does not seem to work at all.

Sorry, I made a mistake in the initial report, it should be {advanced: [{ torch: true }]} instead of {advanced: { torch: true }} (and for the rest)
Looking at the code, it looks like the original example should work too.

Project Member

Comment 4 by sheriffbot@chromium.org, Sep 12

Cc: guidou@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: Needs-triage-Mobile
Labels: Triaged-Mobile Needs-Feedback
@dillon: Could you please respond to comment#3, Does the original example work?
@chelamcherla, unfortunately it did not :/
Project Member

Comment 8 by sheriffbot@chromium.org, Sep 19

Cc: chelamcherla@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-2 FoundIn-69 Pri-3
Owner: chfremer@chromium.org
Status: Untriaged (was: Unconfirmed)
dillon@ thanks for the codepen and the report. Just tried with my 
sailfish 9 (PQ1A) and Chrome 71.0.3578.98 (Stable) and turning the
torch on and off works for me :-?

Could you provide details about the concrete models you have tried
where it works and doesn't work please? Also the Android and Chrome
versions would be useful for triaging.

Assigning to chfremer@ for further triaging as well.
@mcasas

Tried again on my android 5.1 XT1039 (moto g) in chrome 71.0.3578.83. I don't have access to other android devices to test :(
Status: Assigned (was: Untriaged)
This issue has an owner, a component and a priority, but is still listed as untriaged or unconfirmed. By definition, this bug is triaged. Changing status to "assigned". Please reach out to me if you disagree with how I've done this.

Sign in to add a comment