[mediacapture-main] get video input with torch (#886)

mfulton26 has just created a new issue for https://github.com/w3c/mediacapture-main:

== get video input with torch ==
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 `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.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/886 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 1 June 2022 21:16:55 UTC