This task is to introduce InputDeviceInfo interface and implement its getCapabilities() method that gives access to the capabilities of the input device it represents.
https://w3c.github.io/mediacapture-main/#dom-inputdeviceinfo-getcapabilities
InputDeviceInfo extends MediaDeviceInfo and represents audio and video input devices. These objects are the result of calling MediaDevices.enumerateDevices().
Comment 1 by c.pa...@samsung.com
, Mar 1 2018