getCapabilities method
The getCapabilities() method of the InputDeviceInfo interface
returns a MediaTrackCapabilities object describing the primary audio or
video track of the device's MediaStream.
Implementation
external MediaTrackCapabilities getCapabilities();