Skip to main content

Enumeration: MediaDeviceFailure

An enum of failure events for media device

Enumeration Members

AbortError

AbortError = "AbortError"

some problem (not user or permissions) occurred which prevented the device from being used.


AudioAndVideoDeviceNotFoundError

AudioAndVideoDeviceNotFoundError = "AudioAndVideoDeviceNotFoundError"

Custom error for when selected audio and video device is not found


AudioInputDeviceNotFoundError

AudioInputDeviceNotFoundError = "AudioInputDeviceNotFoundError"

Custom error for selected audio device not found


MissingConstraintsError

MissingConstraintsError = "MissingConstraintsError"

Custom missing constraints error


NotAllowedError

NotAllowedError = "NotAllowedError"

user has blocked access


NotFoundError

NotFoundError = "NotFoundError"

the media tracks doesn't match the constraints


NotReadableError

NotReadableError = "NotReadableError"

hardware failure after user granted access


NotSupportedError

NotSupportedError = "NotSupportedError"

action or function is not supported by the current platform


OverconstrainedError

OverconstrainedError = "OverconstrainedError"

no devices met the criteria for the constraints


PermissionDeniedError

PermissionDeniedError = "PermissionDeniedError"

user has blocked access old chrome


SecurityError

SecurityError = "SecurityError"

User media support disabled by agent


StreamTrackNotFound

StreamTrackNotFound = "StreamTrackNotFound"

Canvas capture is not supported


TrackStartError

TrackStartError = "TrackStartError"

when hardware in use old chrome win os


TypeError

TypeError = "TypeError"

GetUserMedia invalid constraints error


VideoInputDeviceNotFoundError

VideoInputDeviceNotFoundError = "VideoInputDeviceNotFoundError"

Custom error for selected video device not found