ReadonlydeviceThe deviceId read-only property of the MediaDeviceInfo interface returns a string that is an identifier for the represented device and is persisted across sessions.
ReadonlygroupThe groupId read-only property of the MediaDeviceInfo interface returns a string that is a group identifier.
ReadonlykindThe kind read-only property of the MediaDeviceInfo interface returns an enumerated value, that is either 'videoinput', 'audioinput' or 'audiooutput'.
ReadonlylabelThe label read-only property of the MediaDeviceInfo interface returns a string describing this device (for example 'External USB Webcam').
The
MediaDeviceInfointerface of the Media Capture and Streams API contains information that describes a single media input or output device. Available only in secure contexts.MDN Reference