Package io.agora.rtc2

Class IRtcEngineEventHandler.WarnCode

java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.WarnCode
Enclosing class:
IRtcEngineEventHandler

public static class IRtcEngineEventHandler.WarnCode extends Object
The warning code.
  • Field Details

    • WARN_PENDING

      public static final int WARN_PENDING
      20: 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_VIDEO
      16: 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_VIEW
      8: 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_CHANNEL
      103: 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_TIMEOUT
      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.
      See Also:
    • WARN_LOOKUP_CHANNEL_REJECTED

      public static final int WARN_LOOKUP_CHANNEL_REJECTED
      105: 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_TIMEOUT
      106: 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_REJECTED
      107: 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_TICKET
      121: 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_VOS
      122: Try another server.
      See Also:
    • WARN_AUDIO_MIXING_OPEN_ERROR

      public static final int WARN_AUDIO_MIXING_OPEN_ERROR
      701: An error occurs when opening the audio mixing file.
      See Also:
    • WARN_ADM_RUNTIME_PLAYOUT_WARNING

      public static final int WARN_ADM_RUNTIME_PLAYOUT_WARNING
      1014: 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_WARNING
      1016: 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_SILENCE
      1019: Audio Device Module: No valid audio data is collected.
      See Also:
    • WARN_ADM_RECORD_IS_OCCUPIED

      public static final int WARN_ADM_RECORD_IS_OCCUPIED
      1033: Audio Device Module: The recording device is occupied.
      See Also:
    • WARN_APM_HOWLING

      public static final int WARN_APM_HOWLING
      1051: Audio Device Module: Howling is detected.
      See Also:
  • Constructor Details

    • WarnCode

      public WarnCode()