Back to Content

MediaDeviceInfo: kind property

files/en-us/web/api/mediadeviceinfo/kind/index.md

latest387 B
Original Source

{{APIRef("Media Capture and Streams")}}{{securecontext_header}}

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

Value

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}