Skip to content

Commit

Permalink
aleris#4 Exact DeviceID not working
Browse files Browse the repository at this point in the history
  • Loading branch information
David Werth committed Oct 25, 2017
1 parent 2a37e31 commit dc7e589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zxing-typescript",
"version": "0.1.2",
"version": "0.1.3",
"description": "TypeScript port of ZXing open-source, multi-format 1D/2D barcode image processing library",
"keywords": [
"zxing-typescript",
Expand Down
2 changes: 1 addition & 1 deletion src/browser/BrowserCodeReader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class BrowserCodeReader {
}
} else {
constraints = {
video: { deviceId }
video: { deviceId: { exact: deviceId } }
}
}

Expand Down

0 comments on commit dc7e589

Please sign in to comment.