Definition
Media Capture and Streams defines MediaDeviceInfo
[Exposed=Window, SecureContext]
interface MediaDeviceInfo {
readonly attribute DOMString deviceId;
readonly attribute MediaDeviceKind kind;
readonly attribute DOMString label;
readonly attribute DOMString groupId;
[Default] object toJSON();
};
Methods and attributes that return objects implementing MediaDeviceInfo
Referring IDL interfaces/dictionaries
Referring specifications
- Audio Output Devices API refers to
MediaDeviceInfo