react-media-recorder icon indicating copy to clipboard operation
react-media-recorder copied to clipboard

Can you please provide further information about each values of status props in the render function?

Open GeneralDev1 opened this issue 4 years ago • 2 comments

Hi I'm developing a video recording function in our website, btw, I'm facing some issues in the status props of render function, so I need detailed information about those values. Anyone can provide further information about these values of status please? :)

media_aborted media_in_use invalid_media_constraints no_constraints recorder_error acquiring_media stopping

Looking forward to hearing from you soon!

Thanks!

GeneralDev1 avatar May 13 '21 09:05 GeneralDev1

Looks like these are mix of errors and status. Might've mixed things up. These are emited from the getUserMedia and all.

value cause
media_aborted Although the user and operating system both granted access to the hardware device,and no hardware issues occurred that would cause a NotReadableError, some problem occurred which prevented the device from being used.
media_in_use One or more of the requested source devices cannot be used at this time.
invalid_media_constraints The specified constraints resulted in no candidate devices which met the criteria requested.
no_constraints The list of constraints specified is empty, or has all constraints set to false.
recorder_error MediaRecorder encountered an error
acquiring_media (not in error but in status) currently acquiring permissions from user.
stopping (not in error but in status) stop request is initiated

DeltaCircuit avatar May 25 '21 03:05 DeltaCircuit

Thank you! @0x006F

GeneralDev1 avatar May 25 '21 08:05 GeneralDev1