AgoraMediaRecorderErrorCode Constants Reference

Declared in AgoraEnumerates.h
Availability v3.5.2

AgoraMediaRecorderErrorCode

The reason for the state change.

Constants

AgoraMediaRecorderErrorCodeNoError

0: No error occurs.

Declared In AgoraEnumerates.h.

AgoraMediaRecorderErrorCodeWriteFailed

1: The SDK fails to write the recorded data to a file.

Declared In AgoraEnumerates.h.

AgoraMediaRecorderErrorCodeNoStream

2: The SDK does not detect audio and video streams to be recorded, or audio and video streams are interrupted for more than five seconds during recording.

Declared In AgoraEnumerates.h.

AgoraMediaRecorderErrorCodeOverMaxDuration

3: The recording duration exceeds the upper limit.

Declared In AgoraEnumerates.h.

AgoraMediaRecorderErrorCodeConfigChange

4: The recording configuration (AgoraMediaRecorderConfiguration) changes.

Declared In AgoraEnumerates.h.

AgoraMediaRecorderErrorCustomStreamDetected

5: The SDK detects audio and video streams from users using versions of the SDK earlier than v3.0.0 in the Communication channel profile.

Declared In AgoraEnumerates.h.

Availability

v3.5.2

Declared In

AgoraEnumerates.h