Skip to content

Video options on browser #95

@rafaelcorreiapoli

Description

@rafaelcorreiapoli

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions