Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video options on browser #95

Open
rafaelcorreiapoli opened this issue Nov 25, 2015 · 0 comments
Open

Video options on browser #95

rafaelcorreiapoli opened this issue Nov 25, 2015 · 0 comments
Labels

Comments

@rafaelcorreiapoli
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants