react-webcam icon indicating copy to clipboard operation
react-webcam copied to clipboard

Video Constraints Props Doesn't Work in Mobile Device but Works Fine in Web and Web Responsive Simulator

Open HzdAngga opened this issue 1 year ago • 6 comments

Please follow the general troubleshooting steps first:

  • [x] Is your app running over HTTPS? (please provide the URL if possible)
  • [x] Have you tried running the demo (https://codepen.io/mozmorris/pen/JLZdoP) on your device?
  • [x] Checked the latest "Can I use" compatbility table? (https://caniuse.com/stream)

Bug reports:

I tried the videoConstraints with aspect-ratio 9 / 16 in web and responsive simulator in web and it works fine, but when open it in mobile device (android), the resolution of react-webcam video isnt 9 / 16 (back to default resolution of react-webcam). Any ideas how to make it works in mobile device?

Features:

Please note by far the quickest way to get a new feature is to file a Pull Request.

We will consider your request but it may be closed if it's something we're not actively planning to work on.

HzdAngga avatar Apr 05 '23 07:04 HzdAngga