Home > Net >  Open mobile camera from browser
Open mobile camera from browser

Time:02-01

I have a web app that l'et select any camera connected on a PC. I cannot let this choice on mobile. Is there a way tò collect all the camera presents or let the native app to Jump in and give the Pic back?

I made any kind of try by getmedia but without a good result

CodePudding user response:

With HTML5 came the introduction of APIs with access to device hardware, including the MediaDevices API. You can use this API’s to access audio and video devices to stream and display live video feeds in the browser.

Please refer this documentation for more information: MediaStream Recording API

If you want to get all the available camera/media information then please refer this documentation for more information: MediaDevices Enumerate All Devices

  • Related