schmich / instascan

HTML5 QR code scanner using your webcam
https://schmich.github.io/instascan/
MIT License
2.97k stars 868 forks source link

instascan.min.js:formatted:23167 Invalid asm.js: Type mismatch in assignment #253

Open EAWF opened 4 years ago

EAWF commented 4 years ago

Platform: Win7-64, Chrome: Version 84.0.4147.105 (Official Build) (64-bit) Instascan min source: https://rawgit.com/schmich/instascan-builds/master/instascan.min.js

When using: <!DOCTYPE html>

Instascan

Console Log: instascan.min.js:formatted:23167 Invalid asm.js: Type mismatch in assignment instascan.min.js:formatted:15507 Uncaught (in promise) Error: Cannot access video stream (OverconstrainedError). at new i (instascan.min.js:formatted:15507) at Function. (instascan.min.js:formatted:15701) at n (instascan.min.js:formatted:7209) at Generator._invoke (instascan.min.js:formatted:7289) at Generator.e. [as throw] (instascan.min.js:formatted:7224) at n (instascan.min.js:formatted:7209) at r (instascan.min.js:formatted:7230) at instascan.min.js:formatted:7237

avisha-sejal-nandini commented 3 years ago

I had the same issue . did that get resolved?

helsner commented 3 years ago

Same here ATM - i'm working on a project which is getting an upgrade while the live version for this is working, but not the local one.. The whole thing needs a secure connection - eventually the issue is the local certificate or something in that directory of issue

jssprz commented 2 years ago

I had the same issue.

CornFlakesKun commented 2 years ago

Just change the protocol to https:// rather than HTTP: and it will work