Status Codes
The Flutter
platform SDK is a secondary encapsulation of the Android and iOS platform SDKs. Please refer to the status codes listed below for the Android and iOS platforms.
Android Status Codes
-1
UnknownError
Unknown error.
0
OK
Success.
50000
RongRTCCodeSignalServerNotConnect
Initialization failed or IM not connected.
50001
RongRTCCodeParameterError
Interface parameter error.
50002
RongRTCCodeJoinRepeatedRoom
Error joining the same room, indicating the user has repeatedly joined the same room on the client.
50003
RongRTCCodeNotInRoom
Calling room interface when not in a room.
50004
RongRTCCodeVoIPNotAvailable
RTC service not enabled. Please enable it in the RongCloud Console.
50006
RongRTCCodeRTCTokenIsNull
RTC Token is empty.
50007
ILLEGALSTATE
Illegal state.
50010
RongRTCCodeHttpTimeoutError
HTTP request timeout.
50011
RongRTCCodeHttpError
HTTP response error (including 500, 404, 405, etc.).
50012
RongRTCCodeNetworkUnavailable
Network unavailable.
50013
InvalIDProtocolMessageError
SDK internal protocol message parsing invalid error.
50021
RongRTCCodeSessionNegotiateOfferError
Local session negotiation error.
50022
RongRTCCodeSessionNegotiateSetRemoteError
Remote session negotiation error.
50023
RongRTCCodePublishStreamsHasReachedMaxCount
The number of published streams has reached the limit.
50027
INCOMPATIBLE_WITH_PRIVATE_SERVER
Public cloud SDK cannot access private cloud services.
50028
RCRTCCodeProxyUnavailableError
Unable to use the configured proxy service to forward resources.
50030
RongRTCCodeSubscribeNotExistResources
Subscribing to non-existent resources.
50032
RongRTCCodeUnsubscribeNotExistResources
Unsubscribing from non-existent resources.
50033
LIVEURLNOTINCURRENTROOM
This LiveUrl does not exist in the current room.
50065
RongRTCCodeRTCConnectionIsNull
Current PeerConnection connection unavailable.
50066
PublishMediaStreamIsNull
Published Stream is empty.
50069
JsonParseError
JSON parsing error.
50070
LiveInfoIsNull
LiveInfo returned by the server is empty.
50071
ConnectionAddStreamFailed
PeerConnection failed to add Stream.
50072
RongRTCCodeIMError
IM error.
50074
NOT_JOINED_MAIN_ROOM
Not joined main room error.
50075
OTHER_ROOM_ID_CANNOT_THE_MAIN_ROOM
Error where the operated sub-room ID is the same as the main room ID.
50076
CANCELLED_INVITATION_DOES_NOT_EXIST
The cancelled cross-room connection request does not exist.
50077
RESPONDING_INVITATION_DOES_NOT_EXIST
The responding cross-room connection request does not exist.
50079
MCU_PUBLISH_LIST_IS_NULL
The mcuPublishList returned by the server is empty.
50080
RongRTCCodeCDNCountReachToLimit
CDN address configuration count has reached the limit (maximum 5).
50100
RECONNECT_ERROR
Auto-reconnection exception.
51000
HARDWARE_VIDEO_ENCODER_INIT_ERROR
Video hardware encoding initialization failed.
51001
HARDWARE_VIDEO_ENCODER_ERROR
Video hardware encoding process failed.
51002
HARDWARE_VIDEO_DECODER_INIT_ERROR
Video hardware decoding initialization failed.
51003
HARDWARE_VIDEO_DECODER_ERROR
Video hardware decoding process failed.
51004
CAMERA_ID_NOT_AVAILABLE
Invalid CameraID.
51005
NO_CAMERA_DEVICE
No suitable Camera Device found.
51006
OPEN_CAMERA_FAILED
Unknown error occurred when opening the camera.
51007
RTC_INIT_TIMEOUT
RTCLib initialization timeout.
51008
OPEN_CAMERA_NO_PERMISSION
Camera permission not granted.
51100
CREATE_ANSWER_FAILURE
Failed to create SDP Answer.
51200
CAMERA_IS_RELEASED
CameraManager has been released.
51201
CANCEL_OPERATOR
Cancel operation.
51202
AUDIO_MANAGER_IS_RELEASED
AudioManager has been released.
51203
STOP_CAMERA_FAILED
Camera release failed.
51204
OS_NOT_SUPPORT_FUNCTION
Current system version does not support this feature.
51205
START_SCREEN_CAPTURE_FIRST
Screen capture must be started first.
54001
PLAYER_MODULE_NPT_FOUND
Player SDK not integrated.
54002
CDN_INFO_VIDEO_INTERRUPT
Service down, video interrupted, usually due to video source exception or unsupported video type.
54003
CDN_INNER_ERROR
CDN internal error.
54008
CDN_INFO_VIDEO_INTERRUPT
Data connection interrupted or audio/video source format not supported.
54009
PLAYER_MODULE_INIT_ERROR
Player module initialization exception.
54010
SCREEN_SHARE_NO_PERMISSION_ERROR
Failed to get screen sharing permission.
54011
SCREEN_SHARE_ALREADY_CAPTURE
Screen recording feature already enabled.
54012
START_PRETEST_HARDWARE_FAILED
Failed to start pre-call quality test.
55001
ROOM_TYPE_ERROR
Room type error when switching roles. Must be a live room.
55002
SAME_ROLE_ERROR
Error switching to the same role as the current role.
56000
SERVER_NOT_CONFIG_WISSE
Server not configured with Wisse.
56001
RTC_PROBE_TEST_NOT_START
RTC network probe not started.
56002
RTC_PROBE_TEST_STARTED
RTC network probe already started.
56003
RTC_ICE_DISCONNECT
RTC channel connection disconnected.
56004
RTC_PROBE_INTERRUPT_BY_INTERNAL
RTC network probe interrupted.
56005
ILLEGAL_OPERATION_FOR_JOINING
Other operations are not allowed while currently in the process of joining a room.
56006
RCRTCCodeSEILengthReachToLimit
SEI data length exceeds the limit of 4096 bytes.
56007
RCRTCCodeSEIChannelNotExist
SEI channel not established. Please check if SEI is enabled or audio/video is published.
56008
RCRTCCodeSEISendUnknownError
SEI send failed.
56009
RCRTCCodeSEISendTimePerSecondReachToLimit
SEI frequency exceeds limit. No more than 30 times per second.
57001
PERMISSION_CAMERA_NOT__GRANTED
Camera permission not granted.
57002
PERMISSION_AUDIO_NOT__GRANTED
Microphone permission not granted.
57003
PERMISSION_READ_NOT__GRANTED
Read permission not granted.
57004
PERMISSION_WRITE_NOT__GRANTED
Write permission not granted.
57005
PERMISSION_BLUETOOTH_CONNECT_NOT__GRANTED
Bluetooth connection permission not granted.
57006
RCRTCCodeRTCPingSend
RTC Ping error.
57007
INIT_AUDIOTRACK_FAILED
Failed to initialize AudioTrack.
57008
INIT_ADM_FAILED
Failed to initialize AudioDeviceManager.
iOS Status Codes
50000
RCRTCCodeSignalServerNotConnect
Initialization failed or IM not connected.
50001
RCRTCCodeParameterError
Interface parameter error.
50002
RCRTCCodeJoinToSameRoom
Error joining the same room, indicating the user has repeatedly joined the same room on the client.
50003
RCRTCCodeNotInRTCRoom
Calling room interface when not in an RTC room.
50004
RCRTCCodeVoIPNotAvailable
RTC service not enabled. Please enable it in the RongCloud Console.
50006
RCRTCCodeRTCTokenIsNull
RTC Token is empty.
50007
RCRTCCodeIllegalState
Illegal state.
50010
RCRTCCodeHttpTimeoutError
HTTP request timeout.
50011
RCRTCCodeHttpError
HTTP response error (including 500, 404, 405, etc.).
50021
RCRTCCodeSetLocalSDPError
Local session negotiation error.
50022
RCRTCCodeSetRemoteSDPError
Remote session negotiation error.
50025
RCRTCCodeCreateOfferError
Failed to create local Offer.
50026
RCRTCCodeCreateAnswerError
Failed to create local Answer.
50027
RCRTCCodeIncompatibleWithPrivateServer
Public cloud SDK cannot access private cloud services.
50028
RCRTCCodeProxyUnavailableError
Unable to use the configured proxy service to forward resources.
50030
RCRTCCodeSubscribeNotExistResources
Subscribing to non-existent resources.
50032
RCRTCCodeUnsubscribeNotExistResouce
Unsubscribing from non-existent resources.
50033
RCRTCCodeLiveUrlNotInCurrentRoom
This liveUrl does not exist in the current room.
50065
RCRTCCodeRTCConnectionIsNil
Current PeerConnection connection unavailable.
50069
RCRTCCodeParseJsonDataError
JSON parsing error.
50074
RCRTCCodeNotJoinedMainRoom
Not joined main room error.
50075
RCRTCCodeOtherRoomIDSameWithMainRoomId
Error where the operated sub-room ID is the same as the main room ID.
50079
RCRTCCodeMCUListNotExist
The mcuPublishList returned by the server is empty.
50080
RCRTCCodeCDNCountReachToLimit
CDN address configuration count has reached the limit.
52000
RCRTCCodeAudioDeviceStartError
Audio device startup failed.
52001
RCRTCCodeSubscribeCDNError
When subscribing to streams, CDN stream subscription failed.
54001
RCRTCCodePlayerModuleNotFound
Player SDK not integrated.
54003
RCRTCCodeCDNInnerError
CDN internal error.
55001
RCRTCCodeSwitchRoleRoomTypeError
Room type error when switching roles. Must be a live room.
55002
RCRTCCodeSwitchRoleSameRoleError
Error switching to the same role as the current role.
56001
RCRTCCodeProbeTestNotStart
RTC network probe not started.
56002
RCRTCCodeProbeTestExist
RTC network probe already started.
56003
RCRTCCodeMediaServerIceDisConnect
RTC channel connection disconnected.
56005
RCRTCCodeInterruptByInternal
Other operations are not allowed while currently in the process of joining a room.
56006
RCRTCCodeSEILengthReachToLimit
SEI data length exceeds the limit.
56007
RCRTCCodeSEIChannelNotExist
SEI channel not established. Please check if SEI is enabled or audio/video is published.
56008
RCRTCCodeSEISendUnknownError
SEI send failed.
56009
RCRTCCodeSEISendTimePerSecondReachToLimit
SEI frequency exceeds limit.