RecorderReasonCode

The reason for the state change.

Enumerator

RECORDER_REASON_NONE
0: No error.
RECORDER_ERROR_WRITE_FAILED
1: The SDK fails to write the recorded data to a file.
RECORDER_ERROR_NO_STREAM
2: The SDK does not detect any audio and video streams, or audio and video streams are interrupted for more than five seconds during recording.
RECORDER_ERROR_OVER_MAX_DURATION
3: The recording duration exceeds the upper limit.
RECORDER_ERROR_CONFIG_CHANGED
4: The recording configuration changes.