react-video-recorder icon indicating copy to clipboard operation
react-video-recorder copied to clipboard

No explainations of the constraints?

Open Orsucciu opened this issue 3 years ago • 1 comments

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

Orsucciu avatar Feb 06 '22 16:02 Orsucciu

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?

alexmlong avatar Aug 15 '22 16:08 alexmlong