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

No explainations of the constraints? #151

Open
Orsucciu opened this issue Feb 6, 2022 · 1 comment
Open

No explainations of the constraints? #151

Orsucciu opened this issue Feb 6, 2022 · 1 comment

Comments

@Orsucciu
Copy link

Orsucciu commented Feb 6, 2022

Hello,

I would like to have my video recorder element take the most room possible vertically, while keeping the same aspect ratio. How can i do this ? I didn't found documentation as i would have expected it

@alexmlong
Copy link

My understanding is the the constraints is just a pass through to the native browser's getUserMedia function, i.e.: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#parameters. If I'm correct you can just follow the native API when passing in constraints. Does that help?

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

No branches or pull requests

3 participants
@alexmlong @Orsucciu and others