CLIENT_ROLE_CHANGE_FAILED_REASON

Reasons for user role switch failure.

Enumerations

CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS
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 limit depends on the actual configuration when enabling the feature.
CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED
2: Request was rejected by the server. It is recommended to prompt the user to try switching roles again.
CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT
3: 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 since v4.4.0 and is not recommended for use.
CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED
4: Network connection lost. You can troubleshoot the specific reason based on the reason reported by OnConnectionStateChanged.
Note: Deprecated: This enum value is deprecated since v4.4.0 and is not recommended for use.