mobile-packages
mobile-packages copied to clipboard
Video options on browser
Hi, I need to get high resolution images in my browser app. The implementation on this package of getUserMedia looks like this:
// initiate request for webcam
navigator.getUserMedia({
video: true,
audio: false
}, success, failure);
This is always making my cam take pictures on low resolution... is this the correct way of telling getUserMedia to get high resolution images?
// initiate request for webcam
navigator.getUserMedia({
video: mandatory:{
minWidth:1280
minHeight720,
},
audio: false
}, success, failure);
If it is, shouldn't this be an option to pass in 'options' when calling MeteorCamera.getPicture? the width and height you pass on options only tell the size of the canvas, not the resolution of image, am I right ?