Skip to main content

Enumeration: UserMediaStatus

Enumeration Members

AudioDeviceInUse

AudioDeviceInUse = "audio-device-in-use"

When requesting the audio device is used by other application


AudioDeviceNotFound

AudioDeviceNotFound = "audio-device-not-found"

Derived from MediaDeviceFailure.AudioInputDeviceNotFoundError


AudioOverconstrained

AudioOverconstrained = "audio-overconstrained"

When requesting audio with over-constrained


AudioVideoDevicesNotFound

AudioVideoDevicesNotFound = "audio-video-devices-not-found"

Derived from MediaDeviceFailure.AudioAndVideoDeviceNotFoundError


DevicesInUse

DevicesInUse = "devices-in-use"

When requesting both audio and video devices are used by other application


Initial

Initial = "initial"

The initial status


InitialPermissionsAudioInputDenied

InitialPermissionsAudioInputDenied = "initial-permissions-audioinput-denied"

When audio input permissions are initially denied in the browser and video input permissions are unknown


InitialPermissionsAudioInputGranted

InitialPermissionsAudioInputGranted = "initial-permissions-audioinput-granted"

When audio input permissions are granted in the browser and video input permissions are unknown


InitialPermissionsGranted

InitialPermissionsGranted = "initial-permissions-granted"

When we know the permissions were already granted from permission API


InitialPermissionsGrantedAudioInputDenied

InitialPermissionsGrantedAudioInputDenied = "initial-permissions-videoinput-granted-audioinput-denied"

When video input permissions are granted but audio input permissions are initially denied


InitialPermissionsGrantedVideoInputDenied

InitialPermissionsGrantedVideoInputDenied = "initial-permissions-audioinput-granted-videoinput-denied"

When audio input permissions are granted but video input permissions are initially denied


InitialPermissionsNotGranted

InitialPermissionsNotGranted = "initial-permissions-not-granted"

When we do not know the permissions from permission API


InitialPermissionsVideoInputDenied

InitialPermissionsVideoInputDenied = "initial-permissions-videoinput-denied"

When video input permissions are initially denied in the browser and audio input permissions are unknown


InitialPermissionsVideoInputGranted

InitialPermissionsVideoInputGranted = "initial-permissions-videoinput-granted"

When video input permissions are granted in the browser and audio input permissions are unknown


InvalidAudioConstraints

InvalidAudioConstraints = "invalid-audio-constraints"

When requesting audio with invalid constraints


InvalidConstraints

InvalidConstraints = "invalid-constraints"

When requesting both audio and video with invalid constraints


InvalidVideoConstraints

InvalidVideoConstraints = "invalid-video-constraints"

When requesting video with invalid constraints


NoAudioDevicesFound

NoAudioDevicesFound = "no-audio-devices-found"

When there is no any audio input devices


NoDevicesFound

NoDevicesFound = "no-devices-found"

When there is no any kind of input devices


NoVideoDevicesFound

NoVideoDevicesFound = "no-video-devices-found"

When there is no any video input devices


NotSupportedError

NotSupportedError = "not-supported-error"

When requesting both audio and video with NotSupportedError


NotSupportedErrorOnlyAudioInput

NotSupportedErrorOnlyAudioInput = "not-supported-error-only-audio"

When requesting audio with NotSupportedError


NotSupportedErrorOnlyVideoInput

NotSupportedErrorOnlyVideoInput = "not-supported-error-only-video"

When requesting video with NotSupportedError


Overconstrained

Overconstrained = "overconstrained"

When requesting both audio and video with over-constrained


PermissionsGranted

PermissionsGranted = "permissions-granted"

When Permission is granted by user for both video and audio, and both devices are exactly matched with the request constraints


PermissionsGrantedFallback

PermissionsGrantedFallback = "permissions-granted-fallback-devices"

When Permission is granted by user for both video and audio, and both devices are NOT exactly matched with the request constraints


PermissionsGrantedFallbackAudioinput

PermissionsGrantedFallbackAudioinput = "permissions-granted-fallback-audioinput"

When Permission is granted by user for both video and audio, and audio input is NOT exactly matched with the request constraints


PermissionsGrantedFallbackVideoinput

PermissionsGrantedFallbackVideoinput = "permissions-granted-fallback-videoinput"

When Permission is granted by user for both video and audio, and video input is NOT exactly matched with the request constraints


PermissionsOnlyAudioinput

PermissionsOnlyAudioinput = "permissions-only-audioinput"

When only request and return exact audio input device


PermissionsOnlyAudioinputFallback

PermissionsOnlyAudioinputFallback = "permissions-only-fallback-audioinput"

When only request and returned NOT exact audio input device


PermissionsOnlyAudioinputFallbackNoVideoDevices

PermissionsOnlyAudioinputFallbackNoVideoDevices = "permissions-only-fallback-audioinput-no-video-devices"

When only request audio input device because of no video devices available and returned NOT exact audio input device


PermissionsOnlyAudioinputNoVideoDevices

PermissionsOnlyAudioinputNoVideoDevices = "permissions-only-audioinput-no-video-devices"

When only request audio input device because of no video devices available and returned exact audio input device


PermissionsOnlyVideoinput

PermissionsOnlyVideoinput = "permissions-only-videoinput"

When only request and return exact video input device


PermissionsOnlyVideoinputFallback

PermissionsOnlyVideoinputFallback = "permissions-only-fallback-videoinput"

When only request and returned NOT exact video input device


PermissionsOnlyVideoinputFallbackNoAudioDevices

PermissionsOnlyVideoinputFallbackNoAudioDevices = "permissions-only-fallback-videoinput-no-audio-devices"

When only request video input device because of no video devices available and returned NOT exact video input device


PermissionsOnlyVideoinputNoAudioDevices

PermissionsOnlyVideoinputNoAudioDevices = "permissions-only-videoinput-no-audio-devices"

When only request video input device because of no audio devices available and returned exact video input device


PermissionsRejected

PermissionsRejected = "permissions-rejected"

When Permission for using both audio and video devices are rejected by the user from PermissionDeniedError


PermissionsRejectedAudioInput

PermissionsRejectedAudioInput = "permissions-rejected-audioinput"

When Permission for using the audio device is rejected by the user from PermissionDeniedError


PermissionsRejectedVideoInput

PermissionsRejectedVideoInput = "permissions-rejected-videoinput"

When Permission for using the video device is rejected by the user from PermissionDeniedError


UnknownError

UnknownError = "unknown-error"

Unknown error from both video and audio


UnknownErrorOnlyAudioinput

UnknownErrorOnlyAudioinput = "unknown-error-only-audioinput"

Unknown error from audio device


UnknownErrorOnlyVideoinput

UnknownErrorOnlyVideoinput = "unknown-error-only-videoinput"

Unknown error from video device


VideoDeviceInUse

VideoDeviceInUse = "video-device-in-use"

When requesting the video device is used by other application


VideoDeviceNotFound

VideoDeviceNotFound = "video-device-not-found"

Derived from MediaDeviceFailure.VideoInputDeviceNotFoundError


VideoOverconstrained

VideoOverconstrained = "video-overconstrained"

When requesting video with over-constrained