MediaDeviceInfo: kind property

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

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

Value

One of "videoinput", "audioinput" or "audiooutput".

Specifications

Specification
Media Capture and Streams
# dom-mediadeviceinfo-kind

Browser compatibility

BCD tables only load in the browser