Error codes.
Error codes are returned when a problem that cannot be recovered without app intervention has occurred.
| 枚举值 |
|---|
| kNERtcNoError | No errors.
|
| kNERtcErrChannelReservePermissionDenied | No permissions. Possible reasons:
- RTC 2.0 service is not enabled, whose trial period is overdue or fees are not renewed.
- Token is not specified in safe mode when joining a channel.
- Other permission-related problems.
|
| kNERtcErrChannelReserveTimeOut | Request timeouts.
|
| kNERtcErrChannelReserveErrorParam | Error codes are returned when parameters are requested in the server.
|
| kNERtcErrChannelReserveServerFail | Unknown errors are returned when channels are assigned in the server.
|
| kNERtcErrChannelReserveMoreThanTwoUser | Only two users are supported in the same channel. If the third user wants to share the same channel name, assign another channel.
|
| kNERtcErrLsTaskRequestInvalid | Invalid permission that is replaced by following operations.
|
| kNERtcErrLsTaskIsInvaild | Parameter format error.
|
| kNERtcErrLsTaskRoomExited | Exited the channel.
|
| kNERtcErrLsTaskNumLimit | Streaming tasks are over the limit.
|
| kNERtcErrLsTaskDuplicateId | Duplicates ID of streaming tasks.
|
| kNERtcErrLsTaskNotFound | No ID task or no channels.
|
| kNERtcErrLsTaskRequestErr | Permission failures.
|
| kNERtcErrLsTaskInternalServerErr | Internal errors in the server.
|
| kNERtcErrLsTaskInvalidLayout | Layout parameter errors.
|
| kNERtcErrLsTaskUserPicErr | Image errors of users.
|
| kNERtcErrChannelStartFail | Fails to initiate a channel.
|
| kNERtcErrChannelDisconnected | Disconnects the channel.
|
| kNERtcErrVersionSelfLow | The local SDK version is too low to achieve compatibility.
|
| kNERtcErrVersionRemoteLow | The remote SDK version is too low to achieve compatibility.
|
| kNERtcErrChannelClosed | The channel is disabled.
|
| kNERtcErrChannelKicked | The ID is removed from the channel.
|
| kNERtcErrDataError | Data error.
|
| kNERtcErrInvalid | Invalid operation.
|
| kNERtcErrChannelJoinTimeOut | Request timeouts.
|
| kNERtcErrChannelJoinMeetingModeError | Meeting mode error.
|
| kNERtcErrChannelJoinRtmpModeError | rtmp users join the channel that applies the non-rtmp protocol.
|
| kNERtcErrChannelJoinRtmpNodesError | Users capacity is exceeded in the room that applies to the rtmp protocol.
|
| kNERtcErrChannelJoinRtmpHostError | The role of host is specified.
|
| kNERtcErrChannelJoinRtmpCreateError | Relayed live streaming is required where the host does not create the room.
|
| kNERtcErrChannelJoinLayoutError | Errors occur when the host customized the channel layout.
|
| kNERtcErrChannelJoinInvalidParam | Error parameters.
|
| kNERtcErrChannelJoinDesKey | Password encryption error.
|
| kNERtcErrChannelJoinInvalidRequst | Error request.
|
| kNERtcErrChannelServerUnknown | Internal errors in the server.
|
| kNERtcErrFatal | Common errors.
|
| kNERtcErrOutOfMemory | Out of memory.
|
| kNERtcErrInvalidParam | Invalid parameters.
|
| kNERtcErrNotSupported | Unsupported operation.
|
| kNERtcErrInvalidState | Unsupported operations in the current state.
|
| kNERtcErrLackOfResource | Depleted resources.
|
| kNERtcErrInvalidIndex | Invalid index.
|
| kNERtcErrDeviceNotFound | Device is not found.
|
| kNERtcErrInvalidDeviceSourceID | Invalid device ID.
|
| kNERtcErrInvalidVideoProfile | Invalid profile type of video.
|
| kNERtcErrCreateDeviceSourceFail | Device creation errors.
|
| kNERtcErrInvalidRender | Invalid rendering device.
|
| kNERtcErrDevicePreviewAlreadyStarted | Device is already enabled.
|
| kNERtcErrTransmitPendding | Transmission error.
|
| kNERtcErrConnectFail | Server connection error.
|
| kNERtcErrCreateDumpFileFail | Fails to create Audio dump file.
|
| kNERtcErrStartDumpFail | Fails to enable Audio dump file.
|
| kNERtcErrDesktopCaptureInvalidState | Fails to enable desktop screen recording if camera is started at the same time.
|
| kNERtcErrDesktopCaptureInvalidParam | Parameters are invalid when the desktop screen recording is implemented.
|
| kNERtcErrDesktopCaptureNotReady | Desktop screen recording is not ready.
|
| kNERtcErrChannelAlreadyJoined | Repeatedly joins the channel.
|
| kNERtcErrChannelNotJoined | Does not join the channel.
|
| kNERtcErrChannelRepleatedlyLeave | Repeatedly leaves the channel.
|
| kNERtcErrRequestJoinChannelFail | Fails to join the channel.
|
| kNERtcErrSessionNotFound | Session is not found.
|
| kNERtcErrUserNotFound | The user is not found.
|
| kNERtcErrInvalidUserID | Invalid user ID.
|
| kNERtcErrMediaNotStarted | Users do not connect the multi-media data.
|
| kNERtcErrSourceNotFound | Source is not found.
|
| kNERtcErrSwitchChannelInvalidState | Invalid state of switching channels.
|
| kNERtcErrChannelMediaRelayInvalidState | Invalid state of relaying media streams.
|
| kNERtcErrChannelMediaRelayPermissionDenied | Invalid permissions of relaying streams. Check whether the mode is set as audience mode or 1v1 mode.
|
| kNERtcErrChannelMediaRelayStopFailed | If you fail to stop relaying media streams, check whether the media stream forwarding is enabled.
|
| kNERtcErrEncryptNotSuitable | If you set the different encryption password of media streams from other members in the room, you fail to join the room. Sets new encryption password thorough enableEncryption.
|
| kNERtcErrConnectionNotFound | Connection is not found.
|
| kNERtcErrStreamNotFound | Media streams are not found.
|
| kNERtcErrAddTrackFail | Fails to join the track.
|
| kNERtcErrTrackNotFound | Track is not found.
|
| kNERtcErrMediaConnectionDisconnected | Media disconnection.
|
| kNERtcErrSignalDisconnected | Signalling disconnection.
|
| kNERtcErrServerKicked | The user is removed from the room.
|
| kNERtcErrKickedForRoomClosed | Removed for the channel is already disabled.
|
| kNERtcErrChannelLeaveBySwitchAction | Removed for the destination room is disabled.
|
| kNERtcRuntimeErrADMNoAuthorize | No permission of audio devices.
|
| kNERtcRuntimeErrVDMNoAuthorize | No permission of video devices.
|
| kNERtcRuntimeErrScreenCaptureNoAuthorize | No permission of video recording.
|