Hello,
I'm creating these pull request to add a small change to props.
Adding trackConstraints to BarcodeScanner props to be used in useCamera hook.
It's usefull to define MediaTrackConstraints: https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints/facingMode
for example deviceId to choose between cameras.
Hello, I'm creating these pull request to add a small change to props. Adding trackConstraints to BarcodeScanner props to be used in useCamera hook. It's usefull to define MediaTrackConstraints: https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints/facingMode for example deviceId to choose between cameras.
Thanks!