enumerateDevices()
enumerateDevices()
Compatibility:
Prebuilt
Custom
This is a wrapper around navigator.mediaDevices.enumerateDevices().
Returns a Promise that resolves with a list of available video input devices, and audio input and output devices.