react-media-recorder
react-media-recorder copied to clipboard
Can you please provide further information about each values of status props in the render function?
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!
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 |
Thank you! @0x006F