react-video-recorder
react-video-recorder copied to clipboard
No explainations of the constraints?
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
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?