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

Optional devices: DeviceMap


error

Optional error: HMSException


selection

Optional selection: Partial<MediaDeviceInfo>


type

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


Have a suggestion? Recommend changes ->

Was this helpful?

1234