WARN_CODE_TYPE

Warning codes.

Enumerations

WARN_INVALID_VIEW
(8): The specified view is invalid. To use the video function, you must specify a valid view.
WARN_INIT_VIDEO
(16): Failed to initialize the video function, possibly due to insufficient resources. Users cannot see each other but can still have voice calls.
WARN_PENDING
(20): The request is pending, usually because some modules are not ready. The SDK will delay processing the request.
WARN_NO_AVAILABLE_CHANNEL
(103): No available channel resources, possibly because the server cannot allocate channel resources.
WARN_LOOKUP_CHANNEL_TIMEOUT
(104): Timeout when looking up the channel. This warning usually occurs when the network is poor and the server cannot be reached.
WARN_LOOKUP_CHANNEL_REJECTED
(105): The server rejected the request to look up the channel. The server cannot process the request or the request is invalid.
WARN_OPEN_CHANNEL_TIMEOUT
(106): Timeout when opening the channel. This warning usually occurs when the network is poor and the server cannot be reached.
WARN_OPEN_CHANNEL_REJECTED
(107): The server rejected the request to open the channel. The server cannot process the request or the request is invalid.
WARN_SWITCH_LIVE_VIDEO_TIMEOUT
(111): Timeout when switching live video.
WARN_SET_CLIENT_ROLE_TIMEOUT
(118): Timeout when setting the user role.
WARN_OPEN_CHANNEL_INVALID_TICKET
(121): The ticket used to open the channel is invalid.
WARN_OPEN_CHANNEL_TRY_NEXT_VOS
(122): The SDK is trying to connect to another server.
WARN_CHANNEL_CONNECTION_UNRECOVERABLE
(131): The channel connection is unrecoverable.
WARN_CHANNEL_CONNECTION_IP_CHANGED
(132): The IP connected by the SDK has changed.
WARN_CHANNEL_CONNECTION_PORT_CHANGED
(133): The port connected by the SDK has changed.
WARN_CHANNEL_SOCKET_ERROR
(134): A socket error occurred. Trying to rejoin the channel.
WARN_AUDIO_MIXING_OPEN_ERROR
(701): Error occurred when opening the file for audio mixing.
WARN_ADM_RUNTIME_PLAYOUT_WARNING
(1014): Audio Device Module: Playback device exception occurred.
WARN_ADM_RUNTIME_RECORDING_WARNING
(1016): Audio Device Module: Recording device warning occurred.
WARN_ADM_RECORD_AUDIO_SILENCE
(1019): Audio Device Module: No valid audio data captured.
WARN_ADM_PLAYOUT_MALFUNCTION
(1020): Audio Device Module: Failed to start playback device.
WARN_ADM_RECORD_MALFUNCTION
(1021): Audio Device Module: Failed to start recording device.
WARN_ADM_RECORD_AUDIO_LOWLEVEL
(1031): Audio Device Module: Recording volume too low.
WARN_ADM_PLAYOUT_AUDIO_LOWLEVEL
(1032): Audio Device Module: Playback volume too low.
WARN_ADM_RECORD_IS_OCCUPIED
(1033): Audio Device Module: The audio capture device is occupied.
WARN_ADM_WINDOWS_NO_DATA_READY_EVENT
(1040): Audio Device Module: Audio driver exception. You can try the following:
  • Disable or re-enable the audio device;
  • Re-enable the device;
  • Update the sound card driver.
WARN_APM_HOWLING
(1051): Audio Device Module: SDK detected howling.
WARN_ADM_GLITCH_STATE
(1052): Audio Device Module: Audio device is in a glitch state.
WARN_ADM_IMPROPER_SETTINGS
(1053): Audio Device Module: Improper settings.
WARN_ADM_POP_STATE
(1055): Audio Device Module: Audio device is in a pop state.
WARN_ADM_WIN_CORE_NO_RECORDING_DEVICE
(1322): No recording device.
WARN_ADM_WIN_CORE_NO_PLAYOUT_DEVICE
(1323): Audio Device Module: No available playback device. You can try plugging in an audio device.
WARN_ADM_WIN_CORE_IMPROPER_CAPTURE_RELEASE
(1324): Audio Device Module: Capture device was improperly released. You can try the following:
  • Disable or re-enable the audio device;
  • Re-enable the audio device;
  • Update the sound card driver.