The kind
readonly property of the MediaDeviceInfo
interface returns an enumerated value, that is either "videoinput", "audioinput" or "audiooutput".
The kind
readonly property of the MediaDeviceInfo
interface returns an enumerated value, that is either "videoinput", "audioinput" or "audiooutput".
A string.
Specification |
---|
Media Capture and Streams # dom-mediadeviceinfo-kind |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
kind |
47 | 14 | 39 | No | 34 | 11 | 47 | 47 | 39 | 34 | 11 | 5.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo/kind