HMSDeviceChangeEvent

Test fails when adding InputDeviceInfo[error TS2304: Cannot find name 'InputDeviceInfo'.] InputDeviceInfo extends MediaDeviceInfo. See https://w3c.github.io/mediacapture-main/#input-specific-device-info So, selection?: MediaDeviceInfo instead of selection?: InputDeviceInfo | MediaDeviceInfo is valid

Properties

devices

devices: DeviceMap


error

Optional error: HMSException


selection

Optional selection: MediaDeviceInfo


type

type: "video" | "audioOutput" | "audioInput"