mebjas/html5-qrcode > Demo
Html5Qrcode using video constraints
Note: This demo and feature is work in progress, while it allows you to
pass videoConstraints while setting up the scanner or even in run-time
the library doesn't support all kind of videoConstraints yet.
Known limitations:
Known limitations:
-
Changing
aspectRatio
in run-time is not supported as neither theqrbox
UI nor the scanner can adapt to it yet, stay tuned for updates. -
Changing constraints is supported if the
videoTrack
extends those capabilities, for example:- colorTemperature
- exposureCompensation
- exposureMode
- exposureTime
- focusDistance
- whiteBalanceMode
- Visit MediaTrackConstraints for more information.
Demo
Facing Mode:
Aspect Ratio: