{{APIRef("WebRTC")}}{{SeeCompatTable}}
The MediaDevicesInfo
interface contains information on the available media input and output devices.
Properties
Methods
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('Media Capture', '#idl-def-MediaDeviceInfo', 'MediaDevicesInfo')}} | {{Spec2('Media Capture')}} | Initial definition |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatChrome(45.0)}} [1] | 39 | {{CompatNo}} |
{{CompatNo}} |
{{CompatNo}} |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | Firefox OS (Gecko) | IE Phone | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatNo}} | 39 | 39 | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
[1] Behind a flag.
Chrome and Opera compatibility
- This interface is available in Chrome and Opera through the adapter.js polyfill.
See also
- WebRTC - the introductory page to the API