simpl icon indicating copy to clipboard operation
simpl copied to clipboard

set recorded video resolution

Open BerlinaLI opened this issue 5 years ago • 1 comments

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 avatar Jun 16 '19 16:06 BerlinaLI

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).

samdutton avatar Jun 17 '19 11:06 samdutton