Re: [mediacapture-image] Implementation status using torch on chrome under Windows 10 (#202)

I can enable torch mode on android in this way:
```
    try {
      const track = stream.getVideoTracks()[0];
      const torch = !torchMode;
      track.applyConstraints({
        advanced: [{ torch }],
      });
    } catch (_) {
      // torch is not available
    }
```

-- 
GitHub Notification of comment by xelaz
Please view or discuss this issue at https://github.com/w3c/mediacapture-image/issues/202#issuecomment-454343572 using your GitHub account

Received on Tuesday, 15 January 2019 10:30:55 UTC