ByteRTCErrorCode enum
Values
- ByteRTCErrorCodeInvalidToken → const ByteRTCErrorCode
-
@brief Token is invalid. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. The Token used when calling joinRoom:userInfo:userVisibility:roomConfig:{@link #ByteRTCRoom#joinRoom:userInfo:userVisibility:roomConfig} is invalid or expired. The user is required to retrieve the token and call the updateToken:{@link #ByteRTCRTSRoom#updateToken} to update the token.
- ByteRTCErrorCodeJoinRoom → const ByteRTCErrorCode
-
@brief Join room error. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. An unknown error occurred when joining the room, which caused the room to fail to join. Users are required to rejoin the room.
- ByteRTCErrorCodeNoPublishPermission → const ByteRTCErrorCode
-
@brief No permission to publish audio & video streams. Receive message from rtcRoom:onVideoPublishStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onVideoPublishStateChanged:info:state:reason}, rtcRoom:onAudioPublishStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onAudioPublishStateChanged:info:state:reason}.
The user failed to publish the audio & video stream in the room. The reason for the failure is that the user does not have permission to publish the stream. - ByteRTCErrorCodeNoSubscribePermission → const ByteRTCErrorCode
-
@brief No subscription permissions for audio & video streams. Receive message from rtcRoom:onVideoSubscribeStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onVideoSubscribeStateChanged:info:state:reason}, rtcRoom:onAudioSubscribeStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onAudioSubscribeStateChanged:info:state:reason}.
The user failed to subscribe to the audio & video stream in the room where the user is located. The reason for the failure is that the user does not have permission to subscribe to the stream. - ByteRTCErrorCodeDuplicateLogin → const ByteRTCErrorCode
-
@brief The user has been removed from the room because another with the same user ID joins the room. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeKickedOut → const ByteRTCErrorCode
-
@brief The user has been removed from the room by the administrator via a OpenAPI call. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeRoomIdIllegal → const ByteRTCErrorCode
-
@brief When calling
createRtcRoom:, if the roomId is illegal, it will return null and throw the error. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. - ByteRTCErrorCodeTokenExpired → const ByteRTCErrorCode
-
@brief Token expired. This error code is returned when the user's token expires in the room. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. Call joinRoom:userInfo:userVisibility:roomConfig:{@link #ByteRTCRoom#joinRoom:userInfo:userVisibility:roomConfig} to rejoin the room with a new required Token.
- ByteRTCErrorCodeUpdateTokenWithInvalidToken → const ByteRTCErrorCode
-
@brief The Token you provided when calling
updateToken:is invalid. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. - ByteRTCErrorCodeRoomDismiss → const ByteRTCErrorCode
-
@brief Users have been removed from the room because the administrator dismissed the room by calling OpenAPI. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCJoinRoomWithoutLicenseAuthenticateSDK → const ByteRTCErrorCode
-
@hidden internal use only @brief Join room error. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. The LICENSE billing account does not use the LICENSE_AUTHENTICATE SDK while calling
joinRoom:userInfo:roomConfig:, which caused the joining room to fail. - ByteRTCRoomAlreadyExist → const ByteRTCErrorCode
-
@brief there is a room with the same roomId,whose room id is the same with echo test. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCUserIDDifferent → const ByteRTCErrorCode
-
@brief The local user joins multiple rooms with different uid. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. In the same engine instance, users need to use the same uid to join different rooms.
- ByteRTCErrorCodeJoinRoomServerLicenseExpired → const ByteRTCErrorCode
-
@hidden internal use only @brief Server license expired, refused to enter the room. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomExceedsTheUpperLimit → const ByteRTCErrorCode
-
@hidden internal use only @brief Exceeds the upper limit of the concurrency allowed by the server license, and refuses to enter the room. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomLicenseParameterError → const ByteRTCErrorCode
-
@hidden internal use only @brief The license parameter is wrong and refuses to enter the room. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomLicenseFilePathError → const ByteRTCErrorCode
-
@hidden internal use only @brief wrong license certificate path. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomLicenseIllegal → const ByteRTCErrorCode
-
@hidden internal use only @brief The license certificate is illegal, refuse to enter the room. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomLicenseExpired → const ByteRTCErrorCode
-
@hidden internal use only @brief License certificate has expired, refused to enter the room. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomLicenseInformationNotMatch → const ByteRTCErrorCode
-
@hidden internal use only @brief The content of the license certificate does not match. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomLicenseNotMatchWithCache → const ByteRTCErrorCode
-
@hidden internal use only @brief licenseThe current certificate does not match the cached certificate. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}.
- ByteRTCErrorCodeJoinRoomRoomForbidden → const ByteRTCErrorCode
-
@brief The room has banned before the user calls
joinRoom. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. - ByteRTCErrorCodeJoinRoomUserForbidden → const ByteRTCErrorCode
-
@brief The user has banned before calling
joinRoom. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. - ByteRTCErrorCodeOverStreamSubscribeLimit → const ByteRTCErrorCode
-
@brief Subscription to audio & video stream failed, the total number of subscribed audio & video streams exceeded the upper limit.Receive message from rtcRoom:onVideoSubscribeStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onVideoSubscribeStateChanged:info:state:reason}, rtcRoom:onAudioSubscribeStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onAudioSubscribeStateChanged:info:state:reason}.
In the game scenario, in order to ensure the performance and quality of audio & video calls, the server will limit the total number of audio & video streams subscribed by the user. When the total number of audio & video streams subscribed by the user has reached the maximum, continuing to subscribe to more streams will fail, and the user will receive this error notification. - ByteRTCErrorCodeOverStreamPublishLimit → const ByteRTCErrorCode
-
@brief Publishing flow failed, the total number of publishing flows exceeds the upper limit. Receive message from rtcRoom:onVideoPublishStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onVideoPublishStateChanged:info:state:reason}, rtcRoom:onAudioPublishStateChanged:info:state:reason:{@link #ByteRTCRoomDelegate#rtcRoom:onAudioPublishStateChanged:info:state:reason}.
RTC system limits the total number of streams published in a single room, including video streams, audio streams, and screen streams. Local users will fail to publish streams to the room when the maximum number of published streams in the room has been reached, and will receive this error notification. - ByteRTCErrorCodeAbnormalServerStatus → const ByteRTCErrorCode
-
@brief The user has been removed from the room due to the abnormal status of server. Receive message from rtcRoom:onRoomStateChanged:withUid:state:extraInfo:{@link #ByteRTCRoomDelegate#rtcRoom:onRoomStateChanged:withUid:state:extraInfo}. SDK is disconnected with the signaling server. It will not reconnect automatically. Please contact technical support.
- ByteRTCErrorCodeMultiRoomUnpublishFailed → const ByteRTCErrorCode
-
@hidden for internal use only @brief In the scenario of one stream publish to multiple rooms, when at least two rooms are publishing the same stream, one of the rooms fails to unpublish. At this time, the business party needs to retry or notify the user to retry unpublish.
- ByteRTCErrorCodeWrongAreaCode → const ByteRTCErrorCode
-
@hidden for internal use only @brief The area codes are wrong when specifying service area.
- ByteRTCErrorCodeDeadLockNotify → const ByteRTCErrorCode
-
@hidden for internal use only @brief notify deadlock
- ByteRTCErrorCodeOverVideoPublishLimit → const ByteRTCErrorCode
-
@deprecated since 3.52, use ByteRTCErrorCodeOverStreamPublishLimit-1080)instead @brief The total number of published video streams exceeds the upper limit.
The RTC system limits the number of video streams posted in a single room. If the maximum number of video streams posted in the room has been reached, local users will fail to post video streams to the room again and will receive this error notification. - ByteRTCErrorCodInvalidAudioSyncUidRepeated → const ByteRTCErrorCode
-
@deprecated since 3.60, use ByteRTCAVSyncEventInvalidUidRepeated = 0 carried by rtcRoom:onAVSyncEvent:userId:eventCode:{@link #ByteRTCRoomDelegate#rtcRoom:onAVSyncEvent:userId:eventCode} instead. @brief A/V synchronization failed. Receive message from tcRoom:onStreamStateChanged:withUid:state:extraInfo:. Current source audio ID has been set by other video publishers in the same room.
One single audio source cannot be synchronized with multiple video sources at the same time.
Properties
- $value → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ByteRTCErrorCode> - A constant List of the values in this enum, in order of their declaration.