Package io.agora.rtc2
Class IRtcEngineEventHandler.WarnCode
java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.WarnCode
- Enclosing class:
- IRtcEngineEventHandler
The warning code.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int1019: Audio Device Module: No valid audio data is collected.static final int1033: Audio Device Module: The recording device is occupied.static final int1014: Audio Device Module: A warning occurs in the playback device.static final int1016: Audio Device Module: A warning occurs in the recording device.static final int1051: Audio Device Module: Howling is detected.static final int701: An error occurs when opening the audio mixing file.static final int16: Fails to initialize the video function, possibly caused by lack of resources.static final int8: The specified view is invalid.static final int105: The server rejects the request to look up the channel.static final int104: A timeout occurs when looking up the channel.static final int103: No channel resources are available.static final int121: The ticket to open the channel is invalid.static final int107: The server rejects the request to open the channel.static final int106: A timeout occurs when opening the channel.static final int122: Try another server.static final int20: The request is pending, usually due to some module not being ready, and the SDK postponed processing the request. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WARN_PENDING
public static final int WARN_PENDING20: The request is pending, usually due to some module not being ready, and the SDK postponed processing the request.- See Also:
-
WARN_INIT_VIDEO
public static final int WARN_INIT_VIDEO16: Fails to initialize the video function, possibly caused by lack of resources. The users cannot see the video while the voice communication is not affected.- See Also:
-
WARN_INVALID_VIEW
public static final int WARN_INVALID_VIEW8: The specified view is invalid. You need to specify a view when using the video function.- See Also:
-
WARN_NO_AVAILABLE_CHANNEL
public static final int WARN_NO_AVAILABLE_CHANNEL103: No channel resources are available. Maybe because the server cannot allocate any channel resource.- See Also:
-
WARN_LOOKUP_CHANNEL_TIMEOUT
public static final int WARN_LOOKUP_CHANNEL_TIMEOUT104: 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.- See Also:
-
WARN_LOOKUP_CHANNEL_REJECTED
public static final int WARN_LOOKUP_CHANNEL_REJECTED105: The server rejects the request to look up the channel. The server cannot process this request or the request is illegal.- See Also:
-
WARN_OPEN_CHANNEL_TIMEOUT
public static final int WARN_OPEN_CHANNEL_TIMEOUT106: A timeout occurs when opening the channel. Once the specific channel is found, the SDK opens the channel. The warning usually occurs when the network condition is too poor for the SDK to connect to the server.- See Also:
-
WARN_OPEN_CHANNEL_REJECTED
public static final int WARN_OPEN_CHANNEL_REJECTED107: The server rejects the request to open the channel. The server cannot process this request or the request is illegal.- See Also:
-
WARN_OPEN_CHANNEL_INVALID_TICKET
public static final int WARN_OPEN_CHANNEL_INVALID_TICKET121: The ticket to open the channel is invalid.- See Also:
-
WARN_OPEN_CHANNEL_TRY_NEXT_VOS
public static final int WARN_OPEN_CHANNEL_TRY_NEXT_VOS122: Try another server.- See Also:
-
WARN_AUDIO_MIXING_OPEN_ERROR
public static final int WARN_AUDIO_MIXING_OPEN_ERROR701: An error occurs when opening the audio mixing file.- See Also:
-
WARN_ADM_RUNTIME_PLAYOUT_WARNING
public static final int WARN_ADM_RUNTIME_PLAYOUT_WARNING1014: Audio Device Module: A warning occurs in the playback device.- See Also:
-
WARN_ADM_RUNTIME_RECORDING_WARNING
public static final int WARN_ADM_RUNTIME_RECORDING_WARNING1016: Audio Device Module: A warning occurs in the recording device.- See Also:
-
WARN_ADM_RECORD_AUDIO_SILENCE
public static final int WARN_ADM_RECORD_AUDIO_SILENCE1019: Audio Device Module: No valid audio data is collected.- See Also:
-
WARN_ADM_RECORD_IS_OCCUPIED
public static final int WARN_ADM_RECORD_IS_OCCUPIED1033: Audio Device Module: The recording device is occupied.- See Also:
-
WARN_APM_HOWLING
public static final int WARN_APM_HOWLING1051: Audio Device Module: Howling is detected.- See Also:
-
-
Constructor Details
-
WarnCode
public WarnCode()
-