AgoraWarningCode Constants Reference

Declared in AgoraEnumerates.h

AgoraWarningCode

Warning code.

Warning codes occur when the SDK encounters an error that may be recovered automatically. These are only notifications, and can generally be ignored. For example, when the SDK loses connection to the server, the SDK reports the AgoraWarningCodeOpenChannelTimeout(106) warning and tries to reconnect automatically.

Constants

AgoraWarningCodeInvalidView

8: The specified view is invalid. Specify a view when using the video call function.

Declared In AgoraEnumerates.h.

AgoraWarningCodeInitVideo

16: Failed to initialize the video function, possibly caused by a lack of resources. The users cannot see the video while the voice communication is not affected.

Declared In AgoraEnumerates.h.

AgoraWarningCodePending

20: The request is pending, usually due to some module not being ready, and the SDK postpones processing the request.

Declared In AgoraEnumerates.h.

AgoraWarningCodeNoAvailableChannel

103: No channel resources are available. Maybe because the server cannot allocate any channel resource.

Declared In AgoraEnumerates.h.

AgoraWarningCodeLookupChannelTimeout

104: A timeout occurs when looking up the channel. When joining a channel, the SDK looks up the specified channel. The warning usually occurs when the network condition is too poor for the SDK to connect to the server.

Declared In AgoraEnumerates.h.

AgoraWarningCodeLookupChannelRejected

105: The server rejects the request to look up the channel. The server cannot process this request or the request is illegal. DEPRECATED as of v2.4.1. Use AgoraConnectionChangedRejectedByServer(10) in the reason parameter of connectionChangedToState.

Declared In AgoraEnumerates.h.

AgoraWarningCodeOpenChannelTimeout

106: The server rejects the request to look up the channel. The server cannot process this request or the request is illegal.

Declared In AgoraEnumerates.h.

AgoraWarningCodeOpenChannelRejected

107: The server rejects the request to open the channel. The server cannot process this request or the request is illegal.

Declared In AgoraEnumerates.h.

AgoraWarningCodeSwitchLiveVideoTimeout

111: A timeout occurs when switching to the live video.

Declared In AgoraEnumerates.h.

AgoraWarningCodeSetClientRoleTimeout

118: A timeout occurs when setting the client role in the live broadcast profile.

Declared In AgoraEnumerates.h.

AgoraWarningCodeSetClientRoleNotAuthorized

119: The client role is unauthorized.

Declared In AgoraEnumerates.h.

AgoraWarningCodeOpenChannelInvalidTicket

121: The ticket to open the channel is invalid.

Declared In AgoraEnumerates.h.

AgoraWarningCodeOpenChannelTryNextVos

122: Try connecting to another server.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAudioMixingOpenError

701: An error occurs in opening the audio mixing file.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmRuntimePlayoutWarning

1014: Audio Device Module: a warning occurs in the playback device.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmRuntimeRecordingWarning

1016: Audio Device Module: a warning occurs in the recording device.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmRecordAudioSilence

1019: Audio Device Module: no valid audio data is collected.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmPlaybackMalfunction

1020: Audio Device Module: a playback device fails.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmRecordMalfunction

1021: Audio Device Module: a recording device fails.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmInterruption

1025: Call is interrupted by system events such as phone call or siri etc.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmRecordAudioLowlevel

1031: Audio Device Module: the recorded audio is too low.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmPlayoutAudioLowlevel

1032: Audio Device Module: the playback audio is too low.

Declared In AgoraEnumerates.h.

AgoraWarningCodeApmHowling

1051: Audio Device Module: howling is detected.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmGlitchState

1052: Audio Device Module: the device is in the glitch state.

Declared In AgoraEnumerates.h.

AgoraWarningCodeAdmImproperSettings

1053: Audio Device Module: the underlying audio settings have changed.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h