Capture in high resolution
How to capture image in high resolution(using full power of camera) from android browser?
Currently, image captured from phone is a very low resolution.
I am using "width" and "height" equal to view port width and height.
@luopio @jhuckaby @twentyrogersc @CezaryDanielNowak @linagee
Taking best possible image resolution is kind of tricky. Following solution was working for a long time http://stackoverflow.com/a/27444179/2590921 From my experience - currently It does not work well on new Samsung or Google Pixel devices (NotReadableError randomly happens).
You can try to implement quick scan like it's done here: https://webrtchacks.github.io/WebRTC-Camera-Resolution/
PR with that would be appreciated :-)
One more note: This affects webrtc only. Afaik flash is limited to 640x480