You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that getUserMedia can specify constraints but it doesn't seem to support constraining based on torch (even if I send in video: { torch: { exact: true } }; does it only support constraining on "image track" constraints and not "video track" constraints? I'm able to apply the torch constraint to a video track on a videoinput stream once I have one. I'm currently enumerating all devices and trying each one to find out which ones support torch which is a little slow and tedious. I'd much rather specify it as a constraint when calling getUserMedia or something. Please advise. Thank you.
The text was updated successfully, but these errors were encountered:
... it doesn't seem to support constraining ... I'm able to apply the torch constraint to a video track ... once I have one
Is "it" Chrome? If so, please file a crbug to see if it's intentional, as"The User Agent SHOULD use the value of the computed fitness distance from the SelectSettings algorithm as an input to the selection algorithm".
I see that
getUserMedia
can specify constraints but it doesn't seem to support constraining based ontorch
(even if I send invideo: { torch: { exact: true } }
; does it only support constraining on "image track" constraints and not "video track" constraints? I'm able to apply thetorch
constraint to a video track on avideoinput
stream once I have one. I'm currently enumerating all devices and trying each one to find out which ones supporttorch
which is a little slow and tedious. I'd much rather specify it as a constraint when callinggetUserMedia
or something. Please advise. Thank you.The text was updated successfully, but these errors were encountered: