Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DeviceInfo

设备详情

Hierarchy

  • DeviceInfo

Index

Properties

Properties

deviceId

deviceId: string

该设备所独有的设备 ID(Chrome 81 及以后版本在获取媒体设备权限后才能获得设备 ID)

label

label: string

能够区分设备的设备名字,例如"外接 USB 网络摄像头"(出于系统安全考虑,如果用户没有打开媒体设备的权限,该属性会被设为空)