Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration CLIENT_ROLE_CHANGE_FAILED_REASON

The reason for a user role switch failure.

since

v3.7.0

Index

Enumeration members

CLIENT_ROLE_CHANGE_FAILED_BY_CONNECTION_FAILED

CLIENT_ROLE_CHANGE_FAILED_BY_CONNECTION_FAILED: = 4

4: The SDK connection fails. You can use reason reported in the connectionStateChanged callback to troubleshoot the failure.

CLIENT_ROLE_CHANGE_FAILED_BY_NOT_AUTHORIZED

CLIENT_ROLE_CHANGE_FAILED_BY_NOT_AUTHORIZED: = 2

2: The request is rejected by the Agora server. Agora recommends you prompt the user to try to switch their user role again.

CLIENT_ROLE_CHANGE_FAILED_BY_REQUEST_TIME_OUT

CLIENT_ROLE_CHANGE_FAILED_BY_REQUEST_TIME_OUT: = 3

3: The request is timed out. Agora recommends you prompt the user to check the network connection and try to switch their user role again.

CLIENT_ROLE_CHANGE_FAILED_BY_TOO_MANY_BROADCASTERS

CLIENT_ROLE_CHANGE_FAILED_BY_TOO_MANY_BROADCASTERS: = 1

1: The number of hosts in the channel is already at the upper limit.

note

This enumerator is reported only when the support for 128 users is enabled. The maximum number of hosts is based on the actual number of hosts configured when you enable the 128-user feature.