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:
  1. Changing aspectRatio in run-time is not supported as neither the qrbox UI nor the scanner can adapt to it yet, stay tuned for updates.
  2. Changing constraints is supported if the videoTrack extends those capabilities, for example:
    1. colorTemperature
    2. exposureCompensation
    3. exposureMode
    4. exposureTime
    5. focusDistance
    6. whiteBalanceMode
    7. Visit MediaTrackConstraints for more information.


Facing Mode: Aspect Ratio: