Error codes

更新时间:
复制 MD 格式

ErrorCode

Error code types

Member

Value

Description

APICallTimeOut

17105681

Signaling connection failed. Check the signaling network connectivity.

AudioBufferFull

17236225

The buffer queue is full. This error is for the external raw data transport feature. Reduce the external input frequency. Set a wait time of 20 ms and ensure a single input does not exceed 40 ms of data.

AudioContextNotSupported

17040899

The browser does not support AudioContext.

AudioFileOpenFail

17301762

Failed to open the audio file.

AudioFormatNotSupported

17301763

The audio format is not supported.

AudioMixingMissingParam

17040901

The accompaniment parameters are missing.

AudioMixingResumeFailed

17040903

Incorrect playback state.

AudioMixingStartFailed

17040902

Audio mixing failed.

AudioMixingStateInvalid

17040898

Incorrect audio mixing playback state.

AudioMixingUnknownError

17040896

An unknown error occurred during audio mixing.

AudioPlayTimeError

17040912

The playback start time is invalid. It is a negative number or exceeds the audio length.

AudioStreamError

17301761

Audio stream error.

AutoPlayFailed

17040928

Autoplay failed.

BrowserNotSupported

16974101

A browser feature is not supported.

CameraAuthFail

17039680

The camera is not authorized. Go to System Settings to grant camera access, and then rejoin the channel.

CameraInterrupt

17039622

An error occurred during capture. The camera was forcibly interrupted. For example, the camera light on a Mac or Windows computer turns off. Rejoin the channel or restart the application.

CameraNotAvailable

17039673

No active camera is available. Check if a camera is connected and ensure it is not disabled in System Settings.

CameraOpenFail

17039620

The capture device failed to initialize. Check if the system camera is available. On mobile devices, check if another application is using the camera.

ConnectionConnectFail

17105665

Signaling connection failed. Check the signaling network connectivity.

ConnectionHeartbeatTimeout

17105411

Signaling heartbeat timeout. Check the network connectivity.

DeviceUnknownError

17040537

Unknown device error.

IceConnectionAnswerFail

17105426

Failed to respond to media channel negotiation.

IceConnectionConnectFail

17105409

Failed to establish the media channel. Check the network connectivity.

IceConnectionDisconnected

17105428

The media channel is disconnected.

IceConnectionNoCandidate

17105427

No candidate was found during media channel negotiation.

IceConnectionReconnectFail

17105410

Failed to reconnect to the media channel. Check the network connectivity.

IceConnectionSetLocalDescFail

17105429

Failed to set the local SDP during media channel negotiation.

Inner

-1

Internal SDK error.

InvaildArgument

16974083

Invalid argument.

InvaildState

16974340

Invalid SDK state. Destroy the SDK and create a new instance.

JoinBadAppId

33620481

The AppId does not exist. Create an application in the console.

JoinBadChannel

33620484

The channel does not exist. Try rejoining the channel. This can happen if the first user joins and then quickly leaves the channel, causing it to be destroyed before the second user can join.

JoinBadParam

16974081

Invalid parameter. Some fields in the join channel parameters are empty. Check that all required fields are complete.

JoinBadToken

33620485

Invalid token. Regenerate the channel authentication token.

JoinChannelFailed

16974338

Failed to join the channel.

JoinInvaildAppId

33620482

The AppId is invalid. Re-enable the application in the console.

JoinInvaildChannel

33620483

The channel is invalid. The channel validity period is 48 hours. Regenerate the channel authentication token.

JoinTimeout

16908804

Join channel timeout. Check the network connectivity.

LoadAudioFailed

17040897

Failed to load audio.

MicAuthFail

17040392

The microphone is not authorized. Go to System Settings to grant microphone access, and then rejoin the channel.

MicInterrupt

17040390

Insufficient system performance, an abnormal media service for the capture device, or the audio device is in use by another application. Restart the application or the device.

MicNotAvailable

17040393

No active microphone is available. Check if a microphone is connected and ensure it is not disabled in System Settings.

MicOpenFail

17040388

The capture device failed to initialize, the media service is abnormal, or the audio device is in use. On Mac and Windows, you can check System Settings to see if the audio device has an input level bar. On iOS and Android, you can confirm if the audio device is in use by other applications. If everything is normal, you can restart the device.

OverConstrainedError

17040536

The value for the cameraId or microphoneId parameter is invalid. Ensure that the passed value is correct and valid.

PublishAudioStreamFailed

16843856

Failed to push the audio stream.

PublishInvaild

16974597

Invalid stream ingest.

PublishNoStream

16974596

The local stream (video, screen, or audio) does not exist.

PublishNotJoinChannel

16843782

Stream ingest failed because the user is not in a channel.

PublishScreenShareConfigError

16843860

Screen sharing configuration error.

PublishScreenShareFailed

16843859

Failed to push the screen share stream.

PublishVideoStreamFailed

16843857

Failed to push the video stream.

ScreenShareAbortError

17040645

Desktop sharing ended abnormally.

ScreenShareEnded

17040642

Desktop sharing was stopped.

ScreenShareInvalidAccess

17040644

An exception was triggered during desktop sharing.

ScreenShareNotAllowed

17040641

Desktop sharing is disabled.

ScreenShareNotAuthed

17040643

Desktop sharing is not authorized.

ScreenShareOpenFail

17039624

Failed to start screen sharing.

ScreenShareStateError

17040646

Abnormal desktop sharing state.

ScreenShareTypeError

17040647

Exception during a desktop sharing call.

ScreenShareUnknownError

17040640

Unknown desktop sharing error.

SpeakerInterrupt

17040391

Insufficient system performance, an abnormal media service for the playback device, or the audio device is in use by another application. Restart the application or the device.

SpeakerNotAvailable

17040400

No active audio playback device is available. Check if a speaker or headset is connected and ensure it is not disabled in System Settings.

SpeakerOpenFail

17040389

The playback device failed to initialize, the media service for the playback device is abnormal, or the audio device is in use.

- On macOS and Windows, check if the audio device shows an energy bar in System Settings.

- On iOS and Android, confirm if another application is using the device. If the issue persists, restart the device.

SpeakerSetNotSupported

17040416

Setting the playback device is not supported.

SpecifiedAudioDeviceNotFound

17040401

The specified audio device was not found.

SpecifiedCameraDeviceNotFound

17039623

The specified camera device was not found.

SubscribeAudioStreamFailed

16844113

Failed to subscribe to the audio stream.

SubscribeInvaild

16974852

Invalid subscription.

SubscribeNotJoinChannel

16844112

Subscription error because the user is not in a channel.

SubscribeScreenShareFailed

16844116

Failed to subscribe to the screen share stream.

SubscribeStreamNotExisted

16974851

The remote stream (video, screen, or audio) does not exist. Confirm that the remote user has not stopped pushing the stream.

SubscribeVideoStreamFailed

16844114

Failed to subscribe to the video stream.

AppId is not exist

33620481

The AppId does not exist. Create an application in the console.

AppId is invalid

33620482

The application is disabled. Re-enable the application in the console.

channel is not exist

33620484

Failed to join the channel because the channel does not exist. This can happen if the first user joins and then quickly leaves the channel, causing it to be destroyed before the second user can join. Try to rejoin the channel.

channel is invalid

33620483

Failed to join the channel: The channel is invalid. The channel validity period is 48 hours. Regenerate the channel authentication token.

token is invalid

33620485

Failed to join the channel: Invalid token. Regenerate the channel authentication token.

userId is invalid

33622278

The UID associated with the token is invalid. Check if the UID is set correctly.