felipenmoura / qr-code-scanner

This project "cleans" some global variables and hardcoded IDs from the previous projects, also fixing some legacy problems. It is based on Lazar Laszlo's port of ZXing Java library
13 stars 12 forks source link

URL.createObjectURL(MediaStream) is deprecated #4

Open ognjen-petrovic opened 7 years ago

ognjen-petrovic commented 7 years ago

qr_code_scanner_issue

Possible solution is usage of HTMLMediaElement.srcObject, as noted here https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL

felipenmoura commented 7 years ago

Hm, sounds promising. The problem is that it experimental image

image

ognjen-petrovic commented 7 years ago

Oh great, then maybe it is better to leave it as is and wait to see where it goes.

felipenmoura commented 7 years ago

Yes, but it is interesting to keep an eye on it, for sure! Thanks for remarking it!