aleris / zxing-typescript

Open-source, multi-format 1D/2D barcode image processing library ported from Java in TypeScript usable from node or browser
Apache License 2.0
80 stars 30 forks source link

Exact DeviceID not working #4

Closed werthdavid closed 6 years ago

werthdavid commented 6 years ago

The method BrowserCodeReader.decodeFromInputVideoDevice() accepts a device-id as input-parameter. Unfortunately this seems to be ignored (for some Browsers only? Safari iOS 11 is the only device I have for testing that has multiple cameras).

werthdavid commented 6 years ago

I created a PR

aleris commented 6 years ago

Doesn't seem to brake anything in chrome so I merged this as is.