The sample demonstrates how to use Dynamsoft Camera Enhancer to access cameras from web browsers with a few lines of code.
https://yushulx.github.io/web-browser-camera-access/
https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=latest
How to Implement Camera Access from Web Browsers in 5 Minutes
