Apparently MediaTrackConstraints
has 3 types, this library works with video track, and only image tracks support torch function. I can turn on the light but I think this is not the best way...
Tested in Chromium browser's on Windows and it works fine.
Now, you can see in the dark.
Apparently MediaTrackConstraints has 3 types, this library works with video track, and only image tracks support torch function. I can turn on the light but I think this is not the best way...