ClientRoleChangeFailedReason

Reason for failing to switch user roles.

Enumerations

clientRoleChangeFailedTooManyBroadcasters
1: The number of broadcasters in the channel has reached the limit.
Note: This enum is only reported when the 128-user feature is enabled. The broadcaster limit depends on the actual number configured when enabling the 128-user feature.
clientRoleChangeFailedNotAuthorized
2: The request is rejected by the server. It is recommended to prompt the user to try switching roles again.
clientRoleChangeFailedRequestTimeOut
3: The request timed out. It is recommended to prompt the user to check the network connection and try switching roles again.
Note: Deprecated: This enum value is deprecated as of v4.4.0 and is not recommended for use.
clientRoleChangeFailedConnectionFailed
4: Network connection lost. You can troubleshoot the specific cause of the network failure based on the reason reported by onConnectionStateChanged.
Note: Deprecated: This enum value is deprecated as of v4.4.0 and is not recommended for use.