RecorderReasonCode

The reason for the state change.

Enumerator

recorderReasonNone
0: No error.
recorderReasonWriteFailed
1: The SDK fails to write the recorded data to a file.
recorderReasonNoStream
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.
recorderReasonOverMaxDuration
3: The recording duration exceeds the upper limit.
recorderReasonConfigChanged
4: The recording configuration changes.