Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DeviceInfo

Media device information.

Hierarchy

  • DeviceInfo

Index

Properties

Properties

deviceId

deviceId: string

The unique ID of the device.

note

Chrome 81 and later can obtain the device ID only after the media device permissions are granted.

label

label: string

Device label is used to distinguish the device name, such as "External USB webcam".

note

For system security, if the user does not have the permissions to open the media device, this value is set to empty.