枚举值 |
---|
kNERtcNoError | No errors
|
KNERtcErrChannelReservePermissionDenied | No permissions.
Reasons:
- The RTC v2.0 service is not activated. The trial period expires. The service is not renewed.
- Token is not set when a user joins a room in safe mode.
- Others issues.
|
kNERtcErrChannelReserveTimeOut | The request timed out
|
kNERtcErrChannelReserveErrorParam | Request parameters error
|
kNERtcErrChannelReserveErrorAppKey | Invalid APP KEY
|
kNERtcErrChannelReserveMoreThanTwoUser | Only two users are supported.
A third user tries to allocate a room with the same room name.
|
kNERtcErrChannelReserveServerFail | Server error in allocating rooms
|
kNERtcErrFatal | Common error
|
kNERtcErrOutOfMemory | Out of memory
|
kNERtcErrInvalidParam | Invalid parameter
|
kNERtcErrNotSupported | Unsupported operation
|
kNERtcErrInvalidState | Operations not supported by the current state
|
kNERtcErrLackOfResource | Resource exhausted
|
kNERtcErrInvalidIndex | Invalid index
|
kNERtcErrDeviceNotFound | Device not found
|
kNERtcErrInvalidDeviceSourceID | Invalid device ID
|
kNERtcErrInvalidVideoProfile | Invalid video profile type
|
kNERtcErrCreateDeviceSourceFail | Device source error
|
kNERtcErrInvalidRender | Invalid rendering container
|
kNERtcErrDevicePreviewAlreadyStarted | The device already turned on
|
kNERtcErrTransmitPendding | Transmission error
|
kNERtcErrConnectFail | Connecting server error
|
kNERtcErrChannelAlreadyJoined | A user already joined a room.
|
kNERtcErrChannelNotJoined | A user has not joined the room.
|
kNERtcErrChannelRepleatedlyLeave | A user repeatedly leaves the room.
|
kNERtcErrRequestJoinChannelFail | Fail to join the room.
|
kNERtcErrSessionNotFound | Session not found.
|
kNERtcErrUserNotFound | User not found
|
kNERtcErrInvalidUserID | Invalid user ID
|
kNERtcErrMediaNotStarted | Multimedia data is not transmitted.
|
kNERtcErrSourceNotFound | source not found
|
kNERtcErrSwitchChannelInvalidState | Invalid room status during switching
|
kNERtcErrChannelMediaRelayInvalidState | Invalid status during the media stream relay.
The typical reason is repeated calling startChannelMediaRelay. If you want to call the startChannelMediaRelay method for another time, you must first call the stopChannelMediaRelay method to exit the current relaying status.
|
kNERtcErrChannelMediaRelayPermissionDenied | No permissions to relay media stream.
Reasons:
- The type of the original room is a double room (1V1 mode). The media stream cannot be relayed at this moment.
- The member role that calls startChannelMediaRelay to relay media stream is audience. Only the host role can relay the media stream.
|
kNERtcErrChannelMediaRelayStopFailed | Failed to stop relaying media stream.
The typical reason is that the media stream relay is disabled. Before you call stopChannelMediaRelay, make sure that you have called startChannelMediaRelay to enable the media stream relay.
|
kNERtcErrEncryptNotSuitable | Failed to join the room because the specified media stream encryption key is inconsistent with the key specified by one or more of the members who join the room.
Reset the encryption key by calling enableEncryption.
|
kNERtcErrConnectionNotFound | Connection not found.
|
kNERtcErrStreamNotFound | Media stream not found
|
kNERtcErrAddTrackFail | Failed to join track.
|
kNERtcErrTrackNotFound | Track not found.
|
kNERtcErrMediaConnectionDisconnected | Media stream disconnected.
|
kNERtcErrSignalDisconnected | Signaling disconnected.
|
kNERtcErrServerKicked | Removed from the room.
|
kNERtcErrChannelBeClosed | The room is deleted.
|
kNERtcErrChannelLeaveBySwitchAction | The room was closed due to the operation of switching rooms.
|
kNERtcErrChannelLeaveByDuplicateUidLogin | The room was closed due to duplicate uid logins
|
kNERtcErrOSAuthorize | Operating system permissions issue
|
kNERtcRuntimeErrADMNoAuthorize | have no audio device permissions
|
kNERtcRuntimeErrADMInitRecording | Failed to initialize the audio capture device
|
kNERtcRuntimeErrADMStartRecording | Failed to start the audio capture device
|
kNERtcRuntimeErrADMStopRecording | Failed to stop the audio capture device
|
kNERtcRuntimeErrADMInitPlayout | Failed to initialize the audio playback device
|
kNERtcRuntimeErrADMStartPlayout | Failed to start the audio playback device
|
kNERtcRuntimeErrADMStopPlayout | Failed to stop the audio playback device
|
kNERtcRuntimeErrVDMNoAuthorize | Have no video device permissions
|
kNERtcRuntimeErrVDMNotScreenUseSubStream | Use substream without the screen-sharing stream
|