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

set recorded video resolution #134

Open
BerlinaLI opened this issue Jun 16, 2019 · 1 comment
Open

set recorded video resolution #134

BerlinaLI opened this issue Jun 16, 2019 · 1 comment

Comments

@BerlinaLI
Copy link

BerlinaLI commented Jun 16, 2019

When I run the demo code in local environment,
the recorded video has lower resolution than the one on the website.
Could you point out where to set the resolution?
image1 : run in local env
image2: run on website https://simpl.info/mediarecorder/

Screen Shot 2019-06-17 at 12 32 04 AM

Screen Shot 2019-06-17 at 12 32 37 AM

@BerlinaLI BerlinaLI changed the title set recorded video definition set recorded video resolution Jun 17, 2019
@samdutton
Copy link
Owner

Hi @BerlinaLI !

Thanks for filing the issue, but I can't seem to reproduce this :(.

Are you running exactly the same code, from localhost (i.e. running a local server), from the same computer and camera?

There's a demo of using constraints to choose resolution here: https://simpl.info/getusermedia/constraints (it won't work for resolutions not supported by your camera).

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

2 participants