kind

The kind read-only property of the MediaDeviceInfo interface returns an enumerated value, that is either 'videoinput', 'audioinput' or 'audiooutput'.

MDN Reference