qr-scanner icon indicating copy to clipboard operation
qr-scanner copied to clipboard

Adjust stream constraints in options (resolution etc)

Open RuneSP opened this issue 2 years ago • 0 comments

It would be nice to be able to change the default stream contraints when creating the scanner, or maybe allow user to pass a custom contstraint set.

I've currently solved it be overwriting the _getCameraStream method just after creating the scanner.

I'm capturing an image from the video stream when the user scans a barcode (as our labels contains manually written notes, its nice to save them digitally), but the default resolution is too low.

RuneSP avatar Mar 07 '22 09:03 RuneSP