CLIENT_ROLE_CHANGE_FAILED_REASON
Reasons for client role change failure.
Enumerations
- CLIENT_ROLE_CHANGE_FAILED_TOO_MANY_BROADCASTERS
- (1): The number of broadcasters in the channel exceeds the limit.
Note: This enumeration value is reported only when the 128-user feature is enabled. The maximum number of broadcasters depends on the actual number of broadcasters configured when the 128-user feature is enabled.
- CLIENT_ROLE_CHANGE_FAILED_NOT_AUTHORIZED
- (2): The request was rejected by the Agora server. It is recommended to prompt the user to retry switching roles.
- CLIENT_ROLE_CHANGE_FAILED_REQUEST_TIME_OUT
- (3): Request timed out. It is recommended to prompt the user to check the network connection and retry switching roles.
- CLIENT_ROLE_CHANGE_FAILED_CONNECTION_FAILED
- (4): The client instance is disconnected from the Agora edge server. You can troubleshoot the failure reason via the
reasonin the onConnectionStateChanged callback.