RecorderReasonCode

The reason for the state change.

Enumerator

RecorderReasonNone
0: No error.
RecorderErrorWriteFailed
1: The SDK fails to write the recorded data to a file.
RecorderErrorNoStream
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.
RecorderErrorOverMaxDuration
3: The recording duration exceeds the upper limit.
RecorderErrorConfigChanged
4: The recording configuration changes.